query-42628f9df1ba9652ba3ba817eaa95162

rq turtle/ttl

How to create a clickable URL 23:27, 19 January 2018 (UTC)) talk (TagishsimonHow do I make ?url2 clickable? --

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?inventory_no ?url  ?url2 WHERE {
  ?item wdt:P31 wd:Q3305213 .
  ?item wdt:P973 ?url .
  ?item wdt:P217 ?inventory_no .
  FILTER(CONTAINS(str(?url), "http://data.collectienederland.nl/resource/aggregation/rce-kunstcollectie/") )
  BIND(concat("<http://data.collectienederland.nl/page/aggregation/rce-kunstcollectie/",?inventory_no,">") as ?url2)
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],nl". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?inventory_no"):::projected v2("?item"):::projected v1("?url"):::projected v4("?url2"):::projected c3(["wd:Q3305213"]):::iri c7(["bd:serviceParam"]):::iri c9(["#91;AUTO_LANGUAGE#93;,nl"]):::literal f0[["contains(str(?url),'http://data.collectienederland.nl/resource/aggregation/rce-kunstcollectie/')"]] f0 --> v1 v2 --"wdt:P31"--> c3 v2 --"wdt:P973"--> v1 v2 --"wdt:P217"--> v3 bind1[/"concat('<http://data.collectienederland.nl/page/aggregation/rce-kunstcollectie/',?inventory_no,'>')"/] v3 --o bind1 bind1 --as--o v4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end