This repository has been archived by the owner on Feb 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmypeeps.ttl
68 lines (54 loc) · 4.12 KB
/
mypeeps.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
@prefix : <https://raw.githubusercontent.com/UMBC-CMSC-491-691-F18-Knowledge-Graphs/peeps/master/mypeeps.ttl#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix peeps: <https://raw.githubusercontent.com/UMBC-CMSC-491-691-F18-Knowledge-Graphs/peeps/master/peeps.ttl#> .
@prefix mypeeps: <https://raw.githubusercontent.com/UMBC-CMSC-491-691-F18-Knowledge-Graphs/peeps/master/mypeeps.ttl#> .
@base <https://raw.githubusercontent.com/UMBC-CMSC-491-691-F18-Knowledge-Graphs/peeps/master/mypeeps.ttl> .
<https://raw.githubusercontent.com/UMBC-CMSC-491-691-F18-Knowledge-Graphs/peeps/master/mypeeps.ttl> rdf:type owl:Ontology ;
owl:imports foaf: ,
<https://raw.githubusercontent.com/UMBC-CMSC-491-691-F18-Knowledge-Graphs/peeps/master/peeps.ttl> ;
rdfs:comment "some instances to go with the peeps ontology" .
#################################################################
# Annotation properties
#################################################################
### http://xmlns.com/foaf/0.1/givenName
foaf:givenName rdf:type owl:AnnotationProperty .
#################################################################
# Individuals
#################################################################
### https://raw.githubusercontent.com/UMBC-CMSC-491-691-F18-Knowledge-Graphs/peeps/master/mypeeps.ttl#alan
mypeeps:alan rdf:type owl:NamedIndividual ,
peeps:Person ;
peeps:hasAge 60 ;
peeps:hasSex "male"^^xsd:string ;
rdfs:comment "We asserted that alan was a Person with age 60. This allowed the inferences that he was a Man and also that he is older than bob (whose age is 26) and older than bob's child diana since bob is older than diana (parents are older than their children) and olderThan is a transitive relation." ;
rdfs:label "Alan" ;
foaf:givenName "Alan" .
### https://raw.githubusercontent.com/UMBC-CMSC-491-691-F18-Knowledge-Graphs/peeps/master/mypeeps.ttl#bob
mypeeps:bob rdf:type owl:NamedIndividual ,
peeps:Man ;
peeps:hasParent mypeeps:carol ;
peeps:hasAge 26 ;
rdfs:comment "We asserted that bob is a Man whose age is 26. This allowed the inference that he is also a Man and younder than alan, whose age is 60." ;
rdfs:label "Bob" ;
foaf:givenName "Robert" .
### https://raw.githubusercontent.com/UMBC-CMSC-491-691-F18-Knowledge-Graphs/peeps/master/mypeeps.ttl#carol
mypeeps:carol rdf:type owl:NamedIndividual ,
peeps:Person ,
peeps:Woman ;
peeps:hasSex "female"^^xsd:string ;
rdfs:comment "We asserted that carol is a Person with sex \"female\" implying that she is also a Woman. We asserted that bob's parent is carol, so we infer that carol's child is bob and that carol is older than bob and bob is younder than carol." ;
rdfs:label "Carol" ;
foaf:givenName "Carol" .
### https://raw.githubusercontent.com/UMBC-CMSC-491-691-F18-Knowledge-Graphs/peeps/master/mypeeps.ttl#diana
mypeeps:diana rdf:type owl:NamedIndividual ,
peeps:Person ;
peeps:hasParent mypeeps:bob ;
rdfs:comment "Diana is a person whose parent is bob. We can infer that her grandparent is carol and that she is younger than both bob and carol. Though her name suggests she's a woman, our ontology cannot infer this." ;
rdfs:label "Diana" ;
foaf:givenName "Diana" .
### Generated by the OWL API (version 4.5.6.2018-09-06T00:27:41Z) https://github.com/owlcs/owlapi