query-27de5d5231f4373f56536b3034281f74

rq turtle/ttl

title:items having author (P50) José Luis Ortiz Moreno (Q601340) showing stated as (P1932) to be "Eduardo Moreno". SELECT ?item ?itemLabel ?stated WHERE { ?item p:P50 ?stat . ?stat ps:P50 wd:Q601340. ?stat pq:P1932 ?stated. FILTER(?stated="Eduardo Moreno") SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#title:items having author (P50) José Luis Ortiz Moreno (Q601340) showing stated as (P1932) to be "Eduardo Moreno".
SELECT ?item ?itemLabel ?stated
WHERE 
{
  ?item p:P50 ?stat . 
  ?stat ps:P50 wd:Q601340.
  ?stat pq:P1932 ?stated.
  FILTER(?stated="Eduardo Moreno")
  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; v2("?item"):::projected v3("?stat") v1("?stated"):::projected c4(["wd:Q601340"]):::iri c7(["bd:serviceParam"]):::iri c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal f0[["?stated = 'Eduardo Moreno'"]] f0 --> v1 v2 --"p:P50"--> v3 v3 --"p:statement/P50"--> c4 v3 --"p:qualifier/P1932"--> v1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end