query-99783c28899eddfbecf82f1b9b74a1fb
Female lines descended from Elizabeth II (Q9682) SELECT ?child ?childLabel ?mother ?motherLabel ?depth WHERE { SERVICE gas:service { gas:program gas:gasClass "com.bigdata.rdf.graph.analytics.BFS" ; gas:in wd:Q9682 ; gas:linkType wdt:P25 ; gas:traversalDirection "Reverse"; gas:out ?child ; gas:out1 ?depth ; gas:out2 ?mother . }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } } order by ?depth Female lines descended from Elizabeth II (Q9682) SELECT ?child ?childLabel ?mother ?motherLabel ?depth WHERE { SERVICE gas:service { gas:program gas:gasClass "com.bigdata.rdf.graph.analytics.BFS" ; gas:in wd:Q9682 ; gas:linkType wdt:P25 ; gas:traversalDirection "Reverse"; gas:out ?child ; gas:out1 ?depth ; gas:out2 ?mother . }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } } order by ?depth Female lines descended from Elizabeth II (Q9682) SELECT ?child ?childLabel ?mother ?motherLabel ?depth WHERE { SERVICE gas:service { gas:program gas:gasClass "com.bigdata.rdf.graph.analytics.BFS" ; gas:in wd:Q9682 ; gas:linkType wdt:P25 ; gas:traversalDirection "Reverse"; gas:out ?child ; gas:out1 ?depth ; gas:out2 ?mother . }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } } order by ?depth Female lines descended from Elizabeth II (Q9682) SELECT ?child ?childLabel ?mother ?motherLabel ?depth WHERE { SERVICE gas:service { gas:program gas:gasClass "com.bigdata.rdf.graph.analytics.BFS" ; gas:in wd:Q9682 ; gas:linkType wdt:P25 ; gas:traversalDirection "Reverse"; gas:out ?child ; gas:out1 ?depth ; gas:out2 ?mother . }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } } order by ?depth Female lines descended from Elizabeth II (Q9682) SELECT ?child ?childLabel ?mother ?motherLabel ?depth WHERE { SERVICE gas:service { gas:program gas:gasClass "com.bigdata.rdf.graph.analytics.BFS" ; gas:in wd:Q9682 ; gas:linkType wdt:P25 ; gas:traversalDirection "Reverse"; gas:out ?child ; gas:out1 ?depth ; gas:out2 ?mother . }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } } order by ?depth Female lines descended from Elizabeth II (Q9682) SELECT ?child ?childLabel ?mother ?motherLabel ?depth WHERE { SERVICE gas:service { gas:program gas:gasClass "com.bigdata.rdf.graph.analytics.BFS" ; gas:in wd:Q9682 ; gas:linkType wdt:P25 ; gas:traversalDirection "Reverse"; gas:out ?child ; gas:out1 ?depth ; gas:out2 ?mother . }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } } order by ?depth Female lines descended from Elizabeth II (Q9682) SELECT ?child ?childLabel ?mother ?motherLabel ?depth WHERE { SERVICE gas:service { gas:program gas:gasClass "com.bigdata.rdf.graph.analytics.BFS" ; gas:in wd:Q9682 ; gas:linkType wdt:P25 ; gas:traversalDirection "Reverse"; gas:out ?child ; gas:out1 ?depth ; gas:out2 ?mother . }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } } order by ?depth Female lines descended from Elizabeth II (Q9682) SELECT ?child ?childLabel ?mother ?motherLabel ?depth WHERE { SERVICE gas:service { gas:program gas:gasClass "com.bigdata.rdf.graph.analytics.BFS" ; gas:in wd:Q9682 ; gas:linkType wdt:P25 ; gas:traversalDirection "Reverse"; gas:out ?child ; gas:out1 ?depth ; gas:out2 ?mother . }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } } order by ?depth
Use at
- https://query.wikidata.org/sparql
PREFIX gas: <http://www.bigdata.com/rdf/gas#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
# Female lines descended from Elizabeth II (Q9682)
SELECT ?child ?childLabel ?mother ?motherLabel ?depth WHERE
{
SERVICE gas:service {
gas:program gas:gasClass "com.bigdata.rdf.graph.analytics.BFS" ; gas:in wd:Q9682 ; gas:linkType wdt:P25 ; gas:traversalDirection "Reverse"; gas:out ?child ; gas:out1 ?depth ; gas:out2 ?mother .
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
} order by ?depth
Query found at
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization/en
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization/fr
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization/hy
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization/nl
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization/pt
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization/ru
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization/uk
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization/zh