query-a6cc67b7441b71735d6c71f07f6cf6ad

rq turtle/ttl

TODO

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 ?instanceLabel ?metricalPattern {
  {
    SELECT ?item (SAMPLE(?instance) AS ?instance) (SAMPLE(?metricalPattern) AS ?metricalPattern) {
      ?item wdt:P2552 ?metricalPattern;
            wdt:P31 ?instance .
      ?instance wdt:P279* wd:Q1651051 .
    } GROUP BY ?item
  } .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } .
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?instance") v1("?item"):::projected v4("?metricalPattern"):::projected c6(["bd:serviceParam"]):::iri c8(["en"]):::literal c4(["wd:Q1651051"]):::iri v1 --"wdt:P2552"--> v4 v1 --"wdt:P31"--> v4 v4 --"wdt:P279"--> c4 bind2[/"sample(?instance)"/] v4 --o bind2 bind2 --as--o v4 bind3[/"sample(?metricalPattern)"/] v4 --o bind3 bind3 --as--o v4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end