query-f14466fc0b51eb1e48311d6e20ae97a9
which fails with an error 500 (Error 500: HTTP 500 error making the query: Internal Server Error) While the following one gives results:
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
prefix wikibase: <http://wikiba.se/ontology#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT *
where
{
bind(<http://www.wikidata.org/entity/Q640447> as ?wikidata)
service <https://query.wikidata.org/bigdata/namespace/wdq/sparql> {
select ?p ?propLabel ?o ?oLabel
where {
<http://www.wikidata.org/entity/Q640447> ?p ?o .
?prop wikibase:directClaim ?p .
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en,fr" .
}
}
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?o"):::projected
v2("?p"):::projected
v4("?prop")
v1("?wikidata"):::projected
c5(["bd:serviceParam"]):::iri
c2([http://www.wikidata.org/entity/Q640447]):::iri
c7(["en,fr"]):::literal
bind0[/"http://www.wikidata.org/entity/Q640447"/]
bind0 --as--o v1
subgraph s1["https://query.wikidata.org/bigdata/namespace/wdq/sparql"]
style s1 stroke-width:4px;
c2 -->v2--> v3
v4 --"wikibase:directClaim"--> v2
subgraph s2["http://wikiba.se/ontology#label"]
style s2 stroke-width:4px;
c5 --"wikibase:language"--> c7
end
end