speeding up raw statements display by removing labels
This commit is contained in:
parent
4bbbf6fd6e
commit
d7f1c88ce9
1 changed files with 4 additions and 8 deletions
|
@ -34,40 +34,36 @@
|
||||||
<c:set var="query"
|
<c:set var="query"
|
||||||
value="PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
value="PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
SELECT ?pred ?predLabel ?obj ?objLabel ?graph
|
SELECT ?pred ?obj ?graph
|
||||||
WHERE
|
WHERE
|
||||||
{
|
{
|
||||||
{ <${entity.URI}> ?pred ?obj
|
{ <${entity.URI}> ?pred ?obj
|
||||||
MINUS { GRAPH ?g { <${entity.URI}> ?pred ?obj } } }
|
MINUS { GRAPH ?g { <${entity.URI}> ?pred ?obj } } }
|
||||||
UNION
|
UNION
|
||||||
{ GRAPH ?graph { <${entity.URI}> ?pred ?obj} }
|
{ GRAPH ?graph { <${entity.URI}> ?pred ?obj} }
|
||||||
OPTIONAL { ?obj rdfs:label ?objLabel }
|
|
||||||
OPTIONAL { ?pred rdfs:label ?predLabel }
|
|
||||||
} ORDER BY ?graph ?pred
|
} ORDER BY ?graph ?pred
|
||||||
limit 10000"/>
|
limit 10000"/>
|
||||||
<form action="admin/sparqlquery" method="get">
|
<form action="admin/sparqlquery" method="get">
|
||||||
<input type="hidden" name="query" value="${query}"/>
|
<input type="hidden" name="query" value="${query}"/>
|
||||||
<input type="hidden" name="resultFormat" value="RS_TEXT"/>
|
<input type="hidden" name="resultFormat" value="text/plain"/>
|
||||||
<input type="submit" class="form-button" value="Raw Statements with This Resource as Subject"/>
|
<input type="submit" class="form-button" value="Raw Statements with This Resource as Subject"/>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<c:set var="query"
|
<c:set var="query"
|
||||||
value="PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
value="PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
SELECT ?sub ?subL ?pred ?predLabel ?graph
|
SELECT ?sub ?pred ?graph
|
||||||
WHERE
|
WHERE
|
||||||
{
|
{
|
||||||
{ ?sub ?pred <${entity.URI}>
|
{ ?sub ?pred <${entity.URI}>
|
||||||
MINUS { GRAPH ?g { ?sub ?pred <${entity.URI}> } } }
|
MINUS { GRAPH ?g { ?sub ?pred <${entity.URI}> } } }
|
||||||
UNION
|
UNION
|
||||||
{ GRAPH ?graph { ?sub ?pred <${entity.URI}> } }
|
{ GRAPH ?graph { ?sub ?pred <${entity.URI}> } }
|
||||||
OPTIONAL { ?sub rdfs:label ?subL }
|
|
||||||
OPTIONAL { ?pred rdfs:label ?predLabel }
|
|
||||||
} ORDER BY ?graph ?pred
|
} ORDER BY ?graph ?pred
|
||||||
limit 10000"/>
|
limit 10000"/>
|
||||||
<form action="admin/sparqlquery" method="get">
|
<form action="admin/sparqlquery" method="get">
|
||||||
<input type="hidden" name="query" value="${query}"/>
|
<input type="hidden" name="query" value="${query}"/>
|
||||||
<input type="hidden" name="resultFormat" value="RS_TEXT"/>
|
<input type="hidden" name="resultFormat" value="text/plain"/>
|
||||||
<input type="submit" class="form-button" value="Raw Statements with This Resource as Object"/>
|
<input type="submit" class="form-button" value="Raw Statements with This Resource as Object"/>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue