Simple Question (Direct)
Simple Question
Q3175070
P19
Q20667921
USER
Which french administrative division was Jean Voulté born in ?
(Q3175070,P19,c(Q20667921))
action filter_type
action find
entity Q3175070
relation P19
type Q20667921
['Q3175070', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q3175070 property:P19 ?a . ?a rdf:type ontology:Q20667921 }
Jean Voulté
action filter_type
action find
entity Jean Voulté
relation place of birth
type type of french administrative division
['Jean Voulté', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:Jean_Voulté property:place_of_birth ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q722619
SYSTEM
Vandy
Q722619
(Q3175070,P19,c(Q20667921))
action filter_type
action find
entity Q3175070
relation P19
type Q20667921
Jean Voulté was born in [ANSWER]
['Q3175070', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q3175070 property:P19 ?a . ?a rdf:type ontology:Q20667921 }
Vandy
Jean Voulté was born in Vandy
Vandy
action filter_type
action find
entity Jean Voulté
relation place of birth
type type of french administrative division
['Jean Voulté', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:Jean_Voulté property:place_of_birth ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q722619
P47
Q20667921
USER
Who share the border with that one ?
(Q722619,P47,c(Q20667921))
action filter_type
action find
entity Q722619
relation P47
type Q20667921
['Q722619', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q722619 property:P47 ?m . ?m rdf:type ontology:Q20667921 }
Vandy
action filter_type
action find
entity Vandy
relation shares border with
type type of french administrative division
['Vandy', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:Vandy property:shares_border_with ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q209821 Q687884 Q770243
SYSTEM
Vouziers, Les Alleux, Quatre-Champs
Q770243 Q687884 Q722654 Q770311 Q770223 Q209821
(Q722619,P47,c(Q20667921))
action filter_type
action find
entity Q722619
relation P47
type Q20667921
[ANSWERS] share the border with that one
['Q722619', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q722619 property:P47 ?m . ?m rdf:type ontology:Q20667921 }
Quatre-Champs Les Alleux Terron-sur-Aisne Ballay Vrizy Vouziers
Vouziers, Les Alleux and Quatre-Champs share the border with that one
Vouziers Les Alleux Quatre-Champs
action filter_type
action find
entity Vandy
relation shares border with
type type of french administrative division
['Vandy', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:Vandy property:shares_border_with ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1088521 Q722619
P47
Q20667921
USER
Or Grandham?
OR((Q722619,P47,c(Q20667921)), (Q1088521,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q722619
relation P47
action find
entity Q1088521
relation P47
type Q20667921
{'OR': [['Q722619', 'P47', {'concept': 'Q20667921'}], ['Q1088521', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?g ) { ( resource:Q1088521 ) ( resource:Q722619 ) } . ?g property:P47 ?c } . ?c rdf:type ontology:Q20667921 }
Grandham Vandy
action filter_type
action union
action find
entity Vandy
relation shares border with
action find
entity Grandham
relation shares border with
type type of french administrative division
{'OR': [['Vandy', 'shares border with', {'concept': 'type of french administrative division'}], ['Grandham', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?g ) { ( resource:Grandham ) ( resource:Vandy ) } . ?g property:shares_border_with ?c } . ?c rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q770243 Q687884 Q990892 Q722654 Q770311 Q770223 Q209821 Q1086485 Q770204 Q1159602
SYSTEM
Quatre-Champs, Les Alleux, Autry, Terron-sur-Aisne, Ballay, Vrizy, Vouziers, Montcheutin, Lançon, Senuc
Q770243 Q687884 Q990892 Q722654 Q770311 Q770223 Q209821 Q1086485 Q770204 Q1159602
OR((Q722619,P47,c(Q20667921)), (Q1088521,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q722619
relation P47
action find
entity Q1088521
relation P47
type Q20667921
[ANSWERS]
{'OR': [['Q722619', 'P47', {'concept': 'Q20667921'}], ['Q1088521', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?g ) { ( resource:Q1088521 ) ( resource:Q722619 ) } . ?g property:P47 ?c } . ?c rdf:type ontology:Q20667921 }
Quatre-Champs Les Alleux Autry Terron-sur-Aisne Ballay Vrizy Vouziers Montcheutin Lançon Senuc
Quatre-Champs Les Alleux Autry Terron-sur-Aisne Ballay Vrizy Vouziers Montcheutin Lançon Senuc
action filter_type
action union
action find
entity Vandy
relation shares border with
action find
entity Grandham
relation shares border with
type type of french administrative division
{'OR': [['Vandy', 'shares border with', {'concept': 'type of french administrative division'}], ['Grandham', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?g ) { ( resource:Grandham ) ( resource:Vandy ) } . ?g property:shares_border_with ?c } . ?c rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q770243 Q687884 Q990892 Q722654 Q770311 Q770223 Q209821 Q1086485 Q770204 Q1159602
P47
Q20667921
USER
Which french administrative divisions are bordered by those ones ?
(c(Q20667921),P47,Q770243) (c(Q20667921),P47,Q687884) (c(Q20667921),P47,Q990892) (c(Q20667921),P47,Q722654) (c(Q20667921),P47,Q770311) (c(Q20667921),P47,Q770223) (c(Q20667921),P47,Q209821) (c(Q20667921),P47,Q1086485) (c(Q20667921),P47,Q770204) (c(Q20667921),P47,Q1159602)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q770243'] [{'concept': 'Q20667921'}, 'P47', 'Q687884'] [{'concept': 'Q20667921'}, 'P47', 'Q990892'] [{'concept': 'Q20667921'}, 'P47', 'Q722654'] [{'concept': 'Q20667921'}, 'P47', 'Q770311'] [{'concept': 'Q20667921'}, 'P47', 'Q770223'] [{'concept': 'Q20667921'}, 'P47', 'Q209821'] [{'concept': 'Q20667921'}, 'P47', 'Q1086485'] [{'concept': 'Q20667921'}, 'P47', 'Q770204'] [{'concept': 'Q20667921'}, 'P47', 'Q1159602']
SELECT DISTINCT ?j WHERE { VALUES ( ?y ) { ( resource:Q770243 ) ( resource:Q687884 ) ( resource:Q990892 ) } . ?y property:P47 ?j . ?j rdf:type ontology:Q20667921 }
Quatre-Champs Les Alleux Autry Terron-sur-Aisne Ballay Vrizy Vouziers Montcheutin Lançon Senuc
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Quatre-Champs'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Les Alleux'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Autry'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Terron-sur-Aisne'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Ballay'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Vrizy'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Vouziers'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Montcheutin'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Lançon'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Senuc']
SELECT DISTINCT ?j WHERE { VALUES ( ?y ) { ( resource:Quatre-Champs ) ( resource:Les_Alleux ) ( resource:Autry ) } . ?y property:shares_border_with ?j . ?j rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q209821 Q209821 Q629442
SYSTEM
Vouziers for 1st, 2nd, Belleville-et-Châtillon-sur-Bar for 3rd
Q770311 Q770207 Q722619 Q629442 Q687884 Q1084876 Q383417 Q722619 Q770243 Q1086095 Q629442 Q722654 Q21686816 Q1115902 Q1086485 Q770204 Q1088521 Q1018900 Q473084 Q722619 Q770223 Q1086095 Q687884 Q770207 Q722619 Q770243 Q209821 Q1018943 Q722615 Q770234 Q722619 Q209821 Q1086095 Q722654 Q770311 Q770301 Q1158253 Q770234 Q722619 Q429153 Q770223 Q722615 Q585701 Q681479 Q990892 Q1159602 Q1088521 Q546451 Q1021778 Q473084 Q1147107 Q990892 Q1115946 Q1159602 Q1088521 Q534123 Q1018900 Q1000184 Q1086485 Q1084909 Q770204 Q1088521 Q950573 Q1021716 Q937614 Q1000184 Q1147107 Q477021
(c(Q20667921),P47,Q770243) (c(Q20667921),P47,Q687884) (c(Q20667921),P47,Q990892) (c(Q20667921),P47,Q722654) (c(Q20667921),P47,Q770311) (c(Q20667921),P47,Q770223) (c(Q20667921),P47,Q209821) (c(Q20667921),P47,Q1086485) (c(Q20667921),P47,Q770204) (c(Q20667921),P47,Q1159602)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[ANSWERS]
[{'concept': 'Q20667921'}, 'P47', 'Q770243'] [{'concept': 'Q20667921'}, 'P47', 'Q687884'] [{'concept': 'Q20667921'}, 'P47', 'Q990892'] [{'concept': 'Q20667921'}, 'P47', 'Q722654'] [{'concept': 'Q20667921'}, 'P47', 'Q770311'] [{'concept': 'Q20667921'}, 'P47', 'Q770223'] [{'concept': 'Q20667921'}, 'P47', 'Q209821'] [{'concept': 'Q20667921'}, 'P47', 'Q1086485'] [{'concept': 'Q20667921'}, 'P47', 'Q770204'] [{'concept': 'Q20667921'}, 'P47', 'Q1159602']
SELECT DISTINCT ?j WHERE { VALUES ( ?y ) { ( resource:Q770243 ) ( resource:Q687884 ) ( resource:Q990892 ) } . ?y property:P47 ?j . ?j rdf:type ontology:Q20667921 }
Ballay Toges Vandy Belleville-et-Châtillon-sur-Bar Les Alleux Noirval Le Chesne Vandy Quatre-Champs Voncq Belleville-et-Châtillon-sur-Bar Terron-sur-Aisne Bairon-et-ses-Environs Cernay-en-Dormois Montcheutin Lançon Grandham Condé-lès-Autry Bouconville Vandy Vrizy Voncq Les Alleux Toges Vandy Quatre-Champs Vouziers Boult-aux-Bois La Croix-aux-Bois Grivy-Loisy Vandy Vouziers Voncq Terron-sur-Aisne Ballay Falaise Savigny-sur-Aisne Grivy-Loisy Vandy Mars-sous-Bourcq Vrizy La Croix-aux-Bois Sainte-Marie Bourcq Autry Senuc Grandham Séchault Challerange Bouconville Vaux-lès-Mouron Autry Binarville Senuc Grandham Chatel-Chéhéry Condé-lès-Autry Cornay Montcheutin Mouron Lançon Grandham Termes Chevières Marcq Cornay Vaux-lès-Mouron Grandpré
Vouziers, Vouziers and Belleville-et-Châtillon-sur-Bar are bordered by those ones
Vouziers Vouziers Belleville-et-Châtillon-sur-Bar
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Quatre-Champs'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Les Alleux'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Autry'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Terron-sur-Aisne'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Ballay'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Vrizy'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Vouziers'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Montcheutin'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Lançon'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Senuc']
SELECT DISTINCT ?j WHERE { VALUES ( ?y ) { ( resource:Quatre-Champs ) ( resource:Les_Alleux ) ( resource:Autry ) } . ?y property:shares_border_with ?j . ?j rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q209821
P1376
Q20667921
USER
Which french administrative division has Vouziers has its first city ?
(Q209821,P1376,c(Q20667921))
action filter_type
action find
entity Q209821
relation P1376
type Q20667921
['Q209821', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q20667921 . resource:Q209821 property:P1376 ?s }
Vouziers
action filter_type
action find
entity Vouziers
relation capital of
type type of french administrative division
['Vouziers', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:type_of_french_administrative_division . resource:Vouziers property:capital_of ?s }
[]
type of french administrative division
Q1673994
SYSTEM
canton of Vouziers
Q1673994
(Q209821,P1376,c(Q20667921))
action filter_type
action find
entity Q209821
relation P1376
type Q20667921
The [ANSWER] has Vouziers has its first city
['Q209821', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q20667921 . resource:Q209821 property:P1376 ?s }
canton of Vouziers
The canton of Vouziers has Vouziers has its first city
canton of Vouziers
action filter_type
action find
entity Vouziers
relation capital of
type type of french administrative division
['Vouziers', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:type_of_french_administrative_division . resource:Vouziers property:capital_of ?s }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1673994 Q702723
P1376
Q20667921
USER
How many french administrative divisions are the county seat of canton of Vouziers or arrondissement of Verdun ?
(c(Q20667921),P1376,Q1673994) (c(Q20667921),P1376,Q702723)
action count
action union
action filter_type
action find_reverse
entity Q1673994
relation P1376
type Q20667921
action filter_type
action find_reverse
entity Q702723
relation P1376
type Q20667921
[{'concept': 'Q20667921'}, 'P1376', 'Q1673994'] [{'concept': 'Q20667921'}, 'P1376', 'Q702723']
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { ?q property:P1376 resource:Q1673994 . ?q rdf:type ontology:Q20667921 } UNION { ?q property:P1376 resource:Q702723 . ?q rdf:type ontology:Q20667921 } }
canton of Vouziers arrondissement of Verdun
action count
action union
action filter_type
action find_reverse
entity canton of Vouziers
relation capital of
type type of french administrative division
action filter_type
action find_reverse
entity arrondissement of Verdun
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Vouziers'] [{'concept': 'type of french administrative division'}, 'capital of', 'arrondissement of Verdun']
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { ?q property:capital_of resource:canton_of_Vouziers . ?q rdf:type ontology:type_of_french_administrative_division } UNION { ?q property:capital_of resource:arrondissement_of_Verdun . ?q rdf:type ontology:type_of_french_administrative_division } }
[]
type of french administrative division
SYSTEM
2
Q209821 Q154748
(c(Q20667921),P1376,Q1673994) (c(Q20667921),P1376,Q702723)
action count
action union
action filter_type
action find_reverse
entity Q1673994
relation P1376
type Q20667921
action filter_type
action find_reverse
entity Q702723
relation P1376
type Q20667921
[ANSWER]
[{'concept': 'Q20667921'}, 'P1376', 'Q1673994'] [{'concept': 'Q20667921'}, 'P1376', 'Q702723']
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { ?q property:P1376 resource:Q1673994 . ?q rdf:type ontology:Q20667921 } UNION { ?q property:P1376 resource:Q702723 . ?q rdf:type ontology:Q20667921 } }
Vouziers Verdun
2
action count
action union
action filter_type
action find_reverse
entity canton of Vouziers
relation capital of
type type of french administrative division
action filter_type
action find_reverse
entity arrondissement of Verdun
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Vouziers'] [{'concept': 'type of french administrative division'}, 'capital of', 'arrondissement of Verdun']
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { ?q property:capital_of resource:canton_of_Vouziers . ?q rdf:type ontology:type_of_french_administrative_division } UNION { ?q property:capital_of resource:arrondissement_of_Verdun . ?q rdf:type ontology:type_of_french_administrative_division } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4539641 Q770311
P17
Q15617994
USER
Which administrative territories are Ballay or Jaundubulti Station situated in ?
OR((Q770311,P17,c(Q15617994)), (Q4539641,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q770311
relation P17
action find
entity Q4539641
relation P17
type Q15617994
{'OR': [['Q770311', 'P17', {'concept': 'Q15617994'}], ['Q4539641', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q770311 property:P17 ?x } UNION { resource:Q4539641 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
Jaundubulti Station Ballay
action filter_type
action union
action find
entity Ballay
relation country
action find
entity Jaundubulti Station
relation country
type designation for an administrative territorial entity
{'OR': [['Ballay', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Jaundubulti Station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Ballay property:country ?x } UNION { resource:Jaundubulti_Station property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q211
SYSTEM
France, Latvia
Q142 Q211
OR((Q770311,P17,c(Q15617994)), (Q4539641,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q770311
relation P17
action find
entity Q4539641
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q770311', 'P17', {'concept': 'Q15617994'}], ['Q4539641', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q770311 property:P17 ?x } UNION { resource:Q4539641 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
France Latvia
Which administrative territories are Ballay or Jaundubulti Station situated in
France Latvia
action filter_type
action union
action find
entity Ballay
relation country
action find
entity Jaundubulti Station
relation country
type designation for an administrative territorial entity
{'OR': [['Ballay', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Jaundubulti Station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Ballay property:country ?x } UNION { resource:Jaundubulti_Station property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]