Created
July 15, 2013 08:25
-
-
Save aindlq/5998356 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@prefix : <http://example.com/myFoaf/> . | |
@prefix myFoaf: <http://example.com/myFoaf/> . | |
@prefix owl: <http://www.w3.org/2002/07/owl#> . | |
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
<http://example.com/myFoaf/> | |
rdf:type owl:Ontology . | |
myFoaf:Agent | |
rdf:type owl:Class ; | |
rdfs:subClassOf | |
[ rdf:type owl:Restriction ; | |
owl:minCardinality "1"^^xsd:nonNegativeInteger ; | |
owl:onProperty myFoaf:id | |
] ; | |
rdfs:subClassOf | |
[ rdf:type owl:Restriction ; | |
owl:cardinality "1"^^xsd:nonNegativeInteger ; | |
owl:onProperty myFoaf:email | |
] . | |
myFoaf:Person | |
rdf:type owl:Class ; | |
rdfs:subClassOf myFoaf:Agent ; | |
rdfs:subClassOf | |
[ rdf:type owl:Restriction ; | |
owl:minCardinality "2"^^xsd:nonNegativeInteger ; | |
owl:onProperty myFoaf:nick | |
] . | |
myFoaf:id | |
rdf:type owl:DatatypeProperty ; | |
rdfs:domain myFoaf:Agent ; | |
rdfs:range xsd:string . | |
myFoaf:nick | |
rdf:type owl:DatatypeProperty ; | |
rdfs:subPropertyOf myFoaf:id ; | |
rdfs:domain myFoaf:Person ; | |
rdfs:range xsd:string . | |
myFoaf:email | |
rdf:type owl:DatatypeProperty ; | |
rdfs:domain myFoaf:Agent ; | |
rdfs:range xsd:string . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment