-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNIF-example3.ttl
137 lines (114 loc) · 4.79 KB
/
NIF-example3.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# Various kinds of Named Entities as per Multisensor-NER-Mapping.html
@prefix dbo: <http://dbpedia.org/ontology/>.
@prefix dbp: <http://dbpedia.org/resource/>.
@prefix dc: <http://purl.org/dc/elements/1.1/>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix itsrdf: <http://www.w3.org/2005/11/its/rdf#>.
@prefix nerd: <http://nerd.eurecom.fr/ontology#>.
@prefix nif: <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#>.
@prefix rdau: <http://rdaregistry.info/Elements/u/>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix schema: <http://schema.org/>.
@prefix time: <http://www.w3.org/2006/time#>. # seeAlso http://www.w3.org/TR/owl-time
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix yago: <http://dbpedia.org/class/yago/> .
@base <http://data.multisensorproject.eu/content/12486u3968u39>.
<#char=1,2> nif:anchorOf "Angela Merkel";
itsrdf:taClassRef nerd:Person;
itsrdf:taIdentRef <#person=Angela_Merkel>.
<#person=Angela_Merkel> a dbo:Person, foaf:Person;
foaf:name "Angela Merkel";
foaf:firstName "Angela"; foaf:lastName "Merkel";
dbo:gender dbp:Female;
rdau:professionOrOccupation "Bundeskanzlerin"@de.
<#char=3,4> nif:anchorOf "Germany";
itsrdf:taClassRef nerd:Country;
itsrdf:taIdentRef <#location=Germany>.
<#location=Germany> a dbo:Country;
foaf:name "Germany".
<#char=5,6> nif:anchorOf "Hesse region";
itsrdf:taClassRef nerd:AdministrativeRegion;
itsrdf:taIdentRef <#location=Hesse>.
<#location=Hesse> a dbo:Region;
foaf:name "Hesse".
<#char=7,8> nif:anchorOf "Darmstadt";
itsrdf:taClassRef nerd:City;
itsrdf:taIdentRef <#location=Darmstadt>.
<#location=Darmstadt> a dbo:City;
foaf:name "Darmstadt".
<#char=9,10> nif:anchorOf "135 Tsarigradsko Shosse Blvd.";
itsrdf:taClassRef nerd:Location;
itsrdf:taIdentRef <#location=135_Tsarigradsko_Shosse_Blvd>.
<#location=135_Tsarigradsko_Shosse_Blvd> a schema:PostalAddress;
schema:streetAddress "135 Tsarigradsko Shosse Blvd.".
<#char=11,12> nif:anchorOf "the dark side of the Moon";
itsrdf:taClassRef nerd:Location.
<#char=13,14> nif:anchorOf "The United Nations";
itsrdf:taClassRef nerd:Organization;
itsrdf:taIdentRef <#organisation=The_United_Nations>.
<#organisation=The_United_Nations> a dbo:Organisation, foaf:Organization;
foaf:name "The United Nations".
<#char=15,16> nif:anchorOf "Ontotext Corp";
itsrdf:taClassRef nerd:Company;
itsrdf:taIdentRef <#organisation=Ontotext_Corp>.
<#organisation=Ontotext_Corp> a dbo:Company, foaf:Company;
foaf:name "Ontotext Corp".
<#char=17,18> nif:anchorOf "AEG Smart-Freeze Refrigerator";
itsrdf:taClassRef nerd:Product.
<#char=19,20> nif:anchorOf "2050";
itsrdf:taClassRef nerd:Time;
itsrdf:taIdentRef <#time=2050>.
<#time=2050> a time:Instant;
time:inXSDDateTime "2050"^^xsd:gYear.
<#char=21,22> nif:anchorOf "May 2050";
itsrdf:taClassRef nerd:Time;
itsrdf:taIdentRef <#time=May_2050>.
<#time=May_2050> a time:Instant;
time:inXSDDateTime "2050-05-01"^^xsd:gYearMonth;
rdfs:comment "The correct value is 2050-05 but my JSONLD convertor throws exception";
rdfs:seeAlso <https://github.com/jsonld-java/jsonld-java/issues/130>.
<#char=41,42> nif:anchorOf "Mei";
itsrdf:taClassRef nerd:Time;
itsrdf:taIdentRef dbp:May.
dbp:May a yago:Months;
rdfs:label "May"@en, "Mei"@de.
<#char=23,24> nif:anchorOf "15 May 2050";
itsrdf:taClassRef nerd:Time;
itsrdf:taIdentRef <#time=15_May_2050>.
<#time=15_May_2050> a time:Instant;
time:inXSDDateTime "2050-05-15"^^xsd:date.
<#char=25,26> nif:anchorOf "1:34pm";
itsrdf:taClassRef nerd:Time;
itsrdf:taIdentRef <#time=1_34pm>.
<#time=1_34pm> a time:Instant;
rdfs:comment "Convert to xsd:time, which means complete it to minutes";
time:inXSDDateTime "13:34:00"^^xsd:time.
<#char=39,40> nif:anchorOf "15 May 2050 1:34pm";
itsrdf:taClassRef nerd:Time;
itsrdf:taIdentRef <#time=15_May_2050_1_34pm>.
<#time=15_May_2050_1_34pm> a time:Instant;
time:inXSDDateTime "2050-05-15T13:34:00"^^xsd:datetime.
<#char=27,28> nif:anchorOf "Zondag";
itsrdf:taClassRef nerd:Time;
itsrdf:taIdentRef dbp:Sunday.
dbp:Sunday a yago:DaysOfTheWeek;
rdfs:label "Sunday"@en, "Zondag"@de.
<#char=29,30> nif:anchorOf "the last three days";
itsrdf:taClassRef nerd:Time.
<#char=31,32> nif:anchorOf "Valentine's day";
itsrdf:taClassRef nerd:Time.
<#char=33,34> nif:anchorOf "123,40 EUR";
itsrdf:taClassRef nerd:Amount;
itsrdf:taIdentRef <#amount=123_40_EUR>.
<#amount=123_40_EUR> a schema:PriceSpecification;
schema:priceCurrency "EUR";
schema:price 123.40.
<#char=35,36> nif:anchorOf "123,40 meters";
itsrdf:taClassRef nerd:Amount;
itsrdf:taIdentRef <#amount=123_40_meters>.
<#amount=123_40_meters> a schema:QuantitativeValue;
schema:unitCode "MTR";
schema:value 123.40.
<#char=37,38> nif:anchorOf "Dodo";
itsrdf:taClassRef nerd:Thing;
dc:type "mythical creature".