Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in ontology used for test #275

Merged
merged 2 commits into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions test/issues/test_014.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@
ex:Human a rdfs:Class ;
rdfs:comment "A Human being"@en ;
rdfs:subClassOf ex:Animal .

ex:Pet a rdfs:Class ;
rdfs:comment "An animal owned by a human"@en ;
rdfs:subClassOf ex:Animal .

ex:hasPet a rdf:Property ;
rdfs:domain ex:Human ;
rdfs:range ex:Pet .
ex:nlegs a rdf:Property ;

ex:nLegs a rdf:Property ;
rdfs:domain ex:Animal ;
rdfs:range xsd:integer .

ex:Lizard a rdfs:Class ;
rdfs:subClassOf ex:Pet .
"""
Expand All @@ -56,15 +56,15 @@
sh:minInclusive 2 ;
] ;
sh:targetClass ex:Human .

ex:AnimalShape a sh:NodeShape ;
sh:property [
sh:datatype xsd:integer ;
sh:path ex:nLegs ;
sh:maxInclusive 4 ;
sh:minInclusive 1 ;
] ;
sh:targetClass ex:Animal .
sh:targetClass ex:Animal .
"""

data_file_text = """
Expand Down
2 changes: 1 addition & 1 deletion test/issues/test_062.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
rdfs:domain exOnt:Human ;
rdfs:range exOnt:Pet .

exOnt:nlegs a rdf:Property ;
exOnt:nLegs a rdf:Property ;
rdfs:domain exOnt:Animal ;
rdfs:range exOnt:integer .

Expand Down
2 changes: 1 addition & 1 deletion test/resources/cmdline_tests/o1.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ exOnt:hasPet a rdf:Property ;
rdfs:domain exOnt:Human ;
rdfs:range exOnt:Pet .

exOnt:nlegs a rdf:Property ;
exOnt:nLegs a rdf:Property ;
rdfs:domain exOnt:Animal ;
rdfs:range exOnt:integer .

Expand Down
2 changes: 1 addition & 1 deletion test/test_extra.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
rdfs:domain exOnt:Human ;
rdfs:range exOnt:Pet .

exOnt:nlegs a rdf:Property ;
exOnt:nLegs a rdf:Property ;
rdfs:domain exOnt:Animal ;
rdfs:range xsd:integer .

Expand Down
4 changes: 2 additions & 2 deletions test/test_inoculate.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
rdfs:domain exOnt:Human ;
rdfs:range exOnt:Pet .

exOnt:nlegs a rdf:Property ;
exOnt:nLegs a rdf:Property ;
rdfs:domain exOnt:Animal ;
rdfs:range xsd:integer .

Expand Down Expand Up @@ -86,7 +86,7 @@
rdfs:domain exOnt:Human ;
rdfs:range exOnt:Pet .

exOnt:nlegs a rdf:Property ;
exOnt:nLegs a rdf:Property ;
rdfs:domain exOnt:Animal ;
rdfs:range xsd:integer .

Expand Down
2 changes: 1 addition & 1 deletion test/test_manual_targeting.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
rdfs:domain exOnt:Human ;
rdfs:range exOnt:Pet .

exOnt:nlegs a rdf:Property ;
exOnt:nLegs a rdf:Property ;
rdfs:domain exOnt:Animal ;
rdfs:range xsd:integer .

Expand Down