*Deprecated* See https://wiki.duraspace.org/display/VIVODOC/All+Documentation for current 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.

assignee.sparql
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX bibo: <http://purl.org/ontology/bibo/>

CONSTRUCT {
     ?assignee ?property ?object .   
} WHERE {
     PERSON_URI core:relatedBy ?authorship .
     ?authorship a core:Authorship .
     ?authorship core:relates ?patent . 
     ?patent rdf:type bibo:Patent .
     ?patent core:assignee ?assignee .
     ?assignee ?property ?object .   
}
inventors.sparql
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX bibo: <http://purl.org/ontology/bibo/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>

CONSTRUCT {
     ?person ?property ?object .   
} WHERE {
     PERSON_URI core:relatedBy ?authorship .
     ?authorship a core:Authorship .
     ?authorship core:relates ?patent . 
     ?patent rdf:type bibo:Patent .
     ?authorship core:relates ?person .
     ?person a foaf:Person .
     ?person ?property ?object .   
}
patent.sparql
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX bibo: <http://purl.org/ontology/bibo/>

CONSTRUCT {
     ?patent ?property ?object .
} WHERE {
     PERSON_URI core:relatedBy ?authorship . 
     ?authorship a core:Authorship .
     ?authorship core:relates ?patent .
     ?patent rdf:type bibo:Patent .
     ?patent ?property ?object .
}
patentFiledDate.sparql
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX bibo: <http://purl.org/ontology/bibo/>

CONSTRUCT {
     ?date ?property ?object .
     ?precision ?property2 ?object2 .
} WHERE {
     PERSON_URI core:relatedBy ?authorship .
     ?authorship a core:Authorship .
     ?authorship core:relates ?patent .
     ?patent rdf:type bibo:Patent .
     ?patent core:dateFiled ?date .
     ?date ?property ?object .
     ?date core:dateTimePrecision ?precision .
     ?precision ?property2 ?object2 .
}
patentIssuedDate.sparql
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX bibo: <http://purl.org/ontology/bibo/>

CONSTRUCT {
     ?date ?property ?object .
     ?precision ?property2 ?object2 .
} WHERE {
     PERSON_URI core:relatedBy ?authorship .
     ?authorship a core:Authorship .
     ?authorship core:relates ?patent .
     ?patent rdf:type bibo:Patent .
     ?patent core:dateIssued ?date .
     ?date ?property ?object .
     ?date core:dateTimePrecision ?precision .
     ?precision ?property2 ?object2 .
} 
  • No labels