updated example sparql query using new default prefix
This commit is contained in:
parent
496e225889
commit
643dcb224e
2 changed files with 11 additions and 34 deletions
|
@ -13,7 +13,7 @@
|
|||
<body>
|
||||
<div id="content" class="sparqlform">
|
||||
<h2>SPARQL Query</h2>
|
||||
<form action='sparqlquery'>
|
||||
<form action='sparqlquery' method="get">
|
||||
<h3>Query:</h3>
|
||||
<div>
|
||||
<textarea name='query' rows ='30' cols='100' class="span-23 maxWidth">
|
||||
|
@ -43,7 +43,7 @@ PREFIX <%=prefixText%>: <<%=urlText%>><%}}%>
|
|||
SELECT ?geoLocation ?label
|
||||
WHERE
|
||||
{
|
||||
?geoLocation rdf:type core:GeographicLocation
|
||||
?geoLocation rdf:type vivo:GeographicLocation
|
||||
OPTIONAL { ?geoLocation rdfs:label ?label }
|
||||
}
|
||||
LIMIT 20
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue