query-6b27e475236eff6ef3b1b711ddd0a37a

rq turtle/ttl

TODO

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?pages WHERE
{
   {
  SELECT ?item ?pages
WHERE 
{
  ?item wdt:P304 ?pages.
  filter(contains(?pages,","))
#  filter(regex(?pages,"[a-zA-Z]"))
} limit 10 }  ?item wdt:P356 ?doi.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?doi") v2("?item"):::projected v1("?pages"):::projected c5(["bd:serviceParam"]):::iri c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal f0[["contains(?pages,',')"]] f0 --> v1 v2 --"wdt:P304"--> v1 v2 --"wdt:P356"--> v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end