query-0a9bdd38e82f3ef857063c56bc73d983
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
- https://query.wikidata.org/sparql
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. }
}