starting setting up files for NIHVIVO-2426 (knowledge base migration)
This commit is contained in:
parent
22ab56f42d
commit
4a211d9975
38 changed files with 41833 additions and 28100 deletions
|
@ -1,25 +0,0 @@
|
|||
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#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
|
||||
PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#>
|
||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||
PREFIX vivo: <http://vivo.library.cornell.edu/ns/0.1#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||
PREFIX event: <http://purl.org/NET/c4dm/event.owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
|
||||
Construct {
|
||||
_:awd a core:Award .
|
||||
_:awd core:sponsoredBy ?org .
|
||||
?org core:sponsors _:awd .
|
||||
?awardReceipt core:receiptOf _:awd .
|
||||
_:awd core:receipt ?awardReceipt .
|
||||
} where {
|
||||
?awardReceipt core:awardSponsoredBy ?org .
|
||||
?awardReceipt rdf:type core:AwardOrHonor .
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
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#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
|
||||
PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#>
|
||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||
PREFIX vivo: <http://vivo.library.cornell.edu/ns/0.1#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||
PREFIX event: <http://purl.org/NET/c4dm/event.owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
|
||||
Construct {
|
||||
_:role a core:TeacherRole .
|
||||
_:role core:roleIn ?semesterClass .
|
||||
?semesterClass core:relatedRole _:role .
|
||||
?person core:hasTeacherRole _:role .
|
||||
_:role core:teacherRoleOf ?person .
|
||||
} where {
|
||||
?person core:teaches ?semesterClass .
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
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#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
|
||||
PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#>
|
||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||
PREFIX vivo: <http://vivo.library.cornell.edu/ns/0.1#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||
PREFIX event: <http://purl.org/NET/c4dm/event.owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
|
||||
Construct {
|
||||
_:dtv a core:DateTimeValue .
|
||||
_:dtv core:dateTime ?theDate .
|
||||
_:dtv core:dateTimePrecision core:yearMonthDayPrecision .
|
||||
?thing core:dateTimeValue _:dtv .
|
||||
} where {
|
||||
?thing core:date ?theDate .
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
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#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
|
||||
PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#>
|
||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||
PREFIX vivo: <http://vivo.library.cornell.edu/ns/0.1#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||
PREFIX event: <http://purl.org/NET/c4dm/event.owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
|
||||
Construct {
|
||||
_:dtv a core:DateTimeValue .
|
||||
_:dtv core:dateTime ?theDate .
|
||||
_:dtv core:dateTimePrecision core:yearMonthDayTimePrecision .
|
||||
?thing core:dateTimeValue _:dtv .
|
||||
} where {
|
||||
?thing core:dateTime ?theDate .
|
||||
}
|
|
@ -1,36 +0,0 @@
|
|||
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#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
|
||||
PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#>
|
||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||
PREFIX vivo: <http://vivo.library.cornell.edu/ns/0.1#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||
PREFIX event: <http://purl.org/NET/c4dm/event.owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
|
||||
Construct {
|
||||
_:dtv a core:DateTimeValue .
|
||||
_:dtv core:dateTime ?theDate .
|
||||
_:dtv core:dateTimePrecision core:yearPrecision .
|
||||
?thing core:dateTimeValue _:dtv .
|
||||
} where {
|
||||
?thing core:year ?theDate .
|
||||
|
||||
Optional {
|
||||
?thing a ?ettype .
|
||||
?thing a core:EducationalTraining
|
||||
}
|
||||
|
||||
Optional {
|
||||
?thing a ?prtype .
|
||||
?thing a core:PresenterRole
|
||||
}
|
||||
|
||||
FILTER (!bound(?ettype))
|
||||
FILTER (!bound(?prtype))
|
||||
}
|
|
@ -1,27 +0,0 @@
|
|||
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#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
|
||||
PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#>
|
||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||
PREFIX vivo: <http://vivo.library.cornell.edu/ns/0.1#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||
PREFIX event: <http://purl.org/NET/c4dm/event.owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
|
||||
Construct {
|
||||
_:edtv a core:DateTimeValue .
|
||||
_:edtv core:dateTime ?theYear .
|
||||
_:edtv core:dateTimePrecision core:yearPrecision .
|
||||
?thing core:dateTimeInterval _:dti .
|
||||
_:dti a core:DateTimeInterval .
|
||||
_:dti core:end _:edtv .
|
||||
_:dti core:dateTimeIntervalFor ?thing .
|
||||
} where {
|
||||
?thing core:year ?theYear .
|
||||
?thing a core:EducationalTraining .
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
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#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
|
||||
PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#>
|
||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||
PREFIX vivo: <http://vivo.library.cornell.edu/ns/0.1#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||
PREFIX event: <http://purl.org/NET/c4dm/event.owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
|
||||
Construct {
|
||||
_:dtv a core:DateTimeValue .
|
||||
_:dtv core:dateTime ?theDate .
|
||||
_:dtv core:dateTimePrecision core:yearMonthPrecision .
|
||||
?thing core:dateTimeValue _:dtv .
|
||||
} where {
|
||||
?thing core:yearMonth ?theDate .
|
||||
}
|
|
@ -1,27 +0,0 @@
|
|||
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#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
|
||||
PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#>
|
||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||
PREFIX vivo: <http://vivo.library.cornell.edu/ns/0.1#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||
PREFIX event: <http://purl.org/NET/c4dm/event.owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
|
||||
Construct {
|
||||
_:sdtv a core:DateTimeValue .
|
||||
_:sdtv core:dateTime ?theYear .
|
||||
_:sdtv core:dateTimePrecision core:yearPrecision .
|
||||
?thing core:dateTimeInterval _:dti .
|
||||
_:dti a core:DateTimeInterval .
|
||||
_:dti core:start _:sdtv .
|
||||
_:dti core:dateTimeIntervalFor ?thing .
|
||||
} where {
|
||||
?thing core:year ?theYear .
|
||||
?thing a core:PresenterRole .
|
||||
}
|
|
@ -1,31 +0,0 @@
|
|||
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#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
|
||||
PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#>
|
||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||
PREFIX vivo: <http://vivo.library.cornell.edu/ns/0.1#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||
PREFIX event: <http://purl.org/NET/c4dm/event.owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
|
||||
Construct {
|
||||
_:edtv a core:DateTimeValue .
|
||||
_:edtv core:dateTime ?theEndDate .
|
||||
_:edtv core:dateTimePrecision core:yearMonthDayPrecision .
|
||||
_:dti a core:DateTimeInterval .
|
||||
_:dti core:end _:edtv .
|
||||
?thing core:dateTimeInterval _:dti .
|
||||
} where {
|
||||
?thing core:endDate ?theEndDate .
|
||||
|
||||
Optional {
|
||||
?thing core:startDate ?theStartDate
|
||||
}
|
||||
|
||||
FILTER (!bound(?theStartDate))
|
||||
}
|
|
@ -1,31 +0,0 @@
|
|||
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#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
|
||||
PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#>
|
||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||
PREFIX vivo: <http://vivo.library.cornell.edu/ns/0.1#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||
PREFIX event: <http://purl.org/NET/c4dm/event.owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
|
||||
Construct {
|
||||
_:edtv a core:DateTimeValue .
|
||||
_:edtv core:dateTime ?theEndYear .
|
||||
_:edtv core:dateTimePrecision core:yearPrecision .
|
||||
?thing core:dateTimeInterval _:dti .
|
||||
_:dti a core:DateTimeInterval .
|
||||
_:dti core:end _:edtv .
|
||||
} where {
|
||||
?thing core:endYear ?theEndYear .
|
||||
|
||||
Optional {
|
||||
?thing core:startYear ?theStartYear
|
||||
}
|
||||
|
||||
FILTER (!bound(?theStartYear))
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
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#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
|
||||
PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#>
|
||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||
PREFIX vivo: <http://vivo.library.cornell.edu/ns/0.1#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||
PREFIX event: <http://purl.org/NET/c4dm/event.owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
|
||||
Construct {
|
||||
_:dtv a core:DateTimeValue .
|
||||
_:dtv core:dateTime ?theDate .
|
||||
_:dtv core:dateTimePrecision core:yearMonthDayPrecision .
|
||||
?thing core:dateFiled _:dtv .
|
||||
} where {
|
||||
?thing core:filingDate ?theDate .
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
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#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
|
||||
PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#>
|
||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||
PREFIX vivo: <http://vivo.library.cornell.edu/ns/0.1#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||
PREFIX event: <http://purl.org/NET/c4dm/event.owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
|
||||
Construct {
|
||||
_:dtv a core:DateTimeValue .
|
||||
_:dtv core:dateTime ?theDate .
|
||||
_:dtv core:dateTimePrecision core:yearMonthDayPrecision .
|
||||
?thing core:dateIssued _:dtv .
|
||||
} where {
|
||||
?thing core:issueDate ?theDate .
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
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#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
|
||||
PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#>
|
||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||
PREFIX vivo: <http://vivo.library.cornell.edu/ns/0.1#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||
PREFIX event: <http://purl.org/NET/c4dm/event.owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
|
||||
Construct {
|
||||
_:sdtv a core:DateTimeValue .
|
||||
_:sdtv core:dateTime ?theStartDate .
|
||||
_:sdtv core:dateTimePrecision core:yearMonthDayPrecision .
|
||||
_:edtv a core:DateTimeValue .
|
||||
_:edtv core:dateTime ?theEndDate .
|
||||
_:edtv core:dateTimePrecision core:yearMonthDayPrecision .
|
||||
_:dti a core:DateTimeInterval .
|
||||
_:dti core:start _:sdtv .
|
||||
_:dti core:end _:edtv .
|
||||
?thing core:dateTimeInterval _:dti .
|
||||
} where {
|
||||
?thing core:startDate ?theStartDate .
|
||||
?thing core:endDate ?theEndDate .
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
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#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
|
||||
PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#>
|
||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||
PREFIX vivo: <http://vivo.library.cornell.edu/ns/0.1#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||
PREFIX event: <http://purl.org/NET/c4dm/event.owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
|
||||
Construct {
|
||||
_:sdtv a core:DateTimeValue .
|
||||
_:sdtv core:dateTime ?theStartYear .
|
||||
_:sdtv core:dateTimePrecision core:yearPrecision .
|
||||
_:edtv a core:DateTimeValue .
|
||||
_:edtv core:dateTime ?theEndYear .
|
||||
_:edtv core:dateTimePrecision core:yearPrecision .
|
||||
_:dti a core:DateTimeInterval .
|
||||
_:dti core:start _:sdtv .
|
||||
_:dti core:end _:edtv .
|
||||
?thing core:dateTimeInterval _:dti .
|
||||
} where {
|
||||
?thing core:startYear ?theStartYear .
|
||||
?thing core:endYear ?theEndYear .
|
||||
}
|
|
@ -1,31 +0,0 @@
|
|||
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#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
|
||||
PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#>
|
||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||
PREFIX vivo: <http://vivo.library.cornell.edu/ns/0.1#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||
PREFIX event: <http://purl.org/NET/c4dm/event.owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
|
||||
Construct {
|
||||
_:sdtv a core:DateTimeValue .
|
||||
_:sdtv core:dateTime ?theStartDate .
|
||||
_:sdtv core:dateTimePrecision core:yearMonthDayPrecision .
|
||||
_:dti a core:DateTimeInterval .
|
||||
_:dti core:start _:sdtv .
|
||||
?thing core:dateTimeInterval _:dti .
|
||||
} where {
|
||||
?thing core:startDate ?theStartDate .
|
||||
|
||||
Optional {
|
||||
?thing core:endDate ?theEndDate
|
||||
}
|
||||
|
||||
FILTER (!bound(?theEndDate))
|
||||
}
|
|
@ -1,31 +0,0 @@
|
|||
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#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
|
||||
PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#>
|
||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||
PREFIX vivo: <http://vivo.library.cornell.edu/ns/0.1#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||
PREFIX event: <http://purl.org/NET/c4dm/event.owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
|
||||
Construct {
|
||||
_:sdtv a core:DateTimeValue .
|
||||
_:sdtv core:dateTime ?theStartYear .
|
||||
_:sdtv core:dateTimePrecision core:yearPrecision .
|
||||
_:dti a core:DateTimeInterval .
|
||||
_:dti core:start _:sdtv .
|
||||
?thing core:dateTimeInterval _:dti .
|
||||
} where {
|
||||
?thing core:startYear ?theStartYear .
|
||||
|
||||
Optional {
|
||||
?thing core:endYear ?theEndYear
|
||||
}
|
||||
|
||||
FILTER (!bound(?theEndYear))
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue