Skip to content

Commit

Permalink
Merge pull request #275 from atomobianco/patch-1
Browse files Browse the repository at this point in the history
Fix typo in ontology used for test
  • Loading branch information
ashleysommer authored Nov 28, 2024
2 parents cc5ef36 + 489476c commit 9713f2b
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
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

0 comments on commit 9713f2b

Please sign in to comment.