query-0bb03d2bfc678fb3fbc41a425ccf4b4b

rq turtle/ttl

TODO

Use at

PREFIX mwapi: <http://wikiba.se/ontology#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?property
WHERE
{
  SERVICE wikibase:mwapi
  {
    bd:serviceParam wikibase:api "Search" .
    bd:serviceParam wikibase:endpoint "www.wikidata.org" .
    bd:serviceParam mwapi:srnamespace "120" .
    bd:serviceParam mwapi:srsearch "inlabel:'has effect'@[AUTO_LANGUAGE]" .
    ?prop wikibase:apiOutput mwapi:title .
  }
  BIND (IRI(CONCAT("http://www.wikidata.org/entity/", STRAFTER(?prop, "Property:"))) AS ?property)
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?prop") v2("?property"):::projected c6(["www.wikidata.org"]):::literal c2(["bd:serviceParam"]):::iri c4(["Search"]):::literal c10(["inlabel:'has effect'@#91;AUTO_LANGUAGE#93;"]):::literal c12(["mwapi:title"]):::iri c8(["120"]):::literal subgraph s1["http://wikiba.se/ontology#mwapi"] style s1 stroke-width:4px; c2 --"mwapi:api"--> c4 c2 --"mwapi:endpoint"--> c6 c2 --"mwapi:srnamespace"--> c8 c2 --"mwapi:srsearch"--> c10 v1 --"mwapi:apiOutput"--> c12 end bind0[/"concat('http://www.wikidata.org/entity/',substring-after(?prop,'Property:'))"/] v1 --o bind0 bind0 --as--o v2