Old Release

This documentation relates to an old version of VIVO, version 1.12.x.
Looking for another version? See all documentation.

Note that these are CONSTRUCT queries designed to create a small Jena model for export as a whole after a series of queries has been run.  The PERSON_URI variable is substituted by VIVO at runtime.

address.sparql
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX obo: <http://purl.obolibrary.org/obo/>
PREFIX vcard: <http://www.w3.org/2006/vcard/ns#>


CONSTRUCT {
     ?address ?property ?object .
} WHERE {
     PERSON_URI obo:ARG_2000028 ?vcard .
     ?vcard vcard:hasAddress ?address .
     ?address ?property ?object .
}
locationOfAddress.sparql
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX obo: <http://purl.obolibrary.org/obo/>
PREFIX vcard: <http://www.w3.org/2006/vcard/ns#>

CONSTRUCT {
     ?geographicLocation ?property ?object .
} WHERE {
     PERSON_URI obo:ARG_2000028 ?vcard .
     ?vcard vcard:hasAddress ?address .
     ?address obo:RO_0001025 ?geographicLocation .
     ?geographicLocation ?property ?object .
}
  • No labels