@@ -26,11 +26,17 @@ question answering, information extraction, information retrieval, etc.
Therefore it is a strong candidate to operate as a linguistic paradigm for machine reading in Semantic Web applications.
RDF-UNL equips the Semantic Web with a linguistic framework to soundly represent the meaning of a sentence, directly in RDF.
# Working example instructions
# Repository content :
This repository contains a working example that is described in the SEMANTiCS 2020 paper. It is a proposed application of RDF-UNL to represent sentences in RDF, construct OWL statements using SHACL rules and exhibit an incoherence in the original sentences using OWL reasoning. For details, please refer to the 4th section of the article.
*`schema.ttl` is the RDF/OWL schema for UNL
*`1_exemple-unl.txt` is the UNL graph for the working example, in the standard UNL format
*`2_exemple-rdf-unl-automatic-unl2rdf.ttl` is obtained bay passing the previous file in the [unl2rdf webservice](https://unl.demo.tetras-libre.fr/unl2rdf)
*`3_example-shacl-rules.shapes.ttl` contains the SHACL rules to construct OWL axioms from the previous rdf-unl graph
*`4_example-shacl-execution-result.ttl` contains the OWL axioms extracted with the previous rules
# Working example instructions
This repository contains a working example that is described in the SEMANTiCS 2020 paper. It is a proposed application of RDF-UNL to represent sentences in RDF, construct OWL statements using SHACL rules and exhibit an incoherence in the original sentences using OWL reasoning. For details, please refer to the 4th section of the article.
To reproduce the results, please follow the instructions bellow :
...
...
@@ -39,7 +45,7 @@ To reproduce the results, please follow the instructions bellow :
5. In TBC : `File -> New -> Project -> General -> Project -> Next`, and in `Project name` enter "rdf-unl" then click `Finish`
6. In TBC, open `rdf-unl/exemple-shacl-rules.shapes.ttl` in the Project explorer panel (bottom left). The file contains the SHACL rules and imports the rdf-unl model and the example.
6. In TBC, open `rdf-unl/3_example-shacl-rules.shapes.ttl` in the Project explorer panel (bottom left). The file contains the SHACL rules and imports the rdf-unl model and the example.
7. In TBC menu : `Inference -> Run Inferences`
8. You should now see the infered triples in the Inference tab (bottom center)
9. You can now save the infered triples and run an OWL reasonner on them to exhibit the contradiction they contain (for instance in [Protégé 5](https://protege.stanford.edu/) as suggested in the paper)