NIHVIVO-1341 Get custom view config file for a property.

NIHVIVO-1336 Sparql query for core:educationalTraining.
This commit is contained in:
rjy7 2010-12-15 16:52:59 +00:00
parent 74cbc3a197
commit 31dbc619a4
2 changed files with 5 additions and 5 deletions

View file

@ -16,7 +16,7 @@
xmlns:vitro="&vitro;">
<rdf:Description rdf:about="http://vivoweb.org/ontology/core#educationalTraining">
<vitro:propertyListDisplayConfiguration rdf:datatype="http://www.w3.org/2001/XMLSchema#string">objectPropertyList-educationalTraining.xml</vitro:propertyListDisplayConfiguration>
<display:customListViewConfigurationFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">objectPropertyList-educationalTraining.xml</display:customListViewConfigurationFile>
</rdf:Description>
</rdf:RDF>

View file

@ -5,9 +5,9 @@
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
SELECT DISTINCT ?edTraining ?organization ?degree ?degreeAbbr ?majorField ?deptOrSchool ?info ?dateTime WHERE {
?subject ?property ?edTraining .
?edTraining core:trainingAtOrganization ?organization .
SELECT DISTINCT ?edTraining ?org ?orgName ?degreeName ?degreeAbbr ?majorField ?deptOrSchool ?info ?dateTime WHERE {
?edTraining core:trainingAtOrganization ?org .
?org rdfs:label ?orgName
OPTIONAL { ?edTraining core:degreeEarned ?degree . }
OPTIONAL { ?degree rdfs:label ?degreeName . }
OPTIONAL { ?degree core:abbreviation ?degreeAbbr . }