Old Release

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

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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.

credential.sparql
PREFIX core: <http://vivoweb.org/ontology/core#>

CONSTRUCT {
     ?credential ?property ?object .
} WHERE {
     PERSON_URI core:relatedBy ?issuedCredential . 
     ?issuedCredential a core:IssuedCredential . 
     ?issuedCredential core:relates ?credential .
     ?credential a core:Credential .
     ?credential ?property ?object .
}
credentialGoverningAuthority.sparql
PREFIX core: <http://vivoweb.org/ontology/core#>

CONSTRUCT {
     ?organization ?property ?object .
} WHERE {
     PERSON_URI core:relatedBy ?issuedCredential . 
     ?issuedCredential a core:IssuedCredential . 
     ?issuedCredential core:relates ?credential .
     ?credential a core:Credential .
     ?credential core:hasGoverningAuthority ?organization .
     ?organization ?property ?object .
} 
elibibleForCredential.sparql
PREFIX core: <http://vivoweb.org/ontology/core#>

CONSTRUCT {
     ?credential ?property ?object .
} WHERE {
     PERSON_URI core:eligibleFor ?credential . 
     ?credential ?property ?object .
}
  • No labels