Simple Question (Direct)
Simple Question
Q3440252
P19
Q20667921
USER
Where was Roland Schmitt born ?
(Q3440252,P19,c(Q20667921))
action filter_type
action find
entity Q3440252
relation P19
type Q20667921
['Q3440252', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { resource:Q3440252 property:P19 ?r . ?r rdf:type ontology:Q20667921 }
Roland Schmitt
action filter_type
action find
entity Roland Schmitt
relation place of birth
type type of french administrative division
['Roland Schmitt', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { resource:Roland_Schmitt property:place_of_birth ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q240771
SYSTEM
Eaubonne
Q240771
(Q3440252,P19,c(Q20667921))
action filter_type
action find
entity Q3440252
relation P19
type Q20667921
Roland Schmitt was born à [ANSWER]
['Q3440252', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { resource:Q3440252 property:P19 ?r . ?r rdf:type ontology:Q20667921 }
Eaubonne
Roland Schmitt was born à Eaubonne
Eaubonne
action filter_type
action find
entity Roland Schmitt
relation place of birth
type type of french administrative division
['Roland Schmitt', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { resource:Roland_Schmitt property:place_of_birth ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q240771
P47
Q20667921
USER
Which french administrative divisions are bordered by that one ?
(c(Q20667921),P47,Q240771)
action filter_type
action find
entity Q240771
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q240771']
SELECT DISTINCT ?u WHERE { resource:Q240771 property:P47 ?u . ?u rdf:type ontology:Q20667921 }
Eaubonne
action filter_type
action find
entity Eaubonne
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Eaubonne']
SELECT DISTINCT ?u WHERE { resource:Eaubonne property:shares_border_with ?u . ?u rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q239123 Q275384 Q839549
SYSTEM
Ermont, Saint-Gratien, Soisy-sous-Montmorency
Q511192 Q839549 Q268509 Q239123 Q274218 Q275384 Q1161030
(c(Q20667921),P47,Q240771)
action filter_type
action find
entity Q240771
relation P47
type Q20667921
[ANSWERS] are bordered by that one
[{'concept': 'Q20667921'}, 'P47', 'Q240771']
SELECT DISTINCT ?u WHERE { resource:Q240771 property:P47 ?u . ?u rdf:type ontology:Q20667921 }
Margency Soisy-sous-Montmorency Saint-Prix Ermont Montlignon Saint-Gratien Andilly
Ermont, Saint-Gratien and Soisy-sous-Montmorency are bordered by that one
Ermont Saint-Gratien Soisy-sous-Montmorency
action filter_type
action find
entity Eaubonne
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Eaubonne']
SELECT DISTINCT ?u WHERE { resource:Eaubonne property:shares_border_with ?u . ?u rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q240771
P1376
Q20667921
USER
Which french administrative division has Eaubonne as its county seat ?
(Q240771,P1376,c(Q20667921))
action filter_type
action find
entity Q240771
relation P1376
type Q20667921
['Q240771', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q20667921 . resource:Q240771 property:P1376 ?c }
Eaubonne
action filter_type
action find
entity Eaubonne
relation capital of
type type of french administrative division
['Eaubonne', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:type_of_french_administrative_division . resource:Eaubonne property:capital_of ?c }
[]
type of french administrative division
Q1543245
SYSTEM
canton of Eaubonne
Q1543245
(Q240771,P1376,c(Q20667921))
action filter_type
action find
entity Q240771
relation P1376
type Q20667921
The [ANSWER] has Eaubonne as its county seat
['Q240771', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q20667921 . resource:Q240771 property:P1376 ?c }
canton of Eaubonne
The canton of Eaubonne has Eaubonne as its county seat
canton of Eaubonne
action filter_type
action find
entity Eaubonne
relation capital of
type type of french administrative division
['Eaubonne', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:type_of_french_administrative_division . resource:Eaubonne property:capital_of ?c }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that french administrative division located in ?
(Q1543245,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1543245
relation P17
type Q15617994
['Q1543245', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Q1543245 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity canton of Eaubonne
relation country
type designation for an administrative territorial entity
['canton of Eaubonne', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:canton_of_Eaubonne property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q142
(Q1543245,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1543245
relation P17
type Q15617994
[ANSWER]
['Q1543245', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Q1543245 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
France
1
action count
action filter_type
action find
entity canton of Eaubonne
relation country
type designation for an administrative territorial entity
['canton of Eaubonne', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:canton_of_Eaubonne property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q266900 Q275384
P47
Q20667921
USER
Which french administrative divisions are bordered by Saint-Gratien or Ville-di-Pietrabugno ?
OR((c(Q20667921),P47,Q275384), (c(Q20667921),P47,Q266900))
action filter_type
action union
action find_reverse
entity Q275384
relation P47
action find_reverse
entity Q266900
relation P47
type Q20667921
{'OR': [[{'concept': 'Q20667921'}, 'P47', 'Q275384'], [{'concept': 'Q20667921'}, 'P47', 'Q266900']]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q20667921 . { { ?a property:P47 resource:Q266900 } UNION { ?a property:P47 resource:Q275384 } } }
Ville-di-Pietrabugno Saint-Gratien
action filter_type
action union
action find_reverse
entity Saint-Gratien
relation shares border with
action find_reverse
entity Ville-di-Pietrabugno
relation shares border with
type type of french administrative division
{'OR': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Gratien'], [{'concept': 'type of french administrative division'}, 'shares border with', 'Ville-di-Pietrabugno']]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:type_of_french_administrative_division . { { ?a property:shares_border_with resource:Ville-di-Pietrabugno } UNION { ?a property:shares_border_with resource:Saint-Gratien } } }
[]
type of french administrative division
Q181946 Q972882 Q206961 Q839549 Q134698 Q239123 Q255105 Q259216 Q240771 Q776060
SYSTEM
Argenteuil, San-Martino-di-Lota, Épinay-sur-Seine, Soisy-sous-Montmorency, Bastia, Ermont, Enghien-les-Bains, Sannois, Eaubonne, Patrimonio
Q181946 Q972882 Q206961 Q839549 Q134698 Q239123 Q255105 Q259216 Q240771 Q776060
OR((c(Q20667921),P47,Q275384), (c(Q20667921),P47,Q266900))
action filter_type
action union
action find_reverse
entity Q275384
relation P47
action find_reverse
entity Q266900
relation P47
type Q20667921
[ANSWERS] are bordered by Saint-Gratien or Ville-di-Pietrabugno
{'OR': [[{'concept': 'Q20667921'}, 'P47', 'Q275384'], [{'concept': 'Q20667921'}, 'P47', 'Q266900']]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q20667921 . { { ?a property:P47 resource:Q266900 } UNION { ?a property:P47 resource:Q275384 } } }
Argenteuil San-Martino-di-Lota Épinay-sur-Seine Soisy-sous-Montmorency Bastia Ermont Enghien-les-Bains Sannois Eaubonne Patrimonio
Argenteuil, San-Martino-di-Lota, Épinay-sur-Seine, Soisy-sous-Montmorency, Bastia, Ermont, Enghien-les-Bains, Sannois, Eaubonne and Patrimonio are bordered by Saint-Gratien or Ville-di-Pietrabugno
Argenteuil San-Martino-di-Lota Épinay-sur-Seine Soisy-sous-Montmorency Bastia Ermont Enghien-les-Bains Sannois Eaubonne Patrimonio
action filter_type
action union
action find_reverse
entity Saint-Gratien
relation shares border with
action find_reverse
entity Ville-di-Pietrabugno
relation shares border with
type type of french administrative division
{'OR': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Gratien'], [{'concept': 'type of french administrative division'}, 'shares border with', 'Ville-di-Pietrabugno']]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:type_of_french_administrative_division . { { ?a property:shares_border_with resource:Ville-di-Pietrabugno } UNION { ?a property:shares_border_with resource:Saint-Gratien } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P20
Q502895
USER
How many people died in that french administrative division ?
(c(Q502895),P20,Q239123)
[{'concept': 'Q502895'}, 'P20', 'Q239123']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q18658526 resource:Q239123 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'place of death', 'Ermont']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_death resource:Ermont . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q240771
SYSTEM
Did you mean Eaubonne ?
(c(Q502895),P20,Q181946) (c(Q502895),P20,Q972882) (c(Q502895),P20,Q206961) (c(Q502895),P20,Q839549) (c(Q502895),P20,Q134698) (c(Q502895),P20,Q239123) (c(Q502895),P20,Q255105) (c(Q502895),P20,Q259216) (c(Q502895),P20,Q240771) (c(Q502895),P20,Q776060)
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q181946'] [{'concept': 'Q502895'}, 'P20', 'Q972882'] [{'concept': 'Q502895'}, 'P20', 'Q206961'] [{'concept': 'Q502895'}, 'P20', 'Q839549'] [{'concept': 'Q502895'}, 'P20', 'Q134698'] [{'concept': 'Q502895'}, 'P20', 'Q239123'] [{'concept': 'Q502895'}, 'P20', 'Q255105'] [{'concept': 'Q502895'}, 'P20', 'Q259216'] [{'concept': 'Q502895'}, 'P20', 'Q240771'] [{'concept': 'Q502895'}, 'P20', 'Q776060']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q18658526 resource:Q239123 . ?z rdf:type ontology:Q502895 }
Did you mean Eaubonne ?
Eaubonne
[{'concept': 'common name'}, 'place of death', 'Argenteuil'] [{'concept': 'common name'}, 'place of death', 'San-Martino-di-Lota'] [{'concept': 'common name'}, 'place of death', 'Épinay-sur-Seine'] [{'concept': 'common name'}, 'place of death', 'Soisy-sous-Montmorency'] [{'concept': 'common name'}, 'place of death', 'Bastia'] [{'concept': 'common name'}, 'place of death', 'Ermont'] [{'concept': 'common name'}, 'place of death', 'Enghien-les-Bains'] [{'concept': 'common name'}, 'place of death', 'Sannois'] [{'concept': 'common name'}, 'place of death', 'Eaubonne'] [{'concept': 'common name'}, 'place of death', 'Patrimonio']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_death resource:Ermont . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Ermont. Could you tell me the answer for that?
(c(Q502895),P20,Q239123)
Q239123
[{'concept': 'Q502895'}, 'P20', 'Q239123']
[{'concept': 'common name'}, 'place of death', 'Ermont']
[]
SYSTEM
9
Q3426784 Q518707 Q3102401 Q3300744 Q3340712 Q16670030 Q18438639 Q19353060 Q5624537
(c(Q502895),P20,Q239123)
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q239123']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q18658526 resource:Q239123 . ?z rdf:type ontology:Q502895 }
René Péan André Gailhard Georges Butaud Maurice Décamps Nicolas Rabon Pierre Malaise Bertin Quentin Étienne Arnulf Ernest Dréolle
9
[{'concept': 'common name'}, 'place of death', 'Ermont']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_death resource:Ermont . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q15324 Q1267889 Q20667921
USER
How many french administrative divisions are situated in the neighbourhood of atleast 1 bodies of water and waterways ?
(c(Q20667921),P206,c(Q15324)|c(Q1267889))
action count
action atleast
action union
action find_tuple_counts
relation P206
type Q20667921
type Q15324
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
value 1
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?b ) AS ?w ) WHERE { { ?s property:P206 ?b . ?s rdf:type ontology:Q20667921 . ?b rdf:type ontology:Q15324 } UNION { ?s property:P206 ?b . ?s rdf:type ontology:Q20667921 . ?b rdf:type ontology:Q1267889 } } GROUP BY ?s } . FILTER ( ?w >= 1 ) }
action count
action atleast
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
value 1
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?b ) AS ?w ) WHERE { { ?s property:located_next_to_body_of_water ?b . ?s rdf:type ontology:type_of_french_administrative_division . ?b rdf:type ontology:body_of_water } UNION { ?s property:located_next_to_body_of_water ?b . ?s rdf:type ontology:type_of_french_administrative_division . ?b rdf:type ontology:waterway } } GROUP BY ?s } . FILTER ( ?w >= 1 ) }
[]
body of water waterway type of french administrative division
SYSTEM
21
Q224023 Q665411 Q842027 Q877744 Q71356 Q160199 Q380224 Q683550 Q453263 Q1066836 Q391365 Q769160 Q1031980 Q513962 Q382048 Q323399 Q70491 Q231180 Q191765 Q1164176 Q20892
(c(Q20667921),P206,c(Q15324)|c(Q1267889))
action count
action atleast
action union
action find_tuple_counts
relation P206
type Q20667921
type Q15324
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
value 1
[ANSWER]
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?b ) AS ?w ) WHERE { { ?s property:P206 ?b . ?s rdf:type ontology:Q20667921 . ?b rdf:type ontology:Q15324 } UNION { ?s property:P206 ?b . ?s rdf:type ontology:Q20667921 . ?b rdf:type ontology:Q1267889 } } GROUP BY ?s } . FILTER ( ?w >= 1 ) }
Penvénan Leffrinckoucke Rogliano Le Portel Île-aux-Moines Cherbourg-Octeville Marck Urville-Nacqueville Pleumeur-Bodou Grand-Fort-Philippe Bray-Dunes Grande-Synthe Escalles Oye-Plage Tardinghen Gravelines Larmor-Baden Zuydcoote Anglet Saint-Léonard Le Mont-Saint-Michel
21
action count
action atleast
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
value 1
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?b ) AS ?w ) WHERE { { ?s property:located_next_to_body_of_water ?b . ?s rdf:type ontology:type_of_french_administrative_division . ?b rdf:type ontology:body_of_water } UNION { ?s property:located_next_to_body_of_water ?b . ?s rdf:type ontology:type_of_french_administrative_division . ?b rdf:type ontology:waterway } } GROUP BY ?s } . FILTER ( ?w >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q181946
P6
Q502895
USER
Which people have Argenteuil as their heads of government ?
(Q181946,P6,c(Q502895))
action filter_type
action find
entity Q181946
relation P6
type Q502895
['Q181946', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q181946 property:P6 ?t . ?t rdf:type ontology:Q502895 }
Argenteuil
action filter_type
action find
entity Argenteuil
relation head of government
type common name
['Argenteuil', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Argenteuil property:head_of_government ?t . ?t rdf:type ontology:common_name }
[]
common name
Q2835236 Q21811365 Q3379749
SYSTEM
Alfred Labriere, Jean-Alexandre Taillandier, Philippe Doucet
Q2835236 Q21811365 Q3379749
(Q181946,P6,c(Q502895))
action filter_type
action find
entity Q181946
relation P6
type Q502895
[ANSWERS] have Argenteuil as their heads of government
['Q181946', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q181946 property:P6 ?t . ?t rdf:type ontology:Q502895 }
Alfred Labriere Jean-Alexandre Taillandier Philippe Doucet
Alfred Labriere, Jean-Alexandre Taillandier and Philippe Doucet have Argenteuil as their heads of government
Alfred Labriere Jean-Alexandre Taillandier Philippe Doucet
action filter_type
action find
entity Argenteuil
relation head of government
type common name
['Argenteuil', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Argenteuil property:head_of_government ?t . ?t rdf:type ontology:common_name }
[]