Skip to content
Snippets Groups Projects
Commit 96cb2bde authored by Tarje Lavik's avatar Tarje Lavik
Browse files

Remove unneccesary queries. Remove Charter template

parent c760c39b
No related branches found
No related tags found
No related merge requests found
Showing
with 0 additions and 36 deletions
SELECT DISTINCT ?label ?ispartof ?logo WHERE {
<http://data.ub.uib.no/conceptscheme/{{lodspk.args.arg0}}> skos:inScheme ?ispartof .
OPTIONAL { ?ispartof dct:title ?label . }
OPTIONAL { ?ispartof rdfs:label ?label . }
OPTIONAL { ?ispartof skos:prefLabel ?label . }
OPTIONAL { ?ispartof foaf:logo ?logo . }
}
\ No newline at end of file
SELECT DISTINCT ?uri ?image ?label WHERE {
<http://data.ub.uib.no/instance/collection/{{ lodspk.args.arg0 }}> dct:hasPart ?uri .
?uri ubbont:showWeb true .
OPTIONAL { ?uri ubbont:hasRepresentation/ubbont:hasURI ?image .}
OPTIONAL { ?uri dct:title ?label . }
}
ORDER BY ?uri
OFFSET {{lodspk.args.arg1|default:0}} LIMIT 100
\ No newline at end of file
SELECT DISTINCT ?uri ?label ?birth ?death WHERE {
{% if lodspk.query %}
?uri text:query ('{{lodspk.query}}') .
?uri skos:inScheme <{{uri}}> .
OPTIONAL { ?uri rdfs:label ?label . }
OPTIONAL { ?uri dct:title ?label . }
OPTIONAL { ?uri skos:prefLabel ?label . }
OPTIONAL { ?uri foaf:name ?label . }
OPTIONAL { ?uri dbo:birthDate ?birth . }
OPTIONAL { ?uri dbo:deathDate ?death . }
{% endif %}
}
LIMIT 100
\ No newline at end of file
SELECT DISTINCT (COUNT(?uri) AS ?total) WHERE {
GRAPH <urn:x-arq:UnionGraph> {
?uri dct:subject <http://data.ub.uib.no/topic/{{ lodspk.args.arg0 }}> .
?uri ubbont:showWeb true .
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment