|
|
|
store all the information skos:prefLabel, skos:altLabel, skos:definition in a excell file named by the source used to update FCU thesaurus
|
|
|
|
|
|
|
|
uses Protégé version 5.1.0 with cellfie plugin.
|
|
|
|
|
|
|
|
Note that cellfie can not handle iri using # (I do not know how to make cellfie recognize iri with #)
|
|
|
|
Moreover Cellfie needs that all the ontology elements are presented without prefixes. Check the configuration of Protégé, parameter renderer should be fixed to entity IRI short name.
|
|
|
|
|
|
|
|
# Update the frenchCropUsage_latest.owl
|
|
|
|
|
|
|
|
1. launch Cellfie: menu Tools / create axioms from Excel workbook
|
|
|
|
1. select the excel file for example Table_acta.xls
|
|
|
|
1. select the rules: rulesInstanceGeneration.json
|
|
|
|
1. generate axioms
|
|
|
|
1. save axioms in current file
|
|
|
|
1. close Cellfie
|
|
|
|
1. check the state of the current file
|
|
|
|
|
|
|
|
##### make inferences using rules
|
|
|
|
https://docs.cambridgesemantics.com/anzo/v5.0/userdoc/rule-reference.htm.
|
|
|
|
This step can also be used to detect error in axioms without adding new axioms.
|
|
|
|
|
|
|
|
###### Add the inverse property links
|
|
|
|
this step is useful if you use skos:broader, topConceptOf properties to infer skos: narrower, hasTopConcept properties.
|
|
|
|
Documentation is available at https://www.w3.org/TR/owl2-profiles/
|
|
|
|
|
|
|
|
1. go to the SWRLTAb
|
|
|
|
1. go to the OWL 2 RL
|
|
|
|
1. unselect the rule table 4, 6, 7, 9
|
|
|
|
1. in rule table 5 select only prp_inv1 et prp_inv2
|
|
|
|
1. go to control: run the sequence of actions
|
|
|
|
* launch OWL+SWRL --> Drools
|
|
|
|
* run Drools
|
|
|
|
* check the axioms inferred by SWRLTab
|
|
|
|
* Drools --> OWL: this action add all the inferred axioms in the current oontology (hasTopConcept, narrower, ...)
|
|
|
|
1. check the state of the current dataset: verify that new links were added
|
|
|
|
|
|
|
|
###### Add the symetric property links
|
|
|
|
this step is useful if you use skos:exactMatch and skos:closeMatch properties to infer the symetric links. I modified the owl:sameAS property to be symetric property.
|
|
|
|
Documentation is available at https://www.w3.org/TR/owl2-profiles/
|
|
|
|
|
|
|
|
1. go to the SWRLTAb
|
|
|
|
1. go to the OWL 2 RL
|
|
|
|
1. unselect the rule table 4, 6, 7, 9
|
|
|
|
1. in rule table 5 select only prp_symp
|
|
|
|
1. go to control: run the sequence of actions
|
|
|
|
* launch OWL+SWRL --> Drools
|
|
|
|
* run Drools
|
|
|
|
* check the axioms inferred by SWRLTab
|
|
|
|
* Drools --> OWL: this action add all the inferred axioms in the current oontology
|
|
|
|
1. check the state of the current dataset: verify that new links were aadded
|
|
|
|
|
|
|
|
|
|
|
|
## Check the correctness using skosplay
|
|
|
|
|
|
|
|
1. open the ontology ppdo.owl using Protégé
|
|
|
|
1. save the ontology in rdf/xml format: ppdo.rdf
|
|
|
|
1. open skosplay using a browser
|
|
|
|
1. select the tester menu
|
|
|
|
1. provide the ppdo.rdf file
|
|
|
|
1. run the test (bouton tester)
|
|
|
|
|
|
|
|
## Check the labels
|
|
|
|
|
|
|
|
NLP processes need that no space caracters begin or end labels. Just check that the csv file content follow this constraint. With the gedit software, the owl file can be opened and the space caracter can be find and replace before <literal> and after </literal>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Deletion of a Crop
|
|
|
|
|
|
|
|
a uri of a crop is never deleted, just add an axiom owl:deprecated "true"^^xsd:boolean |
|
|
|
\ No newline at end of file |