Simple Question (Direct)
Simple Question
Q21155405
P1427
Q20667921
USER
Where does 2016 Tour de France, Stage 19 originate from ?
(Q21155405,P1427,c(Q20667921))
action filter_type
action find
entity Q21155405
relation P1427
type Q20667921
['Q21155405', 'P1427', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { resource:Q21155405 property:P1427 ?p . ?p rdf:type ontology:Q20667921 }
2016 Tour de France, Stage 19
action filter_type
action find
entity 2016 Tour de France, Stage 19
relation start point
type type of french administrative division
['2016 Tour de France, Stage 19', 'start point', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { resource:2016_Tour_de_France,_Stage_19 property:start_point ?p . ?p rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q159469
SYSTEM
Albertville
Q159469
(Q21155405,P1427,c(Q20667921))
action filter_type
action find
entity Q21155405
relation P1427
type Q20667921
2016 Tour de France , Stage 19 originates from the [ANSWER]
['Q21155405', 'P1427', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { resource:Q21155405 property:P1427 ?p . ?p rdf:type ontology:Q20667921 }
Albertville
2016 Tour de France , Stage 19 originates from the Albertville
Albertville
action filter_type
action find
entity 2016 Tour de France, Stage 19
relation start point
type type of french administrative division
['2016 Tour de France, Stage 19', 'start point', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { resource:2016_Tour_de_France,_Stage_19 property:start_point ?p . ?p rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q159469
P47
Q20667921
USER
Which french administrative divisions are bordered by that one ?
(Q159469,P47,c(Q20667921))
action filter_type
action find
entity Q159469
relation P47
type Q20667921
['Q159469', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q159469 property:P47 ?s . ?s rdf:type ontology:Q20667921 }
Albertville
action filter_type
action find
entity Albertville
relation shares border with
type type of french administrative division
['Albertville', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Albertville property:shares_border_with ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1231263 Q1214448 Q1222427
SYSTEM
Mercury, Queige, Gilly-sur-Isère
Q1214448 Q1231263 Q1222427 Q1217298 Q681608 Q687224 Q1231187 Q1214383
(Q159469,P47,c(Q20667921))
action filter_type
action find
entity Q159469
relation P47
type Q20667921
[ANSWERS] are bordered by that one
['Q159469', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q159469 property:P47 ?s . ?s rdf:type ontology:Q20667921 }
Queige Mercury Gilly-sur-Isère Venthon Esserts-Blay Grignon Pallud Tours-en-Savoie
Mercury, Queige and Gilly-sur-Isère are bordered by that one
Mercury Queige Gilly-sur-Isère
action filter_type
action find
entity Albertville
relation shares border with
type type of french administrative division
['Albertville', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Albertville property:shares_border_with ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q214540 Q159469
P47
Q20667921
USER
Or Pontarlier?
OR((Q159469,P47,c(Q20667921)), (Q214540,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q159469
relation P47
action find
entity Q214540
relation P47
type Q20667921
{'OR': [['Q159469', 'P47', {'concept': 'Q20667921'}], ['Q214540', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?x WHERE { { ?s property:P47 ?x . VALUES ( ?s ) { ( resource:Q159469 ) ( resource:Q214540 ) } } . ?x rdf:type ontology:Q20667921 }
Pontarlier Albertville
action filter_type
action union
action find
entity Albertville
relation shares border with
action find
entity Pontarlier
relation shares border with
type type of french administrative division
{'OR': [['Albertville', 'shares border with', {'concept': 'type of french administrative division'}], ['Pontarlier', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?x WHERE { { ?s property:shares_border_with ?x . VALUES ( ?s ) { ( resource:Albertville ) ( resource:Pontarlier ) } } . ?x rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q687224 Q1214448 Q681608 Q1222427 Q382541 Q187671 Q1214383 Q909155 Q1231187 Q719141
SYSTEM
Some of them are Grignon, Queige, Esserts-Blay, Gilly-sur-Isère, Doubs, La Cluse-et-Mijoux, Tours-en-Savoie, Houtaud, Pallud, Arçon
Q906727 Q382541 Q1214448 Q1231263 Q1217298 Q837461 Q1222427 Q909977 Q909155 Q838861 Q687224 Q719141 Q1231187 Q1214383 Q187671 Q923439 Q681608
OR((Q159469,P47,c(Q20667921)), (Q214540,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q159469
relation P47
action find
entity Q214540
relation P47
type Q20667921
[ANSWERS]
{'OR': [['Q159469', 'P47', {'concept': 'Q20667921'}], ['Q214540', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?x WHERE { { ?s property:P47 ?x . VALUES ( ?s ) { ( resource:Q159469 ) ( resource:Q214540 ) } } . ?x rdf:type ontology:Q20667921 }
Maisons-du-Bois-Lièvremont Doubs Queige Mercury Venthon Les Alliés Gilly-sur-Isère Granges-Narboz Houtaud Dommartin Grignon Arçon Pallud Tours-en-Savoie La Cluse-et-Mijoux Verrières-de-Joux Esserts-Blay
Grignon Queige Esserts-Blay Gilly-sur-Isère Doubs La Cluse-et-Mijoux Tours-en-Savoie Houtaud Pallud Arçon
action filter_type
action union
action find
entity Albertville
relation shares border with
action find
entity Pontarlier
relation shares border with
type type of french administrative division
{'OR': [['Albertville', 'shares border with', {'concept': 'type of french administrative division'}], ['Pontarlier', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?x WHERE { { ?s property:shares_border_with ?x . VALUES ( ?s ) { ( resource:Albertville ) ( resource:Pontarlier ) } } . ?x rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q382541
P17
Q15617994
USER
How many administrative territories are Doubs a part of ?
(Q382541,P17,c(Q15617994))
action count
action filter_type
action find
entity Q382541
relation P17
type Q15617994
['Q382541', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { ?d rdf:type ontology:Q15617994 . resource:Q382541 property:P17 ?d }
Doubs
action count
action filter_type
action find
entity Doubs
relation country
type designation for an administrative territorial entity
['Doubs', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Doubs property:country ?d }
[]
designation for an administrative territorial entity
SYSTEM
1
Q142
(Q382541,P17,c(Q15617994))
action count
action filter_type
action find
entity Q382541
relation P17
type Q15617994
[ANSWER]
['Q382541', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { ?d rdf:type ontology:Q15617994 . resource:Q382541 property:P17 ?d }
France
1
action count
action filter_type
action find
entity Doubs
relation country
type designation for an administrative territorial entity
['Doubs', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Doubs property:country ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q382541
P19
Q502895
USER
Who has location of birth at that french administrative division ?
action filter_type
action find_reverse
entity Q382541
relation P19
type Q502895
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P19 resource:Q382541 }
Doubs
action filter_type
action find_reverse
entity Doubs
relation place of birth
type common name
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:place_of_birth resource:Doubs }
[]
common name
Q907419
SYSTEM
Jacques-Joseph Ebelmen
Q907419
action filter_type
action find_reverse
entity Q382541
relation P19
type Q502895
[ANSWER] has location of birth at that french administrative division
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P19 resource:Q382541 }
Jacques-Joseph Ebelmen
Jacques-Joseph Ebelmen has location of birth at that french administrative division
Jacques-Joseph Ebelmen
action filter_type
action find_reverse
entity Doubs
relation place of birth
type common name
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:place_of_birth resource:Doubs }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P138
Q34442
USER
How many roads are named after that person ?
(c(Q34442),P138,Q907419)
action count
action filter_type
action find_reverse
entity Q907419
relation P138
type Q34442
[{'concept': 'Q34442'}, 'P138', 'Q907419']
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:P138 resource:Q907419 . ?e rdf:type ontology:Q34442 }
action count
action filter_type
action find_reverse
entity Jacques-Joseph Ebelmen
relation named after
type road
[{'concept': 'road'}, 'named after', 'Jacques-Joseph Ebelmen']
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:named_after resource:Jacques-Joseph_Ebelmen . ?e rdf:type ontology:road }
[]
road
SYSTEM
1
Q3447773
(c(Q34442),P138,Q907419)
action count
action filter_type
action find_reverse
entity Q907419
relation P138
type Q34442
[ANSWER]
[{'concept': 'Q34442'}, 'P138', 'Q907419']
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:P138 resource:Q907419 . ?e rdf:type ontology:Q34442 }
rue Ebelmen
1
action count
action filter_type
action find_reverse
entity Jacques-Joseph Ebelmen
relation named after
type road
[{'concept': 'road'}, 'named after', 'Jacques-Joseph Ebelmen']
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:named_after resource:Jacques-Joseph_Ebelmen . ?e rdf:type ontology:road }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q325445 Q1222427
P47
Q20667921
USER
Which french administrative divisions are bordered by Gilly-sur-Isère or Le Mayet-de-Montagne ?
OR((c(Q20667921),P47,Q1222427), (c(Q20667921),P47,Q325445))
action filter_type
action union
action find_reverse
entity Q1222427
relation P47
action find_reverse
entity Q325445
relation P47
type Q20667921
{'OR': [[{'concept': 'Q20667921'}, 'P47', 'Q1222427'], [{'concept': 'Q20667921'}, 'P47', 'Q325445']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q20667921 . { VALUES ( ?h ) { ( resource:Q1222427 ) ( resource:Q325445 ) } . ?y property:P47 ?h } }
Le Mayet-de-Montagne Gilly-sur-Isère
action filter_type
action union
action find_reverse
entity Gilly-sur-Isère
relation shares border with
action find_reverse
entity Le Mayet-de-Montagne
relation shares border with
type type of french administrative division
{'OR': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Gilly-sur-Isère'], [{'concept': 'type of french administrative division'}, 'shares border with', 'Le Mayet-de-Montagne']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:type_of_french_administrative_division . { VALUES ( ?h ) { ( resource:Gilly-sur-Isère ) ( resource:Le_Mayet-de-Montagne ) } . ?y property:shares_border_with ?h } }
[]
type of french administrative division
Q243615 Q845255 Q379198 Q1231263 Q767615 Q868008 Q967469 Q244010 Q1216951 Q159469
SYSTEM
Some of them are Saint-Clément, Châtel-Montagne, Nizerolles, Mercury, Monthion, La Chapelle, Verrens-Arvey, Ferrières-sur-Sichon, Tournon, Albertville
Q767615 Q159469 Q841439 Q845255 Q687224 Q868008 Q243615 Q1231263 Q1216951 Q967469 Q1214526 Q379198 Q244010
OR((c(Q20667921),P47,Q1222427), (c(Q20667921),P47,Q325445))
action filter_type
action union
action find_reverse
entity Q1222427
relation P47
action find_reverse
entity Q325445
relation P47
type Q20667921
[ANSWERS] are bordered by Gilly-sur-Isère or Le Mayet-de-Montagne
{'OR': [[{'concept': 'Q20667921'}, 'P47', 'Q1222427'], [{'concept': 'Q20667921'}, 'P47', 'Q325445']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q20667921 . { VALUES ( ?h ) { ( resource:Q1222427 ) ( resource:Q325445 ) } . ?y property:P47 ?h } }
Monthion Albertville Arronnes Châtel-Montagne Grignon La Chapelle Saint-Clément Mercury Tournon Verrens-Arvey Notre-Dame-des-Millières Nizerolles Ferrières-sur-Sichon
Saint-Clément, Châtel-Montagne, Nizerolles, Mercury, Monthion, La Chapelle, Verrens-Arvey, Ferrières-sur-Sichon, Tournon and Albertville are bordered by Gilly-sur-Isère or Le Mayet-de-Montagne
Saint-Clément Châtel-Montagne Nizerolles Mercury Monthion La Chapelle Verrens-Arvey Ferrières-sur-Sichon Tournon Albertville
action filter_type
action union
action find_reverse
entity Gilly-sur-Isère
relation shares border with
action find_reverse
entity Le Mayet-de-Montagne
relation shares border with
type type of french administrative division
{'OR': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Gilly-sur-Isère'], [{'concept': 'type of french administrative division'}, 'shares border with', 'Le Mayet-de-Montagne']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:type_of_french_administrative_division . { VALUES ( ?h ) { ( resource:Gilly-sur-Isère ) ( resource:Le_Mayet-de-Montagne ) } . ?y property:shares_border_with ?h } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1376
Q20667921 Q515
USER
Which cities are the capital of exactly 26 french administrative divisions ?
(c(Q515),P1376,c(Q20667921))
action equal
action find_tuple_counts
relation P1376
type Q515
type Q20667921
value 26
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?h ) WHERE { ?m property:P1376 ?o . ?m rdf:type ontology:Q515 . ?o rdf:type ontology:Q20667921 } GROUP BY ?m } . FILTER ( ?h = 26 ) }
action equal
action find_tuple_counts
relation capital of
type city
type type of french administrative division
value 26
[{'concept': 'city'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?h ) WHERE { ?m property:capital_of ?o . ?m rdf:type ontology:city . ?o rdf:type ontology:type_of_french_administrative_division } GROUP BY ?m } . FILTER ( ?h = 26 ) }
[]
type of french administrative division city
Q23482
SYSTEM
Marseille
Q23482
(c(Q515),P1376,c(Q20667921))
action equal
action find_tuple_counts
relation P1376
type Q515
type Q20667921
value 26
[ANSWER] is the capital of exactly 26 french administrative divisions
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?h ) WHERE { ?m property:P1376 ?o . ?m rdf:type ontology:Q515 . ?o rdf:type ontology:Q20667921 } GROUP BY ?m } . FILTER ( ?h = 26 ) }
Marseille
Marseille is the capital of exactly 26 french administrative divisions
Marseille
action equal
action find_tuple_counts
relation capital of
type city
type type of french administrative division
value 26
[{'concept': 'city'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?h ) WHERE { ?m property:capital_of ?o . ?m rdf:type ontology:city . ?o rdf:type ontology:type_of_french_administrative_division } GROUP BY ?m } . FILTER ( ?h = 26 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159469
P190
Q56061
USER
Which administrative territory is twin town of Albertville ?
(Q159469,P190,c(Q56061))
action filter_type
action find
entity Q159469
relation P190
type Q56061
['Q159469', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q159469 property:P190 ?a . ?a rdf:type ontology:Q56061 }
Albertville
action filter_type
action find
entity Albertville
relation sister city
type administrative territorial entity
['Albertville', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Albertville property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q82741
SYSTEM
Winnenden
Q82741
(Q159469,P190,c(Q56061))
action filter_type
action find
entity Q159469
relation P190
type Q56061
In [ANSWER] is twin town of Albertville
['Q159469', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q159469 property:P190 ?a . ?a rdf:type ontology:Q56061 }
Winnenden
In Winnenden is twin town of Albertville
Winnenden
action filter_type
action find
entity Albertville
relation sister city
type administrative territorial entity
['Albertville', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Albertville property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q159469
P931
Q811979
USER
Which architectural structure is served by that french administrative division ?
(c(Q811979),P931,Q82741)
action filter_type
action find_reverse
entity Q159469
relation P931
type Q811979
[{'concept': 'Q811979'}, 'P931', 'Q82741']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q811979 . ?r property:P931 resource:Q159469 }
Albertville
action filter_type
action find_reverse
entity Albertville
relation place served by airport
type architectural structure
[{'concept': 'architectural structure'}, 'place served by airport', 'Winnenden']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:architectural_structure . ?r property:place_served_by_airport resource:Albertville }
[]
architectural structure
Q2875361
SYSTEM
Albertville Aerodrome
Q2875361
(c(Q811979),P931,Q82741)
action filter_type
action find_reverse
entity Q159469
relation P931
type Q811979
[ANSWER] is served by that french administrative division
[{'concept': 'Q811979'}, 'P931', 'Q82741']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q811979 . ?r property:P931 resource:Q159469 }
Albertville Aerodrome
Albertville Aerodrome is served by that french administrative division
Albertville Aerodrome
action filter_type
action find_reverse
entity Albertville
relation place served by airport
type architectural structure
[{'concept': 'architectural structure'}, 'place served by airport', 'Winnenden']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:architectural_structure . ?r property:place_served_by_airport resource:Albertville }
[]