query-884c2f49c37fc3b18cb510537bf354f7

rq turtle/ttl

TODO

Use at

PREFIX mwapi: <http://wikiba.se/ontology#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel 
WHERE {

  SERVICE wikibase:mwapi {
    bd:serviceParam wikibase:api "Search";
                    wikibase:endpoint "www.wikidata.org";
                    mwapi:srsearch "computerized axial tomography haswbstatement:P31=Q13442814".
    ?title wikibase:apiOutput mwapi:title.
  }
  BIND(IRI(CONCAT(STR(wd:), ?title)) AS ?item)
#  FILTER(CONTAINS(?itemLabel,"computerized axial tomography"))
  ?item rdfs:label ?itemLabel . filter(lang(?itemLabel)="en")
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?item"):::projected v1("?itemLabel"):::projected v2("?title") c7(["www.wikidata.org"]):::literal c3(["bd:serviceParam"]):::iri c9(["computerized axial tomography haswbstatement:P31=Q13442814"]):::literal c5(["Search"]):::literal c11(["mwapi:title"]):::iri f0[["?itemLabel = 'en'"]] f0 --> v1 subgraph s1["http://wikiba.se/ontology#mwapi"] style s1 stroke-width:4px; c3 --"mwapi:api"--> c5 c3 --"mwapi:endpoint"--> c7 c3 --"mwapi:srsearch"--> c9 v2 --"mwapi:apiOutput"--> c11 end bind1[/"concat(str('wd:'),?title)"/] v2 --o bind1 bind1 --as--o v3 v3 --"rdfs:label"--> v1