vivo/productMods/WEB-INF/ontologies/update/sparqlConstructs/additions/ExternalConcept.sparql

27 lines
1.1 KiB
SPARQL
Raw Normal View History

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#>
2011-10-26 19:12:41 +00:00
PREFIX vivo: <http://vivoweb.org/ontology/core#>
Construct {
2011-10-27 18:20:59 +00:00
?something vivo:hasAssociatedConcept ?uri .
?uri vivo:conceptAssociatedWith ?something
} where {
2011-10-27 18:20:59 +00:00
{?something vivo:hasSubjectArea ?concept}
2011-10-26 19:12:41 +00:00
union
2011-10-27 18:20:59 +00:00
{?something vivo:hasResearchArea ?concept}
2011-10-26 19:12:41 +00:00
2011-10-27 18:20:59 +00:00
?concept rdf:type vivo:SubjectArea .
?concept vivo:vocabularySourceReference ?urllink .
?urllink vivo:linkURI ?uri
}