page management would also be available at vitro level
This commit is contained in:
parent
8e98850493
commit
b6f56756f0
1 changed files with 19 additions and 1 deletions
|
@ -32,4 +32,22 @@ display:Home
|
||||||
########## Data Getter ############
|
########## Data Getter ############
|
||||||
|
|
||||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#homeDataGetter>
|
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#homeDataGetter>
|
||||||
a <java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.BrowseDataGetter> .
|
a <java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.BrowseDataGetter> .
|
||||||
|
|
||||||
|
########## Page Management ##########
|
||||||
|
display:pageListData
|
||||||
|
a <java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.SparqlQueryDataGetter>;
|
||||||
|
display:queryModel <vitro:contextDisplayModel> ;
|
||||||
|
display:saveToVar "pages" ;
|
||||||
|
|
||||||
|
display:query """
|
||||||
|
PREFIX display: <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#>
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
SELECT ?pageUri ?title ?urlMapping ?template ?menuItem
|
||||||
|
WHERE {
|
||||||
|
?pageUri a display:Page .
|
||||||
|
OPTIONAL{ ?pageUri display:urlMapping ?urlMapping. }
|
||||||
|
OPTIONAL{ ?pageUri display:title ?title. }
|
||||||
|
OPTIONAL {?pageUri display:requiresBodyTemplate ?template .}
|
||||||
|
OPTIONAL {?menuItem display:toPage ?pageUri .}
|
||||||
|
} """ .
|
Loading…
Add table
Add a link
Reference in a new issue