incremental devp for NIHVIVO-3206

This commit is contained in:
stellamit 2011-10-26 19:12:41 +00:00
parent b9d7701374
commit 6dfdd87b65
8 changed files with 32 additions and 100 deletions

View file

@ -1,3 +1,6 @@
http://vivoweb.org/ontology/core#SubjectArea No Delete Delete
http://vivoweb.org/ontology/core#hasSubjectArea No Delete Delete
http://vivoweb.org/ontology/core#hasResearchArea No Delete Delete
http://vivoweb.org/ontology/core#subjectAreaOf No Delete Delete
http://vivoweb.org/ontology/core#researchAreaOf No Delete Delete
http://vivoweb.org/ontology/core#VocabularySourceReference http://vivoweb.org/ontology/core#URLLink Yes Map Directly-changed

View file

@ -11,13 +11,15 @@ 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#>
PREFIX vivo: <http://vivoweb.org/ontology/core#>
Construct {
?link core:rank "1"^^<http://www.w3.org/2001/XMLSchema#int> .
?entity core:webpage ?link .
?link core:webpageOf ?entity
?something vivo:inEventSeries ?series .
?series vivo:seriesForEvent ?something
} where {
?entity vitro:primaryLink ?link .
?link a vitro:Link .
{?something vivo:eventWithin ?series}
union
{?series vivo:includesEvent ?something}
?series rdf:type vivo:EventSeries
}

View file

@ -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:OrganizerRole .
_:role core:roleIn ?something .
?something core:relatedRole _:role .
?person core:hasOrganizerRole _:role .
_:role core:organizerRoleOf ?person .
} where {
?something bibo:organizer ?person .
}

View file

@ -11,10 +11,20 @@ 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#>
PREFIX vivo: <http://vivoweb.org/ontology/core#>
Construct {
?link core:rank "1"^^<http://www.w3.org/2001/XMLSchema#int> .
?something vivo:terminologyAnnotation _:terminologyAnnotation .
_:terminologyAnnotation rdf:type vivo:TerminologyAnnotation .
_:terminologyAnnotation vivo:referencedTerm _:concept .
_:concept rdf:type skos:Concept .
_:concept rdfs:label ?label
} where {
?link a core:PrimaryURLLink .
{?something vivo:hasSubjectArea ?area}
union
{?something vivo:hasResearchArea ?area}
?something rdf:type vivo:SubjectArea
optional {?area rdfs:label ?label}
}

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 {
?entity core:webpage ?link .
?link core:webpageOf ?entity
} where {
?entity vitro:additionalLink ?link .
?link a vitro:Link .
}

View file

@ -11,12 +11,15 @@ 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#>
PREFIX vivo: <http://vivoweb.org/ontology/core#>
Construct {
?something core:freetextKeyword ?textKeyWord .
?something vivo:eventWithin ?series .
?series vivo:includesEvent ?something
} where {
?something vitro:keyword ?keywordIndividual .
?keywordIndividual a vitro:Keyword .
?keywordIndividual rdfs:label ?textKeyWord .
{?something vivo:eventWithin ?series}
union
{?series vivo:includesEvent ?something}
?series rdf:type vivo:EventSeries
}

View file

@ -1,20 +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 {
?s a core:DependentResource
} where {
?s a core:DependentResource
}

View file

@ -1,20 +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 {
?s a vitro:DependentResource
} where {
?s a vitro:DependentResource
}