query-0a9bdd38e82f3ef857063c56bc73d983

rq turtle/ttl

Including items with identifiers in deprecated rank. There are two issues I have currently: (P2276)UEFA player ID , which retrieves information on items given this queryHello, requesting help with a modification to , but will not currently show up in the query as no enwiki article exists now.250063390 has the ID of (Q64358859)Alexander Marxer Could the query be modified so that I can still get the Wikidata item even if there is no English Wikipedia article? For example, , which is deprecated as it now returns a 404. Currently the query returns nothing for this player.64309 has the ID of (Q4399128)Noemí Rubio Gil ? For example, (P2276)UEFA player ID Is it possible to also include items which have a deprecated rank for 18:27, 30 July 2019 (UTC)) talk (S.A. JulioAny assistance would be appreciated. Thanks,

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX schema: <http://schema.org/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?WDitem ?identifier ?WPtitle ?WPlink ?rank 
WHERE 
{
      VALUES ?identifier { '94362' '63706' '250063390' '64309' }
      ?WDitem p:P2276 [ ps:P2276 ?identifier ; wikibase:rank ?rank ]
      # ?WDitem p:P2276/ps:P2276 ?identifier
      # ?WDitem p:P2276 ?st . ?st ps:P2276 ?identifier
      OPTIONAL { ?WPlink schema:about ?WDitem; schema:isPartOf <https://en.wikipedia.org/>; schema:name ?WPtitle. }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?WDitem"):::projected v4("?WPlink"):::projected v5("?WPtitle"):::projected v1("?identifier"):::projected v2("?rank"):::projected a1((" ")) c6([https://en.wikipedia.org/]):::iri bind0[/VALUES ?identifier/] bind0-->v1 bind00(["94362"]) bind00 --> bind0 bind01(["63706"]) bind01 --> bind0 bind02(["250063390"]) bind02 --> bind0 bind03(["64309"]) bind03 --> bind0 a1 --"p:statement/P2276"--> v1 a1 --"wikibase:rank"--> v2 v3 --"p:P2276"--> a1 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v4 -."schema:about".-> v3 v4 --"schema:isPartOf"--> c6 v4 --"schema:name"--> v5 end