Commit 39eecd10 authored by David Rouquet's avatar David Rouquet

Modify example with the one built with unl2rdf webservice

parent 64923fc4
......@@ -9,29 +9,31 @@
@prefix shacl-rules: <https://unl.tetras-libre.fr/rdf/shacl-rules#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<https://unl.tetras-libre.fr/rdf/example#be_in_a_state(aoj--thing,icl--be,obj--state)>
rdf:type owl:DatatypeProperty ;
rdfs:domain <https://unl.tetras-libre.fr/rdf/example#channel(icl--radiowave)> ;
rdfs:range <https://unl.tetras-libre.fr/rdf/example#state(icl--attribute)> ;
.
<https://unl.tetras-libre.fr/rdf/example#channel(icl--radiowave)>
rdf:type owl:Class ;
.
<https://unl.tetras-libre.fr/rdf/example#channel(icl--radiowave)__00000014>
rdf:type <https://unl.tetras-libre.fr/rdf/example#channel(icl--radiowave)> ;
<https://unl.tetras-libre.fr/rdf/example#be_in_a_state(aoj--thing,icl--be,obj--state)> "broadcast(icl>message)" ;
.
<https://unl.tetras-libre.fr/rdf/example#state(icl--attribute)>
rdf:type rdfs:Datatype ;
<http://rdf-unl.org/77ac6266-a789-463f-ac55-16fd57d85613/sentence_0#state-icl-attribute->
owl:cardinality 2 ;
owl:equivalentClass [
rdf:type rdfs:Datatype ;
owl:oneOf (
"listening(icl>sensing)"
"traffic(icl>communication)"
"listening(icl>sensing)"@unl
"traffic(icl>communication)"@unl
) ;
] ;
.
.
<http://rdf-unl.org/77ac6266-a789-463f-ac55-16fd57d85613/sentence_1#be-in-a-state-aoj-thing-icl-be-obj-state->
rdf:type owl:DatatypeProperty ;
rdfs:domain <http://rdf-unl.org/77ac6266-a789-463f-ac55-16fd57d85613/sentence_1#channel-icl-radiowave-> ;
rdfs:range <http://rdf-unl.org/77ac6266-a789-463f-ac55-16fd57d85613/sentence_1#state-icl-attribute-> ;
.
<http://rdf-unl.org/77ac6266-a789-463f-ac55-16fd57d85613/sentence_1#channel-icl-radiowave->
rdf:type owl:Class ;
.
<http://rdf-unl.org/77ac6266-a789-463f-ac55-16fd57d85613/sentence_1#occurence_channel-icl-radiowave->
rdf:type <http://rdf-unl.org/77ac6266-a789-463f-ac55-16fd57d85613/sentence_1#channel-icl-radiowave-> ;
<http://rdf-unl.org/77ac6266-a789-463f-ac55-16fd57d85613/sentence_1#be-in-a-state-aoj-thing-icl-be-obj-state-> "broadcast(icl>message)"@unl ;
.
<http://rdf-unl.org/77ac6266-a789-463f-ac55-16fd57d85613/sentence_1#state-icl-attribute->
rdf:type rdfs:Datatype ;
.
<https://unl.tetras-libre.fr/rdf/rdf-unl-example-owl-extraction>
rdf:type owl:Ontology ;
owl:imports <https://unl.tetras-libre.fr/rdf/shacl-rules> ;
......
This diff is collapsed.
# baseURI: https://unl.tetras-libre.fr/rdf/shacl-rules
# imports: http://datashapes.org/dash
# imports: https://unl.tetras-libre.fr/rdf/example
# imports: http://rdf-unl.org/77ac6266-a789-463f-ac55-16fd57d85613/sentence_0#ontology
# imports: https://unl.tetras-libre.fr/rdf/schema
# prefix: shacl-rules
......@@ -52,7 +52,7 @@ unl:qua
<https://unl.tetras-libre.fr/rdf/shacl-rules>
rdf:type owl:Ontology ;
owl:imports <http://datashapes.org/dash> ;
owl:imports <https://unl.tetras-libre.fr/rdf/example> ;
owl:imports <http://rdf-unl.org/77ac6266-a789-463f-ac55-16fd57d85613/sentence_0#ontology> ;
owl:imports <https://unl.tetras-libre.fr/rdf/schema> ;
owl:versionInfo "Created with TopBraid Composer" ;
.
......@@ -93,8 +93,8 @@ FILTER regex(str(?label),\"icl>be\")
?this unl:aoj ?aoj ;
unl:obj ?obj ;
unl:is_occurrence_of ?lex .
?aoj unl:has_unl_attribute \"@indef\"^^unl:att ; unl:is_occurrence_of ?aojLex .
?obj unl:mod ?mod ; rdfs:label ?objLabel .
?aoj unl:has_attribute \".@indef\" ; unl:is_occurrence_of ?aojLex .
?obj unl:plc ?mod ; rdfs:label ?objLabel .
FILTER regex(?objLabel,\"icl>attribute\")
?mod rdfs:label ?modLabel .
} """ ;
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment