incremental development for NIHVIVO-1286

This commit is contained in:
sjm222 2011-01-05 12:12:08 +00:00
parent 2e6163aeb6
commit 0b63a94894
7 changed files with 26 additions and 46 deletions

View file

@ -18,7 +18,7 @@ http://vivoweb.org/ontology/core#AwardOrHonor http://vivoweb.org/ontology/core#A
http://vivoweb.org/ontology/core#conferringOrganization http://vivoweb.org/ontology/core#awardConferredBy Yes Map Directly-changed
http://vivoweb.org/ontology/core#awardSponsoredBy No Delete not set
http://vivoweb.org/ontology/core#sponsorsAward No Delete not set
http://vivoweb.org/ontology/core#AbstractInformation No Delete not set
http://vivoweb.org/ontology/core#AbstractInformation No Delete Delete
http://vivoweb.org/ontology/core#reviewedDocumentTitle No Delete not set
http://vivoweb.org/ontology/core#count No Delete not set
http://vivoweb.org/ontology/core#displayOrder No Delete not set
@ -58,6 +58,6 @@ http://vivoweb.org/ontology/core#endDateTime No Delete Delete
http://vivoweb.org/ontology/core#endDate No Delete Delete
http://vivoweb.org/ontology/core#endYearMonth No Delete Delete
http://vivoweb.org/ontology/core#endTime No Delete Delete
http://vivoweb.org/ontology/core#TimeInterval No Delete not set
http://vivoweb.org/ontology/core#TimeInterval No Delete Delete
http://vivoweb.org/ontology/core#timeIntervalFor No Delete not set
http://vivoweb.org/ontology/core#hasTimeInterval No Delete not set

View file

@ -23,4 +23,10 @@ Construct {
_:dti core:dateTimeIntervalFor ?thing .
} where {
?thing core:endDate ?theEndDate .
Optional {
?thing core:startDate ?theStartDate
}
FILTER (!bound(?theStartDate))
}

View file

@ -23,4 +23,10 @@ Construct {
_:dti core:dateTimeIntervalFor ?thing .
} where {
?thing core:endYear ?theEndYear .
Optional {
?thing core:startYear ?theStartYear
}
FILTER (!bound(?theStartYear))
}

View file

@ -23,4 +23,10 @@ Construct {
_:dti core:dateTimeIntervalFor ?thing .
} where {
?thing core:startDate ?theStartDate .
Optional {
?thing core:endDate ?theEndDate
}
FILTER (!bound(?theEndDate))
}

View file

@ -23,4 +23,10 @@ Construct {
_:dti core:dateTimeIntervalFor ?thing .
} where {
?thing core:startYear ?theStartYear .
Optional {
?thing core:endYear ?theEndYear
}
FILTER (!bound(?theEndYear))
}

View file

@ -1,22 +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 {
?thing core:startDate ?theStartDate .
?thing core:endDate ?theEndDate .
} where {
?thing core:startDate ?theStartDate .
?thing core:endDate ?theEndDate .
}

View file

@ -1,22 +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 {
?thing core:startYear ?theStartYear .
?thing core:endYear ?theEndYear .
} where {
?thing core:startYear ?theStartYear .
?thing core:endYear ?theEndYear .
}