query-c84d2705cb6c351913ab27972f883c9c

rq turtle/ttl

TODO

Use at

PREFIX mwapi: <http://wikiba.se/ontology#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?_articleEN ?_articlePT ?_articleES
WHERE {
  SERVICE wikibase:mwapi {
    bd:serviceParam wikibase:endpoint "en.wikipedia.org" .
    bd:serviceParam wikibase:api "Generator" .
    bd:serviceParam mwapi:gcmtitle "Category:Sheet music publishing companies" .
    bd:serviceParam mwapi:generator "categorymembers" .
    bd:serviceParam mwapi:gcmtype "page" .
    bd:serviceParam mwapi:gcmlimit "max" .
    ?item wikibase:apiOutputItem mwapi:item .
    ?itemLabel wikibase:apiOutput mwapi:title .

  }
  filter (BOUND(?item))
  OPTIONAL {
    ?_articleEN schema:about ?item;
      schema:isPartOf <https://en.wikipedia.org/>.
  }
    OPTIONAL {
    ?_articlePT schema:about ?item;
      schema:isPartOf <https://pt.wikipedia.org/>.
  }
      OPTIONAL {
    ?_articleES schema:about ?item;
      schema:isPartOf <https://es.wikipedia.org/>.
  }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?_articleEN"):::projected v5("?_articleES"):::projected v4("?_articlePT"):::projected v1("?item"):::projected v2("?itemLabel"):::projected c16(["mwapi:item"]):::iri c14(["max"]):::literal c10(["categorymembers"]):::literal c4(["en.wikipedia.org"]):::literal c21([https://en.wikipedia.org/]):::iri c2(["bd:serviceParam"]):::iri c8(["Category:Sheet music publishing companies"]):::literal c23([https://es.wikipedia.org/]):::iri c12(["page"]):::literal c18(["mwapi:title"]):::iri c6(["Generator"]):::literal c22([https://pt.wikipedia.org/]):::iri f0[["bound(?item)"]] f0 --> v1 subgraph s1["http://wikiba.se/ontology#mwapi"] style s1 stroke-width:4px; c2 --"mwapi:endpoint"--> c4 c2 --"mwapi:api"--> c6 c2 --"mwapi:gcmtitle"--> c8 c2 --"mwapi:generator"--> c10 c2 --"mwapi:gcmtype"--> c12 c2 --"mwapi:gcmlimit"--> c14 v1 --"mwapi:apiOutputItem"--> c16 v2 --"mwapi:apiOutput"--> c18 end subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v3 -."schema:about".-> v1 v3 --"schema:isPartOf"--> c21 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v4 -."schema:about".-> v1 v4 --"schema:isPartOf"--> c22 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v5 -."schema:about".-> v1 v5 --"schema:isPartOf"--> c23 end