Simple Question (Direct)
Simple Question
Q657312
P20
Q20667921
USER
Where did the demise of Albert Gisclard occur ?
(Q657312,P20,c(Q20667921))
action filter_type
action find
entity Q657312
relation P20
type Q20667921
['Q657312', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q657312 property:P20 ?k . ?k rdf:type ontology:Q20667921 }
Albert Gisclard
action filter_type
action find
entity Albert Gisclard
relation place of death
type type of french administrative division
['Albert Gisclard', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:Albert_Gisclard property:place_of_death ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1445541
SYSTEM
Sauto
Q1445541
(Q657312,P20,c(Q20667921))
action filter_type
action find
entity Q657312
relation P20
type Q20667921
The demise of Albert Gisclard occurred in [ANSWER]
['Q657312', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q657312 property:P20 ?k . ?k rdf:type ontology:Q20667921 }
Sauto
The demise of Albert Gisclard occurred in Sauto
Sauto
action filter_type
action find
entity Albert Gisclard
relation place of death
type type of french administrative division
['Albert Gisclard', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:Albert_Gisclard property:place_of_death ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1445541
P47
Q20667921
USER
Which french administrative divisions are bordered by that one ?
(c(Q20667921),P47,Q1445541)
action filter_type
action find
entity Q1445541
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q1445541']
SELECT DISTINCT ?f WHERE { resource:Q1445541 property:P47 ?f . ?f rdf:type ontology:Q20667921 }
Sauto
action filter_type
action find
entity Sauto
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Sauto']
SELECT DISTINCT ?f WHERE { resource:Sauto property:shares_border_with ?f . ?f rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1093130 Q603348 Q1163153
SYSTEM
Fontpédrouse, Canaveilles, La Llagonne
Q524705 Q603348 Q1093162 Q190144 Q1163153 Q190480 Q1093130 Q622422
(c(Q20667921),P47,Q1445541)
action filter_type
action find
entity Q1445541
relation P47
type Q20667921
[ANSWERS] are bordered by that one
[{'concept': 'Q20667921'}, 'P47', 'Q1445541']
SELECT DISTINCT ?f WHERE { resource:Q1445541 property:P47 ?f . ?f rdf:type ontology:Q20667921 }
Planès Canaveilles Ayguatébia-Talau La Cabanasse La Llagonne Saint-Pierre-dels-Forcats Fontpédrouse Mont-Louis
Fontpédrouse, Canaveilles and La Llagonne are bordered by that one
Fontpédrouse Canaveilles La Llagonne
action filter_type
action find
entity Sauto
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Sauto']
SELECT DISTINCT ?f WHERE { resource:Sauto property:shares_border_with ?f . ?f rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1445541
P47
Q20667921
USER
Are Sauto next to the border of those ones ?
(Q1445541,P47,Q1093130) (Q1445541,P47,Q603348) (Q1445541,P47,Q1163153)
action is_in
entity prev_answer
action find
entity Q1445541
relation P47
['Q1445541', 'P47', 'Q1093130'] ['Q1445541', 'P47', 'Q603348'] ['Q1445541', 'P47', 'Q1163153']
ASK WHERE { resource:Q1445541 property:P47 ?z . VALUES ( ?z ) { ( resource:Q524705 ) ( resource:Q603348 ) ( resource:Q1093162 ) } }
Sauto
action is_in
entity prev_answer
action find
entity Sauto
relation shares border with
['Sauto', 'shares border with', 'Fontpédrouse'] ['Sauto', 'shares border with', 'Canaveilles'] ['Sauto', 'shares border with', 'La Llagonne']
ASK WHERE { resource:Sauto property:shares_border_with ?z . VALUES ( ?z ) { ( resource:Planès ) ( resource:Canaveilles ) ( resource:Ayguatébia-Talau ) } }
[]
type of french administrative division
SYSTEM
YES
(Q1445541,P47,Q1093130) (Q1445541,P47,Q603348) (Q1445541,P47,Q1163153)
action is_in
entity prev_answer
action find
entity Q1445541
relation P47
[ANSWER]
['Q1445541', 'P47', 'Q1093130'] ['Q1445541', 'P47', 'Q603348'] ['Q1445541', 'P47', 'Q1163153']
ASK WHERE { resource:Q1445541 property:P47 ?z . VALUES ( ?z ) { ( resource:Q524705 ) ( resource:Q603348 ) ( resource:Q1093162 ) } }
Yes
action is_in
entity prev_answer
action find
entity Sauto
relation shares border with
['Sauto', 'shares border with', 'Fontpédrouse'] ['Sauto', 'shares border with', 'Canaveilles'] ['Sauto', 'shares border with', 'La Llagonne']
ASK WHERE { resource:Sauto property:shares_border_with ?z . VALUES ( ?z ) { ( resource:Planès ) ( resource:Canaveilles ) ( resource:Ayguatébia-Talau ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1093130 Q48928
P47
Q13220204
USER
How many administrative country subdivisions are next to the border of Fontpédrouse or Vaksdal ?
(c(Q13220204),P47,Q1093130) (c(Q13220204),P47,Q48928)
action count
action union
action filter_type
action find_reverse
entity Q1093130
relation P47
type Q13220204
action filter_type
action find_reverse
entity Q48928
relation P47
type Q13220204
[{'concept': 'Q13220204'}, 'P47', 'Q1093130'] [{'concept': 'Q13220204'}, 'P47', 'Q48928']
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { ?m property:P47 resource:Q48928 . ?m rdf:type ontology:Q13220204 } UNION { ?m property:P47 resource:Q1093130 . ?m rdf:type ontology:Q13220204 } }
Fontpédrouse Vaksdal
action count
action union
action filter_type
action find_reverse
entity Fontpédrouse
relation shares border with
type second-level administrative country subdivision
action filter_type
action find_reverse
entity Vaksdal
relation shares border with
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Fontpédrouse'] [{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Vaksdal']
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { ?m property:shares_border_with resource:Vaksdal . ?m rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?m property:shares_border_with resource:Fontpédrouse . ?m rdf:type ontology:second-level_administrative_country_subdivision } }
[]
second-level administrative country subdivision
SYSTEM
7
Q488067 Q303521 Q109031 Q487529 Q202605 Q488234 Q113682
(c(Q13220204),P47,Q1093130) (c(Q13220204),P47,Q48928)
action count
action union
action filter_type
action find_reverse
entity Q1093130
relation P47
type Q13220204
action filter_type
action find_reverse
entity Q48928
relation P47
type Q13220204
[ANSWER]
[{'concept': 'Q13220204'}, 'P47', 'Q1093130'] [{'concept': 'Q13220204'}, 'P47', 'Q48928']
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { ?m property:P47 resource:Q48928 . ?m rdf:type ontology:Q13220204 } UNION { ?m property:P47 resource:Q1093130 . ?m rdf:type ontology:Q13220204 } }
Osterøy Vik Voss Kvam Modalen Samnanger Lindås
7
action count
action union
action filter_type
action find_reverse
entity Fontpédrouse
relation shares border with
type second-level administrative country subdivision
action filter_type
action find_reverse
entity Vaksdal
relation shares border with
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Fontpédrouse'] [{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Vaksdal']
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { ?m property:shares_border_with resource:Vaksdal . ?m rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?m property:shares_border_with resource:Fontpédrouse . ?m rdf:type ontology:second-level_administrative_country_subdivision } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q16898457
P1376
Q20667921 Q486972
USER
Which human settlements are center of administration for greater number of french administrative divisions than Corabia ?
(c(Q486972),P1376,c(Q20667921))
action greater
action find_tuple_counts
relation P1376
type Q486972
type Q20667921
action count
action filter_type
action find
entity Q16898457
relation P1376
type Q486972
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?x ) WHERE { ?o property:P1376 ?d . ?o rdf:type ontology:Q486972 . ?d rdf:type ontology:Q20667921 } GROUP BY ?o } . FILTER ( ?x > ?q ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Q16898457 property:P1376 ?c . ?c rdf:type ontology:Q486972 } } }
Corabia
action greater
action find_tuple_counts
relation capital of
type human settlement
type type of french administrative division
action count
action filter_type
action find
entity Corabia
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?x ) WHERE { ?o property:capital_of ?d . ?o rdf:type ontology:human_settlement . ?d rdf:type ontology:type_of_french_administrative_division } GROUP BY ?o } . FILTER ( ?x > ?q ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Corabia property:capital_of ?c . ?c rdf:type ontology:human_settlement } } }
[]
type of french administrative division human settlement
Q150039 Q323593 Q30940
SYSTEM
Neuf-Brisach, Vitry-en-Artois, Albert
Q150039 Q323593 Q30940
(c(Q486972),P1376,c(Q20667921))
action greater
action find_tuple_counts
relation P1376
type Q486972
type Q20667921
action count
action filter_type
action find
entity Q16898457
relation P1376
type Q486972
[ANSWERS] are center of administration for greater number of french administrative divisions than Corabia
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?x ) WHERE { ?o property:P1376 ?d . ?o rdf:type ontology:Q486972 . ?d rdf:type ontology:Q20667921 } GROUP BY ?o } . FILTER ( ?x > ?q ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Q16898457 property:P1376 ?c . ?c rdf:type ontology:Q486972 } } }
Neuf-Brisach Vitry-en-Artois Albert
Neuf-Brisach, Vitry-en-Artois and Albert are center of administration for greater number of french administrative divisions than Corabia
Neuf-Brisach Vitry-en-Artois Albert
action greater
action find_tuple_counts
relation capital of
type human settlement
type type of french administrative division
action count
action filter_type
action find
entity Corabia
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?x ) WHERE { ?o property:capital_of ?d . ?o rdf:type ontology:human_settlement . ?d rdf:type ontology:type_of_french_administrative_division } GROUP BY ?o } . FILTER ( ?x > ?q ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Corabia property:capital_of ?c . ?c rdf:type ontology:human_settlement } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P19
Q502895
USER
How many people have location of birth at that human settlement ?
(c(Q502895),P19,Q323593)
[{'concept': 'Q502895'}, 'P19', 'Q323593']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q323593 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'place of birth', 'Vitry-en-Artois']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Vitry-en-Artois . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q150039
SYSTEM
Did you mean Neuf-Brisach ?
(c(Q502895),P19,Q150039) (c(Q502895),P19,Q323593) (c(Q502895),P19,Q30940)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q150039'] [{'concept': 'Q502895'}, 'P19', 'Q323593'] [{'concept': 'Q502895'}, 'P19', 'Q30940']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q323593 . ?z rdf:type ontology:Q502895 }
Did you mean Neuf-Brisach ?
Neuf-Brisach
[{'concept': 'common name'}, 'place of birth', 'Neuf-Brisach'] [{'concept': 'common name'}, 'place of birth', 'Vitry-en-Artois'] [{'concept': 'common name'}, 'place of birth', 'Albert']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Vitry-en-Artois . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Vitry-en-Artois. Could you tell me the answer for that?
(c(Q502895),P19,Q323593)
Q323593
[{'concept': 'Q502895'}, 'P19', 'Q323593']
[{'concept': 'common name'}, 'place of birth', 'Vitry-en-Artois']
[]
SYSTEM
3
Q3288399 Q311766 Q3105792
(c(Q502895),P19,Q323593)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q323593']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q323593 . ?z rdf:type ontology:Q502895 }
Marc Silvert Philippe de Vitry Gilbert Mathon
3
[{'concept': 'common name'}, 'place of birth', 'Vitry-en-Artois']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Vitry-en-Artois . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30940
P190
Q56061
USER
Which administrative territories are sister town of Albert ?
(c(Q56061),P190,Q30940)
action filter_type
action find
entity Q30940
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q30940']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q30940 property:P190 ?r }
Albert
action filter_type
action find
entity Albert
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Albert']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Albert property:sister_city ?r }
[]
administrative territorial entity
Q165160 Q979357
SYSTEM
Niesky, Ulverston
Q165160 Q979357
(c(Q56061),P190,Q30940)
action filter_type
action find
entity Q30940
relation P190
type Q56061
[ANSWERS] are sister town of Albert
[{'concept': 'Q56061'}, 'P190', 'Q30940']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q30940 property:P190 ?r }
Niesky Ulverston
Niesky and Ulverston are sister town of Albert
Niesky Ulverston
action filter_type
action find
entity Albert
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Albert']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Albert property:sister_city ?r }
[]
Clarification
Simple Question|Single Entity|Indirect
Q979357
P17
Q15617994
USER
Which administrative territory is that administrative territory present in ?
(Q979357,P17,c(Q15617994))
action filter_type
action find
entity Q979357
relation P17
type Q15617994
['Q979357', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q979357 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Ulverston
action filter_type
action find
entity Ulverston
relation country
type designation for an administrative territorial entity
['Ulverston', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Ulverston property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q979357
SYSTEM
Did you mean Ulverston ?
Q165160 Q979357
(Q165160,P17,c(Q15617994)) (Q979357,P17,c(Q15617994))
[ANSWER]
['Q165160', 'P17', {'concept': 'Q15617994'}] ['Q979357', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q979357 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Niesky Ulverston
Did you mean Ulverston ?
Ulverston
['Niesky', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Ulverston', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Ulverston property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q979357,P17,c(Q15617994))
['Q979357', 'P17', {'concept': 'Q15617994'}]
['Ulverston', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q145
SYSTEM
United Kingdom
Q145
(Q979357,P17,c(Q15617994))
action filter_type
action find
entity Q979357
relation P17
type Q15617994
That administrative territory is the [ANSWER]
['Q979357', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q979357 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
United Kingdom
That administrative territory is the United Kingdom
United Kingdom
action filter_type
action find
entity Ulverston
relation country
type designation for an administrative territorial entity
['Ulverston', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Ulverston property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]