query-2f9072d24aeeab9a3ce9dbbbdc66e6f7

rq turtle/ttl

Inner join from two values. However so far no luck. I have tried the following with a subquery, but it times out. Any solution? (Q19987682)Andromedes 1 (Pauly-Wissowa) string of (P1476)title match the (P1343)described by source show up in a query, because the string qualifier of (Q18281870)Andromedes Hello, I'm trying to have

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
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/>
SELECT ?candidate ?REArticle


WHERE {
   {
  SELECT ?candidate ?REArticle WHERE {
    ?candidate p:P1343 [ ps:P1343 wd:Q1138524 ;
                                  pq:P958 ?REArticle ] .
  }
}.
  ?item wdt:P31 wd:Q13433827 ;
        wdt:P361 wd:Q1138524 ;
        wdt:P1476 ?title .
  FILTER (?REArticle = ?title ) .
}
ORDER BY ?itemLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?REArticle"):::projected v4("?candidate"):::projected v5("?item") v1("?itemLabel") v3("?title") a1((" ")) c2(["wd:Q1138524"]):::iri c6(["wd:Q13433827"]):::iri f0[["?REArticle = ?title"]] f0 --> v2 f0 --> v3 a1 --"p:statement/P1343"--> c2 a1 --"p:qualifier/P958"--> v2 v4 --"p:P1343"--> a1 v5 --"p:direct/P31"--> c6 v5 --"p:direct/P361"--> c2 v5 --"p:direct/P1476"--> v3