modified list views to remove syntax that fetches all properties and values for a subject

This commit is contained in:
Tim Worrall 2015-06-17 10:06:07 -04:00
parent adbfea8151
commit 65284687c3
20 changed files with 192 additions and 128 deletions

View file

@ -74,37 +74,6 @@
} }
</query-construct> </query-construct>
<query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
CONSTRUCT {
?subject ?property ?advisorRole .
?advisorRole a core:AdvisorRole .
?advisorRole core:relatedBy ?advisingRel .
?advisingRel a core:AdvisingRelationship .
?advisingRel ?advisingRelProperty ?advisingRelValue .
?advisingRel rdfs:label ?advisingRelLabel .
} WHERE {
{
?subject ?property ?advisorRole .
?advisorRole a core:AdvisorRole .
?advisorRole core:relatedBy ?advisingRel .
?advisingRel a core:AdvisingRelationship
} UNION {
?subject ?property ?advisorRole .
?advisorRole a core:AdvisorRole .
?advisorRole core:relatedBy ?advisingRel .
?advisingRel a core:AdvisingRelationship .
} UNION {
?subject ?property ?advisorRole .
?advisorRole a core:AdvisorRole .
?advisorRole core:relatedBy ?advisingRel .
?advisingRel a core:AdvisingRelationship .
?advisingRel rdfs:label ?advisingRelLabel
}
}
</query-construct>
<query-construct> <query-construct>
PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt; PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt;
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
@ -116,6 +85,7 @@
?advisorRole a core:AdvisorRole . ?advisorRole a core:AdvisorRole .
?advisorRole core:relatedBy ?advisingRel . ?advisorRole core:relatedBy ?advisingRel .
?advisingRel a core:AdvisingRelationship . ?advisingRel a core:AdvisingRelationship .
?advisingRel rdfs:label ?advisingRelLabel .
?advisingRel core:relates ?adviseeRole . ?advisingRel core:relates ?adviseeRole .
?adviseeRole &lt;http://purl.obolibrary.org/obo/RO_0000052&gt; ?advisee . ?adviseeRole &lt;http://purl.obolibrary.org/obo/RO_0000052&gt; ?advisee .
?advisee a foaf:Person . ?advisee a foaf:Person .
@ -131,6 +101,12 @@
?advisorRole a core:AdvisorRole . ?advisorRole a core:AdvisorRole .
?advisorRole core:relatedBy ?advisingRel . ?advisorRole core:relatedBy ?advisingRel .
?advisingRel a core:AdvisingRelationship . ?advisingRel a core:AdvisingRelationship .
} UNION {
?subject ?property ?advisorRole .
?advisorRole a core:AdvisorRole .
?advisorRole core:relatedBy ?advisingRel .
?advisingRel a core:AdvisingRelationship .
?advisingRel rdfs:label ?advisingRelLabel
} UNION { } UNION {
?subject ?property ?advisorRole . ?subject ?property ?advisorRole .
?advisorRole a core:AdvisorRole . ?advisorRole a core:AdvisorRole .

View file

@ -91,7 +91,6 @@
CONSTRUCT { CONSTRUCT {
?subject ?property ?authorship . ?subject ?property ?authorship .
?authorship a core:Authorship . ?authorship a core:Authorship .
?authorship ?authorshipProperty ?authorshipValue .
?authorship core:relates ?infoResource . ?authorship core:relates ?infoResource .
?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; . ?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; .
?infoResource rdfs:label ?infoResourceName . ?infoResource rdfs:label ?infoResourceName .
@ -105,7 +104,6 @@
UNION { UNION {
?subject ?property ?authorship . ?subject ?property ?authorship .
?authorship a core:Authorship . ?authorship a core:Authorship .
?authorship ?authorshipProperty ?authorshipValue
} UNION { } UNION {
?subject ?property ?authorship . ?subject ?property ?authorship .
?authorship a core:Authorship . ?authorship a core:Authorship .
@ -142,10 +140,12 @@
CONSTRUCT { CONSTRUCT {
?subject ?property ?authorship . ?subject ?property ?authorship .
?authorship a core:Authorship . ?authorship a core:Authorship .
?authorship ?authorshipProperty ?authorshipValue .
?authorship core:relates ?infoResource . ?authorship core:relates ?infoResource .
?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; . ?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; .
?infoResource ?infoResourceProperty ?infoResourceValue . ?infoResource bibo:volume ?volume .
?infoResource bibo:pageStart ?startPage .
?infoResource bibo:pageEnd ?endPage .
?infoResource core:placeOfPublication ?locale .
?infoResource bibo:reproducedIn ?appearsInObj . ?infoResource bibo:reproducedIn ?appearsInObj .
?infoResource core:publisher ?publisherObj . ?infoResource core:publisher ?publisherObj .
?infoResource core:relatedBy ?editorship . ?infoResource core:relatedBy ?editorship .
@ -165,7 +165,6 @@
UNION { UNION {
?subject ?property ?authorship . ?subject ?property ?authorship .
?authorship a core:Authorship . ?authorship a core:Authorship .
?authorship ?authorshipProperty ?authorshipValue
} UNION { } UNION {
?subject ?property ?authorship . ?subject ?property ?authorship .
?authorship a core:Authorship . ?authorship a core:Authorship .
@ -176,7 +175,25 @@
?authorship a core:Authorship . ?authorship a core:Authorship .
?authorship core:relates ?infoResource . ?authorship core:relates ?infoResource .
?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; . ?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; .
?infoResource ?infoResourceProperty ?infoResourceValue ?infoResource bibo:volume ?volume .
} UNION {
?subject ?property ?authorship .
?authorship a core:Authorship .
?authorship core:relates ?infoResource .
?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; .
?infoResource bibo:pageStart ?startPage .
} UNION {
?subject ?property ?authorship .
?authorship a core:Authorship .
?authorship core:relates ?infoResource .
?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; .
?infoResource bibo:pageEnd ?endPage .
} UNION {
?subject ?property ?authorship .
?authorship a core:Authorship .
?authorship core:relates ?infoResource .
?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; .
?infoResource core:placeOfPublication ?locale .
} UNION { } UNION {
?subject ?property ?authorship . ?subject ?property ?authorship .
?authorship a core:Authorship . ?authorship a core:Authorship .

View file

@ -83,7 +83,6 @@
CONSTRUCT { CONSTRUCT {
?subject ?property ?editorship . ?subject ?property ?editorship .
?editorship a core:Editorship . ?editorship a core:Editorship .
?editorship ?editorshipProperty ?editorshipValue .
?editorship core:relates ?infoResource . ?editorship core:relates ?infoResource .
?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; . ?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; .
?infoResource rdfs:label ?infoResourceName . ?infoResource rdfs:label ?infoResourceName .
@ -93,11 +92,6 @@
{ {
?subject ?property ?editorship . ?subject ?property ?editorship .
?editorship a core:Editorship ?editorship a core:Editorship
}
UNION {
?subject ?property ?editorship .
?editorship a core:Editorship .
?editorship ?editorshipProperty ?editorshipValue
} UNION { } UNION {
?subject ?property ?editorship . ?subject ?property ?editorship .
?editorship a core:Editorship . ?editorship a core:Editorship .
@ -134,10 +128,12 @@
CONSTRUCT { CONSTRUCT {
?subject ?property ?editorship . ?subject ?property ?editorship .
?editorship a core:Editorship . ?editorship a core:Editorship .
?editorship ?editorshipProperty ?editorshipValue .
?editorship core:relates ?infoResource . ?editorship core:relates ?infoResource .
?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; . ?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; .
?infoResource ?infoResourceProperty ?infoResourceValue . ?infoResource bibo:volume ?volume .
?infoResource bibo:pageStart ?startPage .
?infoResource bibo:pageEnd ?endPage .
?infoResource core:placeOfPublication ?locale .
?infoResource bibo:reproducedIn ?appearsInObj . ?infoResource bibo:reproducedIn ?appearsInObj .
?infoResource core:publisher ?publisherObj . ?infoResource core:publisher ?publisherObj .
?infoResource core:relatedBy ?editorship . ?infoResource core:relatedBy ?editorship .
@ -153,11 +149,6 @@
{ {
?subject ?property ?editorship . ?subject ?property ?editorship .
?editorship a core:Editorship ?editorship a core:Editorship
}
UNION {
?subject ?property ?editorship .
?editorship a core:Editorship .
?editorship ?editorshipProperty ?editorshipValue
} UNION { } UNION {
?subject ?property ?editorship . ?subject ?property ?editorship .
?editorship a core:Editorship . ?editorship a core:Editorship .
@ -168,7 +159,25 @@
?editorship a core:Editorship . ?editorship a core:Editorship .
?editorship core:relates ?infoResource . ?editorship core:relates ?infoResource .
?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; . ?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; .
?infoResource ?infoResourceProperty ?infoResourceValue ?infoResource bibo:volume ?volume .
} UNION {
?subject ?property ?editorship .
?editorship a core:Editorship .
?editorship core:relates ?infoResource .
?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; .
?infoResource bibo:pageStart ?startPage .
} UNION {
?subject ?property ?editorship .
?editorship a core:Editorship .
?editorship core:relates ?infoResource .
?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; .
?infoResource bibo:pageEnd ?endPage .
} UNION {
?subject ?property ?editorship .
?editorship a core:Editorship .
?editorship core:relates ?infoResource .
?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; .
?infoResource core:placeOfPublication ?locale .
} UNION { } UNION {
?subject ?property ?editorship . ?subject ?property ?editorship .
?editorship a core:Editorship . ?editorship a core:Editorship .

View file

@ -70,7 +70,6 @@
CONSTRUCT { CONSTRUCT {
?subject ?property ?edTraining . ?subject ?property ?edTraining .
?edTraining a core:EducationalProcess . ?edTraining a core:EducationalProcess .
?edTraining ?edTrainingProp ?edTrainingValue .
?edTraining &lt;http://purl.obolibrary.org/obo/RO_0002234&gt; ?awardedDegree . ?edTraining &lt;http://purl.obolibrary.org/obo/RO_0002234&gt; ?awardedDegree .
?awardedDegree core:relates ?degree . ?awardedDegree core:relates ?degree .
?edTraining core:dateTimeInterval ?dateTimeInterval ?edTraining core:dateTimeInterval ?dateTimeInterval
@ -82,7 +81,17 @@
UNION { UNION {
?subject ?property ?edTraining . ?subject ?property ?edTraining .
?edTraining a core:EducationalProcess . ?edTraining a core:EducationalProcess .
?edTraining ?edTrainingProp ?edTrainingValue ?edTraining core:majorField ?majorField .
}
UNION {
?subject ?property ?edTraining .
?edTraining a core:EducationalProcess .
?edTraining core:departmentOrSchool ?deptOrSchool .
}
UNION {
?subject ?property ?edTraining .
?edTraining a core:EducationalProcess .
?edTraining core:supplementalInformation ?info .
} }
UNION { UNION {
?subject ?property ?edTraining . ?subject ?property ?edTraining .
@ -111,7 +120,6 @@
CONSTRUCT { CONSTRUCT {
?subject ?property ?edTraining . ?subject ?property ?edTraining .
?edTraining a core:EducationalProcess . ?edTraining a core:EducationalProcess .
?edTraining ?edTrainingProp ?edTrainingValue .
?edTraining &lt;http://purl.obolibrary.org/obo/RO_0000057&gt; ?org . ?edTraining &lt;http://purl.obolibrary.org/obo/RO_0000057&gt; ?org .
?org a foaf:Organization . ?org a foaf:Organization .
?org rdfs:label ?orgName . ?org rdfs:label ?orgName .
@ -120,11 +128,6 @@
?subject ?property ?edTraining . ?subject ?property ?edTraining .
?edTraining a core:EducationalProcess ?edTraining a core:EducationalProcess
} }
UNION {
?subject ?property ?edTraining .
?edTraining a core:EducationalProcess .
?edTraining ?edTrainingProp ?edTrainingValue
}
UNION { UNION {
?subject ?property ?edTraining . ?subject ?property ?edTraining .
?edTraining a core:EducationalProcess . ?edTraining a core:EducationalProcess .

View file

@ -140,16 +140,11 @@
CONSTRUCT { CONSTRUCT {
?subject ?property ?role . ?subject ?property ?role .
?role a vivo:AttendeeRole . ?role a vivo:AttendeeRole .
?role ?roleProperty ?roleValue .
?event1 rdfs:label ?event1Label ?event1 rdfs:label ?event1Label
} WHERE { } WHERE {
{ {
?subject ?property ?role . ?subject ?property ?role .
?role a vivo:AttendeeRole . ?role a vivo:AttendeeRole .
} UNION {
?subject ?property ?role .
?role a vivo:AttendeeRole .
?role ?roleProperty ?roleValue
} UNION { } UNION {
?subject ?property ?role . ?subject ?property ?role .
?role a vivo:AttendeeRole . ?role a vivo:AttendeeRole .

View file

@ -32,7 +32,7 @@
</collated> </collated>
} }
OPTIONAL { ?role core:roleContributesTo ?activity . OPTIONAL { ?role core:roleContributesTo ?activity .
?activity rdfs:label ?activityLabel ?activity rdfs:label ?activityName
<collated> <collated>
?activity vitro:mostSpecificType ?subclass ?activity vitro:mostSpecificType ?subclass
@ -92,7 +92,7 @@
CONSTRUCT { CONSTRUCT {
?subject ?property ?role . ?subject ?property ?role .
?role a core:ClinicalRole . ?role a core:ClinicalRole .
?role ?roleProperty ?roleValue . ?role rdfs:label ?roleLabel .
?activity rdfs:label ?activityName ?activity rdfs:label ?activityName
} WHERE { } WHERE {
{ {
@ -101,7 +101,7 @@
} UNION { } UNION {
?subject ?property ?role . ?subject ?property ?role .
?role a core:ClinicalRole . ?role a core:ClinicalRole .
?role ?roleProperty ?roleValue ?role rdfs:label ?roleLabel
} UNION { } UNION {
?subject ?property ?role . ?subject ?property ?role .
?role a core:ClinicalRole . ?role a core:ClinicalRole .

View file

@ -71,7 +71,6 @@
?subject ?property ?role . ?subject ?property ?role .
?role a core:CoPrincipalInvestigatorRole . ?role a core:CoPrincipalInvestigatorRole .
?role &lt;http://vivoweb.org/ontology/core#relatedBy&gt; ?activity . ?role &lt;http://vivoweb.org/ontology/core#relatedBy&gt; ?activity .
?role ?roleProperty ?roleValue .
?activity rdfs:label ?activityLabel . ?activity rdfs:label ?activityLabel .
?activity core:assignedBy ?awardedBy . ?activity core:assignedBy ?awardedBy .
?awardedBy rdfs:label ?awardedByLabel . ?awardedBy rdfs:label ?awardedByLabel .
@ -82,10 +81,6 @@
{ {
?subject ?property ?role . ?subject ?property ?role .
?role a core:CoPrincipalInvestigatorRole . ?role a core:CoPrincipalInvestigatorRole .
} UNION {
?subject ?property ?role .
?role a core:CoPrincipalInvestigatorRole .
?role ?roleProperty ?roleValue
} UNION { } UNION {
?subject ?property ?role . ?subject ?property ?role .
?role a core:CoPrincipalInvestigatorRole . ?role a core:CoPrincipalInvestigatorRole .

View file

@ -69,11 +69,13 @@
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt; PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
CONSTRUCT { CONSTRUCT {
?subject ?property ?role . ?subject ?property ?role .
?role a core:InvestigatorRole . ?role a core:InvestigatorRole .
?role &lt;http://vivoweb.org/ontology/core#relatedBy&gt; ?activity . ?role &lt;http://vivoweb.org/ontology/core#relatedBy&gt; ?activity .
?role ?roleProperty ?roleValue . ?role vitro:mostSpecificType ?subclass .
?role core:hideFromDisplay ?hideThis .
?activity rdfs:label ?activityLabel . ?activity rdfs:label ?activityLabel .
?activity core:assignedBy ?awardedBy . ?activity core:assignedBy ?awardedBy .
?awardedBy rdfs:label ?awardedByLabel . ?awardedBy rdfs:label ?awardedByLabel .
@ -87,7 +89,11 @@
} UNION { } UNION {
?subject ?property ?role . ?subject ?property ?role .
?role a core:InvestigatorRole . ?role a core:InvestigatorRole .
?role ?roleProperty ?roleValue ?role core:hideFromDisplay ?hideThis .
} UNION {
?subject ?property ?role .
?role a core:InvestigatorRole .
?role vitro:mostSpecificType ?subclass .
} UNION { } UNION {
?subject ?property ?role . ?subject ?property ?role .
?role a core:InvestigatorRole . ?role a core:InvestigatorRole .

View file

@ -110,7 +110,7 @@
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
CONSTRUCT { CONSTRUCT {
?subject ?property ?role . ?subject ?property ?role .
?role ?roleProperty ?roleValue . ?role rdfs:label ?roleLabel .
?activity rdfs:label ?activityName ?activity rdfs:label ?activityName
} WHERE { } WHERE {
{ {
@ -119,7 +119,7 @@
} UNION { } UNION {
?subject ?property ?role . ?subject ?property ?role .
?role a ?objectType . ?role a ?objectType .
?role ?roleProperty ?roleValue ?role rdfs:label ?roleLabel .
} UNION { } UNION {
?subject ?property ?role . ?subject ?property ?role .
?role a ?objectType . ?role a ?objectType .

View file

@ -60,7 +60,7 @@
CONSTRUCT { CONSTRUCT {
?subject ?property ?authorship . ?subject ?property ?authorship .
?authorship a core:Authorship . ?authorship a core:Authorship .
?authorship ?authorshipProperty ?authorshipValue . ?authorship core:rank ?rank .
?authorship core:relates ?author . ?authorship core:relates ?author .
?author a foaf:Agent . ?author a foaf:Agent .
?author rdfs:label ?authorName . ?author rdfs:label ?authorName .
@ -73,7 +73,7 @@
} UNION { } UNION {
?subject ?property ?authorship . ?subject ?property ?authorship .
?authorship a core:Authorship . ?authorship a core:Authorship .
?authorship ?authorshipProperty ?authorshipValue ?authorship core:rank ?rank .
} UNION { } UNION {
?subject ?property ?authorship . ?subject ?property ?authorship .
?authorship a core:Authorship . ?authorship a core:Authorship .
@ -100,7 +100,7 @@
CONSTRUCT { CONSTRUCT {
?subject ?property ?authorship . ?subject ?property ?authorship .
?authorship a core:Authorship . ?authorship a core:Authorship .
?authorship ?authorshipProperty ?authorshipValue . ?authorship core:rank ?rank .
?authorship core:relates ?author . ?authorship core:relates ?author .
?author a vcard:Kind . ?author a vcard:Kind .
?author vcard:hasName ?vName . ?author vcard:hasName ?vName .
@ -116,7 +116,7 @@
} UNION { } UNION {
?subject ?property ?authorship . ?subject ?property ?authorship .
?authorship a core:Authorship . ?authorship a core:Authorship .
?authorship ?authorshipProperty ?authorshipValue ?authorship core:rank ?rank .
} UNION { } UNION {
?subject ?property ?authorship . ?subject ?property ?authorship .
?authorship a core:Authorship . ?authorship a core:Authorship .

View file

@ -43,7 +43,7 @@
CONSTRUCT { CONSTRUCT {
?subject ?property ?editorship . ?subject ?property ?editorship .
?editorship a core:Editorship . ?editorship a core:Editorship .
?editorship ?editorshipProperty ?editorshipValue . ?editorship core:rank ?rank .
?editorship core:relates ?person . ?editorship core:relates ?person .
?person a foaf:Person . ?person a foaf:Person .
?person rdfs:label ?personName . ?person rdfs:label ?personName .
@ -56,7 +56,7 @@
} UNION { } UNION {
?subject ?property ?editorship . ?subject ?property ?editorship .
?editorship a core:Editorship . ?editorship a core:Editorship .
?editorship ?editorshipProperty ?editorshipValue ?editorship core:rank ?rank
} UNION { } UNION {
?subject ?property ?editorship . ?subject ?property ?editorship .
?editorship a core:Editorship . ?editorship a core:Editorship .

View file

@ -79,7 +79,8 @@
CONSTRUCT { CONSTRUCT {
?subject ?property ?position . ?subject ?property ?position .
?position a core:Position . ?position a core:Position .
?position ?positionProperty ?positionValue . ?position core:hideFromDisplay ?hideThis .
?position rdfs:label ?positionTitle .
?position core:relates ?person . ?position core:relates ?person .
?person a foaf:Person . ?person a foaf:Person .
?person rdfs:label ?personName ?person rdfs:label ?personName
@ -90,7 +91,11 @@
} UNION { } UNION {
?subject ?property ?position . ?subject ?property ?position .
?position a core:Position . ?position a core:Position .
?position ?positionProperty ?positionValue ?position core:hideFromDisplay ?hideThis
} UNION {
?subject ?property ?position .
?position a core:Position .
?position rdfs:label ?positionTitle
} UNION { } UNION {
?subject ?property ?position . ?subject ?property ?position .
?position core:relates ?person . ?position core:relates ?person .

View file

@ -112,7 +112,8 @@
CONSTRUCT { CONSTRUCT {
?subject ?property ?edTraining . ?subject ?property ?edTraining .
?edTraining a core:EducationalProcess . ?edTraining a core:EducationalProcess .
?edTraining ?edTrainingProp ?edTrainingValue . ?edTraining core:majorField ?majorField .
?edTraining core:supplementalInformation ?info .
?edTraining &lt;http://purl.obolibrary.org/obo/RO_0000057&gt; ?person . ?edTraining &lt;http://purl.obolibrary.org/obo/RO_0000057&gt; ?person .
?person a foaf:Person . ?person a foaf:Person .
?person rdfs:label ?personName ?person rdfs:label ?personName
@ -124,7 +125,11 @@
UNION { UNION {
?subject ?property ?edTraining . ?subject ?property ?edTraining .
?edTraining a core:EducationalProcess . ?edTraining a core:EducationalProcess .
?edTraining ?edTrainingProp ?edTrainingValue ?edTraining core:majorField ?majorField .
UNION {
?subject ?property ?edTraining .
?edTraining a core:EducationalProcess
?edTraining core:supplementalInformation ?info .
} }
UNION { UNION {
?subject ?property ?edTraining . ?subject ?property ?edTraining .

View file

@ -81,17 +81,27 @@
PREFIX obo: &lt;http://purl.obolibrary.org/obo/&gt; PREFIX obo: &lt;http://purl.obolibrary.org/obo/&gt;
CONSTRUCT { CONSTRUCT {
?subject ?property ?position . ?subject ?property ?position .
?position ?positionProperty ?positionValue . ?position rdfs:label ?positionTitle .
?position core:hrJobTitle ?hrJobTitle .
?position core:rank ?rank .
?position core:relates ?org .
?org rdfs:label ?orgName . ?org rdfs:label ?orgName .
?org obo:BFO_0000050 ?middleOrg . ?org obo:BFO_0000050 ?middleOrg .
?middleOrg rdfs:label ?middleOrgName . ?middleOrg rdfs:label ?middleOrgName .
?middleOrg obo:BFO_0000050 ?outerOrg . ?middleOrg obo:BFO_0000050 ?outerOrg .
?outerOrg rdfs:label ?outerOrgName ?outerOrg rdfs:label ?outerOrgName .
} WHERE { } WHERE {
{ {
?subject ?property ?position . ?subject ?property ?position .
?position a core:Position . ?position a core:Position .
?position ?positionProperty ?positionValue } UNION {
?subject ?property ?position .
?position a core:Position .
?position rdfs:label ?positionTitle .
} UNION {
?subject ?property ?position .
?position a core:Position .
?position core:rank ?rank
} UNION { } UNION {
?subject ?property ?position . ?subject ?property ?position .
?position a core:Position . ?position a core:Position .

View file

@ -81,7 +81,10 @@
CONSTRUCT { CONSTRUCT {
?subject ?property ?infoResource . ?subject ?property ?infoResource .
?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; . ?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; .
?infoResource ?infoResourceProperty ?infoResourceValue . ?infoResource bibo:volume ?volume .
?infoResource bibo:pageStart ?startPage .
?infoResource bibo:pageEnd ?endPage .
?infoResource core:placeOfPublication ?locale .
?infoResource bibo:reproducedIn ?appearsInObj . ?infoResource bibo:reproducedIn ?appearsInObj .
?infoResource core:publisher ?publisherObj . ?infoResource core:publisher ?publisherObj .
?infoResource core:relatedBy ?editorship . ?infoResource core:relatedBy ?editorship .
@ -97,7 +100,19 @@
} UNION { } UNION {
?subject ?property ?infoResource . ?subject ?property ?infoResource .
?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; . ?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; .
?infoResource ?infoResourceProperty ?infoResourceValue ?infoResource bibo:volume ?volume .
} UNION {
?subject ?property ?infoResource .
?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; .
?infoResource bibo:pageStart ?startPage .
} UNION {
?subject ?property ?infoResource .
?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; .
?infoResource bibo:pageEnd ?endPage .
} UNION {
?subject ?property ?infoResource .
?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; .
?infoResource core:placeOfPublication ?locale .
} UNION { } UNION {
?subject ?property ?infoResource . ?subject ?property ?infoResource .
?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; . ?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; .

View file

@ -105,7 +105,11 @@
CONSTRUCT { CONSTRUCT {
?subject ?property ?infoResource . ?subject ?property ?infoResource .
?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; . ?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; .
?infoResource ?infoResourceProperty ?infoResourceValue . ?infoResource rdfs:label ?infoResourceName .
?infoResource bibo:volume ?volume .
?infoResource bibo:pageStart ?startPage .
?infoResource bibo:pageEnd ?endPage .
?infoResource core:placeOfPublication ?locale .
?infoResource bibo:reproducedIn ?appearsInObj . ?infoResource bibo:reproducedIn ?appearsInObj .
?infoResource core:publisher ?publisherObj . ?infoResource core:publisher ?publisherObj .
?infoResource core:relatedBy ?editorship . ?infoResource core:relatedBy ?editorship .
@ -120,10 +124,23 @@
{ {
?subject ?property ?infoResource . ?subject ?property ?infoResource .
?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; . ?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; .
?infoResource rdfs:label ?infoResourceName .
} UNION { } UNION {
?subject ?property ?infoResource . ?subject ?property ?infoResource .
?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; . ?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; .
?infoResource ?infoResourceProperty ?infoResourceValue ?infoResource bibo:volume ?volume .
} UNION {
?subject ?property ?infoResource .
?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; .
?infoResource bibo:pageStart ?startPage .
} UNION {
?subject ?property ?infoResource .
?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; .
?infoResource bibo:pageEnd ?endPage .
} UNION {
?subject ?property ?infoResource .
?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; .
?infoResource core:placeOfPublication ?locale .
} UNION { } UNION {
?subject ?property ?infoResource . ?subject ?property ?infoResource .
?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; . ?infoResource a &lt;http://purl.obolibrary.org/obo/IAO_0000030&gt; .

View file

@ -36,11 +36,6 @@
OPTIONAL { ?role &lt;http://purl.obolibrary.org/obo/RO_0000052&gt; ?indivInRole . OPTIONAL { ?role &lt;http://purl.obolibrary.org/obo/RO_0000052&gt; ?indivInRole .
?indivInRole rdfs:label ?indivLabel ?indivInRole rdfs:label ?indivLabel
} }
OPTIONAL { ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?indivInRole .
}
OPTIONAL { ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?indivInRole .
?indivInRole rdfs:label ?indivLabel
}
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval . OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:start ?dateTimeStartValue . ?dateTimeInterval core:start ?dateTimeStartValue .
@ -63,9 +58,10 @@
CONSTRUCT { CONSTRUCT {
?subject ?property ?role . ?subject ?property ?role .
?role a ?objectType . ?role a ?objectType .
?role ?roleProperty ?roleValue . ?role rdfs:label ?roleLabel .
?role vitro:mostSpecificType ?subclass . ?role vitro:mostSpecificType ?subclass .
?subclass rdfs:label ?roleTypeLabel . ?subclass rdfs:label ?roleTypeLabel .
?role &lt;http://purl.obolibrary.org/obo/RO_0000052&gt; ?indivInRole .
?indivInRole rdfs:label ?indivLabel ?indivInRole rdfs:label ?indivLabel
} WHERE { } WHERE {
{ {
@ -74,7 +70,7 @@
} UNION { } UNION {
?subject ?property ?role . ?subject ?property ?role .
?role a ?objectType . ?role a ?objectType .
?role ?roleProperty ?roleValue ?role rdfs:label ?roleLabel
} UNION { } UNION {
?subject ?property ?role . ?subject ?property ?role .
?role a ?objectType . ?role a ?objectType .
@ -88,11 +84,10 @@
?subject ?property ?role . ?subject ?property ?role .
?role a ?objectType . ?role a ?objectType .
?role &lt;http://purl.obolibrary.org/obo/RO_0000052&gt; ?indivInRole . ?role &lt;http://purl.obolibrary.org/obo/RO_0000052&gt; ?indivInRole .
?indivInRole rdfs:label ?indivLabel
} UNION { } UNION {
?subject ?property ?role . ?subject ?property ?role .
?role a ?objectType . ?role a ?objectType .
?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?indivInRole . ?role &lt;http://purl.obolibrary.org/obo/RO_0000052&gt; ?indivInRole .
?indivInRole rdfs:label ?indivLabel ?indivInRole rdfs:label ?indivLabel
} }
} }

View file

@ -63,12 +63,18 @@
?role a core:ResearcherRole . ?role a core:ResearcherRole .
?role core:relatedBy ?activity . ?role core:relatedBy ?activity .
?activity vitro:mostSpecificType ?subclass . ?activity vitro:mostSpecificType ?subclass .
} WHERE { ?activity rdfs:label ?activityName .
} WHERE { {
?subject ?property ?role . ?subject ?property ?role .
?role a core:ResearcherRole . ?role a core:ResearcherRole .
?role core:relatedBy ?activity . ?role core:relatedBy ?activity .
?activity vitro:mostSpecificType ?subclass ?activity vitro:mostSpecificType ?subclass
} } UNION {
?subject ?property ?role .
?role a core:ResearcherRole .
?role core:relatedBy ?activity .
?activity rdfs:label ?activityName .
}}
</query-construct> </query-construct>
<query-construct> <query-construct>
@ -81,22 +87,30 @@
?role a core:ResearcherRole . ?role a core:ResearcherRole .
?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?activity . ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?activity .
?activity vitro:mostSpecificType ?subclass . ?activity vitro:mostSpecificType ?subclass .
} WHERE { ?activity rdfs:label ?activityName .
} WHERE { {
?subject ?property ?role . ?subject ?property ?role .
?role a core:ResearcherRole . ?role a core:ResearcherRole .
?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?activity . ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?activity .
?activity vitro:mostSpecificType ?subclass ?activity vitro:mostSpecificType ?subclass
} } UNION {
?subject ?property ?role .
?role a core:ResearcherRole .
?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?activity .
?activity rdfs:label ?activityName .
} }
</query-construct> </query-construct>
<query-construct> <query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
CONSTRUCT { CONSTRUCT {
?subject ?property ?role . ?subject ?property ?role .
?role a core:ResearcherRole . ?role a core:ResearcherRole .
?role ?roleProperty ?roleValue . ?role rdfs:label ?roleLabel .
?activity rdfs:label ?activityName ?role core:hideFromDisplay ?hideThis .
?role vitro:mostSpecificType ?roleSubclass
} WHERE { } WHERE {
{ {
?subject ?property ?role . ?subject ?property ?role .
@ -104,17 +118,15 @@
} UNION { } UNION {
?subject ?property ?role . ?subject ?property ?role .
?role a core:ResearcherRole . ?role a core:ResearcherRole .
?role ?roleProperty ?roleValue ?role rdfs:label ?roleLabel .
} UNION { } UNION {
?subject ?property ?role . ?subject ?property ?role .
?role a core:ResearcherRole . ?role a core:ResearcherRole .
?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?activity . ?role core:hideFromDisplay ?hideThis .
?activity rdfs:label ?activityName
} UNION { } UNION {
?subject ?property ?role . ?subject ?property ?role .
?role a core:ResearcherRole . ?role a core:ResearcherRole .
?role core:relatedBy ?activity . ?role vitro:mostSpecificType ?roleSubclass .
?activity rdfs:label ?activityName
} }
} }
</query-construct> </query-construct>

View file

@ -94,8 +94,10 @@
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
CONSTRUCT { CONSTRUCT {
?subject ?property ?role . ?subject ?property ?role .
?role ?roleProperty ?roleValue . ?role rdfs:label ?roleLabel .
?activity rdfs:label ?activityName ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?activity .
?role core:roleContributesTo ?activity .
?activity rdfs:label ?activityName .
} WHERE { } WHERE {
{ {
?subject ?property ?role . ?subject ?property ?role .
@ -103,7 +105,7 @@
} UNION { } UNION {
?subject ?property ?role . ?subject ?property ?role .
?role a ?objectType . ?role a ?objectType .
?role ?roleProperty ?roleValue ?role rdfs:label ?roleLabel
} UNION { } UNION {
?subject ?property ?role . ?subject ?property ?role .
?role a ?objectType . ?role a ?objectType .

View file

@ -66,7 +66,9 @@
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
CONSTRUCT { CONSTRUCT {
?subject ?property ?role . ?subject ?property ?role .
?role ?roleProperty ?roleValue . ?role rdfs:label ?roleLabel .
?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?activity .
?role core:roleContributesTo ?activity .
?activity rdfs:label ?activityName ?activity rdfs:label ?activityName
} WHERE { } WHERE {
{ {
@ -75,7 +77,7 @@
} UNION { } UNION {
?subject ?property ?role . ?subject ?property ?role .
?role a ?objectType . ?role a ?objectType .
?role ?roleProperty ?roleValue ?role rdfs:label ?roleLabel .
} UNION { } UNION {
?subject ?property ?role . ?subject ?property ?role .
?role a ?objectType . ?role a ?objectType .