VIVO-828: updated the publisherOf (vivo) property to use a new list view with fuller citation details
This commit is contained in:
parent
c4f01e9cb0
commit
f3575d6309
3 changed files with 267 additions and 0 deletions
169
productMods/config/listViewConfig-publisherOf.xml
Normal file
169
productMods/config/listViewConfig-publisherOf.xml
Normal file
|
@ -0,0 +1,169 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
|
||||
|
||||
<list-view-config>
|
||||
<query-select>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
|
||||
SELECT DISTINCT ?subclass
|
||||
?infoResource ?infoResourceName
|
||||
?dateTime
|
||||
?journal
|
||||
?volume
|
||||
?startPage
|
||||
?endPage
|
||||
?locale
|
||||
?appearsIn
|
||||
?partOf
|
||||
WHERE {
|
||||
?subject ?property ?infoResource .
|
||||
?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030> .
|
||||
?infoResource rdfs:label ?infoResourceName .
|
||||
|
||||
OPTIONAL { ?infoResource bibo:volume ?volume }
|
||||
OPTIONAL { ?infoResource bibo:pageStart ?startPage }
|
||||
OPTIONAL { ?infoResource bibo:pageEnd ?endPage }
|
||||
OPTIONAL { ?infoResource core:placeOfPublication ?locale }
|
||||
OPTIONAL { ?infoResource bibo:reproducedIn ?appearsInObj .
|
||||
?appearsInObj rdfs:label ?appearsIn
|
||||
}
|
||||
OPTIONAL { ?infoResource <http://purl.obolibrary.org/obo/BFO_0000050> ?partOfObj .
|
||||
?partOfObj rdfs:label ?partOf
|
||||
}
|
||||
OPTIONAL { ?infoResource core:hasPublicationVenue ?publishedIn .
|
||||
?publishedIn rdfs:label ?journal
|
||||
}
|
||||
OPTIONAL { ?infoResource vitro:mostSpecificType ?subclass }
|
||||
OPTIONAL { ?infoResource core:dateTimeValue ?dateTimeValue .
|
||||
?dateTimeValue core:dateTime ?dateTime
|
||||
}
|
||||
|
||||
<critical-data-required>
|
||||
FILTER ( bound(?infoResource) )
|
||||
</critical-data-required>
|
||||
} ORDER BY ?subclass DESC(?dateTime) ?infoResourceName
|
||||
</query-select>
|
||||
|
||||
<query-construct>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||
CONSTRUCT {
|
||||
?subject ?property ?infoResource .
|
||||
?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030> .
|
||||
?infoResource vitro:mostSpecificType ?subclass
|
||||
} WHERE {
|
||||
?subject ?property ?infoResource .
|
||||
?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030> .
|
||||
?infoResource vitro:mostSpecificType ?subclass
|
||||
}
|
||||
</query-construct>
|
||||
|
||||
<query-construct>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
CONSTRUCT {
|
||||
?subject ?property ?infoResource .
|
||||
?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030> .
|
||||
?infoResource rdfs:label ?infoResourceName .
|
||||
?infoResource core:hasPublicationVenue ?publishedIn .
|
||||
?publishedIn rdfs:label ?journal
|
||||
} WHERE {
|
||||
{
|
||||
?subject ?property ?infoResource .
|
||||
?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030>
|
||||
} UNION {
|
||||
?subject ?property ?infoResource .
|
||||
?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030> .
|
||||
?infoResource rdfs:label ?infoResourceName
|
||||
} UNION {
|
||||
?subject ?property ?infoResource .
|
||||
?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030> .
|
||||
?infoResource core:hasPublicationVenue ?publishedIn
|
||||
} UNION {
|
||||
?subject ?property ?infoResource .
|
||||
?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030> .
|
||||
?infoResource core:hasPublicationVenue ?publishedIn .
|
||||
?publishedIn rdfs:label ?journal
|
||||
}
|
||||
}
|
||||
</query-construct>
|
||||
|
||||
<query-construct>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
CONSTRUCT {
|
||||
?subject ?property ?infoResource .
|
||||
?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030> .
|
||||
?infoResource ?infoResourceProperty ?infoResourceValue .
|
||||
?infoResource bibo:reproducedIn ?appearsInObj .
|
||||
?infoResource core:publisher ?publisherObj .
|
||||
?infoResource core:relatedBy ?editorship .
|
||||
?editorship a core:Editorship .
|
||||
?editorship core:relates ?editorObj .
|
||||
?editorObj a foaf:Person .
|
||||
?infoResource <http://purl.obolibrary.org/obo/BFO_0000050> ?partOfObj .
|
||||
?appearsInObj rdfs:label ?appearsIn .
|
||||
?editorObj rdfs:label ?editor .
|
||||
?partOfObj rdfs:label ?partOf
|
||||
} WHERE {
|
||||
{
|
||||
?subject ?property ?infoResource .
|
||||
?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030> .
|
||||
} UNION {
|
||||
?subject ?property ?infoResource .
|
||||
?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030> .
|
||||
?infoResource ?infoResourceProperty ?infoResourceValue
|
||||
} UNION {
|
||||
?subject ?property ?infoResource .
|
||||
?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030> .
|
||||
?infoResource bibo:reproducedIn ?appearsInObj .
|
||||
?appearsInObj rdfs:label ?appearsIn
|
||||
} UNION {
|
||||
?subject ?property ?infoResource .
|
||||
?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030> .
|
||||
?infoResource core:relatedBy ?editorship .
|
||||
?editorship a core:Editorship .
|
||||
?editorship core:relates ?editorObj .
|
||||
?editorObj a foaf:Person .
|
||||
?editorObj rdfs:label ?editor
|
||||
} UNION {
|
||||
?subject ?property ?infoResource .
|
||||
?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030> .
|
||||
?infoResource <http://purl.obolibrary.org/obo/BFO_0000050> ?partOfObj .
|
||||
?partOfObj rdfs:label ?partOf
|
||||
}
|
||||
}
|
||||
</query-construct>
|
||||
|
||||
<query-construct>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
CONSTRUCT {
|
||||
?subject ?property ?infoResource .
|
||||
?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030> .
|
||||
?infoResource rdfs:label ?infoResourceName .
|
||||
?infoResource core:dateTimeValue ?dateTimeValue .
|
||||
?dateTimeValue core:dateTime ?dateTime
|
||||
} WHERE {
|
||||
?subject ?property ?infoResource .
|
||||
?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030> .
|
||||
?infoResource rdfs:label ?infoResourceName .
|
||||
?infoResource core:dateTimeValue ?dateTimeValue .
|
||||
?dateTimeValue core:dateTime ?dateTime
|
||||
}
|
||||
</query-construct>
|
||||
|
||||
<template>propStatement-publisherOf.ftl</template>
|
||||
</list-view-config>
|
Loading…
Add table
Add a link
Reference in a new issue