Simple Question (Direct)
Simple Question
Q647552
P47
Q20667921
USER
Which french administrative divisions are bordered by Haynecourt ?
(Q647552,P47,c(Q20667921))
action filter_type
action find
entity Q647552
relation P47
type Q20667921
['Q647552', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q647552 property:P47 ?l . ?l rdf:type ontology:Q20667921 }
Haynecourt
action filter_type
action find
entity Haynecourt
relation shares border with
type type of french administrative division
['Haynecourt', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:Haynecourt property:shares_border_with ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q994971 Q426480 Q877974
SYSTEM
Bourlon, Raillencourt-Sainte-Olle, Marquion
Q1101427 Q1022753 Q1101162 Q426480 Q877974 Q994971
(Q647552,P47,c(Q20667921))
action filter_type
action find
entity Q647552
relation P47
type Q20667921
[ANSWERS] are bordered by Haynecourt
['Q647552', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q647552 property:P47 ?l . ?l rdf:type ontology:Q20667921 }
Sailly-lez-Cambrai Sauchy-Lestrée Sancourt Raillencourt-Sainte-Olle Marquion Bourlon
Bourlon, Raillencourt-Sainte-Olle and Marquion are bordered by Haynecourt
Bourlon Raillencourt-Sainte-Olle Marquion
action filter_type
action find
entity Haynecourt
relation shares border with
type type of french administrative division
['Haynecourt', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:Haynecourt property:shares_border_with ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q426480
P19
Q502895
USER
Which person has birthplace at Raillencourt-Sainte-Olle ?
(c(Q502895),P19,Q426480)
action filter_type
action find_reverse
entity Q426480
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q426480']
SELECT DISTINCT ?y WHERE { ?y property:P19 resource:Q426480 . ?y rdf:type ontology:Q502895 }
Raillencourt-Sainte-Olle
action filter_type
action find_reverse
entity Raillencourt-Sainte-Olle
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Raillencourt-Sainte-Olle']
SELECT DISTINCT ?y WHERE { ?y property:place_of_birth resource:Raillencourt-Sainte-Olle . ?y rdf:type ontology:common_name }
[]
common name
Q3190904
SYSTEM
Jérôme Foulon
Q3190904
(c(Q502895),P19,Q426480)
action filter_type
action find_reverse
entity Q426480
relation P19
type Q502895
[ANSWER] has birthplace at Raillencourt-Sainte-Olle
[{'concept': 'Q502895'}, 'P19', 'Q426480']
SELECT DISTINCT ?y WHERE { ?y property:P19 resource:Q426480 . ?y rdf:type ontology:Q502895 }
Jérôme Foulon
Jérôme Foulon has birthplace at Raillencourt-Sainte-Olle
Jérôme Foulon
action filter_type
action find_reverse
entity Raillencourt-Sainte-Olle
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Raillencourt-Sainte-Olle']
SELECT DISTINCT ?y WHERE { ?y property:place_of_birth resource:Raillencourt-Sainte-Olle . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q426480
P17
Q15617994
USER
Which administrative territory is that french administrative division present in ?
(Q3190904,P17,c(Q15617994))
action filter_type
action find
entity Q426480
relation P17
type Q15617994
['Q3190904', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q426480 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Raillencourt-Sainte-Olle
action filter_type
action find
entity Raillencourt-Sainte-Olle
relation country
type designation for an administrative territorial entity
['Jérôme Foulon', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Raillencourt-Sainte-Olle property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3190904,P17,c(Q15617994))
action filter_type
action find
entity Q426480
relation P17
type Q15617994
That french administrative division is in [ANSWER]
['Q3190904', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q426480 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
France
That french administrative division is in France
France
action filter_type
action find
entity Raillencourt-Sainte-Olle
relation country
type designation for an administrative territorial entity
['Jérôme Foulon', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Raillencourt-Sainte-Olle property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q426480
P20
Q502895
USER
Which person has that french administrative division as the area of death ?
(c(Q502895),P20,Q142)
action filter_type
action find_reverse
entity Q426480
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q142']
SELECT DISTINCT ?e WHERE { ?e property:P20 resource:Q426480 . ?e rdf:type ontology:Q502895 }
Raillencourt-Sainte-Olle
action filter_type
action find_reverse
entity Raillencourt-Sainte-Olle
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'France']
SELECT DISTINCT ?e WHERE { ?e property:place_of_death resource:Raillencourt-Sainte-Olle . ?e rdf:type ontology:common_name }
[]
common name
Q3131503
SYSTEM
Henri Liénard
Q3131503
(c(Q502895),P20,Q142)
action filter_type
action find_reverse
entity Q426480
relation P20
type Q502895
[ANSWER] has that french administrative division as the area of death
[{'concept': 'Q502895'}, 'P20', 'Q142']
SELECT DISTINCT ?e WHERE { ?e property:P20 resource:Q426480 . ?e rdf:type ontology:Q502895 }
Henri Liénard
Henri Liénard has that french administrative division as the area of death
Henri Liénard
action filter_type
action find_reverse
entity Raillencourt-Sainte-Olle
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'France']
SELECT DISTINCT ?e WHERE { ?e property:place_of_death resource:Raillencourt-Sainte-Olle . ?e rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q3131503 Q4725927 Q7703674
P27
Q15617994
USER
Is that person a native of Alice Independent School District and Terrick ?
(Q3131503,P27,Q4725927) (Q3131503,P27,Q7703674)
action is_in
entity Q3131503
action intersection
action find_reverse
entity Q4725927
relation P27
action find_reverse
entity Q7703674
relation P27
['Q3131503', 'P27', 'Q4725927'] ['Q3131503', 'P27', 'Q7703674']
ASK WHERE { resource:Q3131503 property:P27 resource:Q7703674 . resource:Q3131503 property:P27 resource:Q4725927 }
Henri Liénard Alice Independent School District Terrick
action is_in
entity Henri Liénard
action intersection
action find_reverse
entity Alice Independent School District
relation country of citizenship
action find_reverse
entity Terrick
relation country of citizenship
['Henri Liénard', 'country of citizenship', 'Alice Independent School District'] ['Henri Liénard', 'country of citizenship', 'Terrick']
ASK WHERE { resource:Henri_Liénard property:country_of_citizenship resource:Terrick . resource:Henri_Liénard property:country_of_citizenship resource:Alice_Independent_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3131503,P27,Q4725927) (Q3131503,P27,Q7703674)
action is_in
entity Q3131503
action intersection
action find_reverse
entity Q4725927
relation P27
action find_reverse
entity Q7703674
relation P27
[ANSWER]
['Q3131503', 'P27', 'Q4725927'] ['Q3131503', 'P27', 'Q7703674']
ASK WHERE { resource:Q3131503 property:P27 resource:Q7703674 . resource:Q3131503 property:P27 resource:Q4725927 }
No
action is_in
entity Henri Liénard
action intersection
action find_reverse
entity Alice Independent School District
relation country of citizenship
action find_reverse
entity Terrick
relation country of citizenship
['Henri Liénard', 'country of citizenship', 'Alice Independent School District'] ['Henri Liénard', 'country of citizenship', 'Terrick']
ASK WHERE { resource:Henri_Liénard property:country_of_citizenship resource:Terrick . resource:Henri_Liénard property:country_of_citizenship resource:Alice_Independent_School_District }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15205154 Q3131503
P166
Q618779
USER
Which awards were awarded to Henri Liénard or Gustav von Boetticher ?
OR((Q3131503,P166,c(Q618779)), (Q15205154,P166,c(Q618779)))
action filter_type
action union
action find
entity Q3131503
relation P166
action find
entity Q15205154
relation P166
type Q618779
{'OR': [['Q3131503', 'P166', {'concept': 'Q618779'}], ['Q15205154', 'P166', {'concept': 'Q618779'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q3131503 property:P166 ?j } UNION { resource:Q15205154 property:P166 ?j } } . ?j rdf:type ontology:Q618779 }
Gustav von Boetticher Henri Liénard
action filter_type
action union
action find
entity Henri Liénard
relation award received
action find
entity Gustav von Boetticher
relation award received
type award
{'OR': [['Henri Liénard', 'award received', {'concept': 'award'}], ['Gustav von Boetticher', 'award received', {'concept': 'award'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Henri_Liénard property:award_received ?j } UNION { resource:Gustav_von_Boetticher property:award_received ?j } } . ?j rdf:type ontology:award }
[]
award
Q15972370 Q19344818 Q15972373 Q19344746 Q10855271
SYSTEM
Order of Saint Anna, 2nd class, Order of St. Vladimir, 3rd class, Order of Saint Anna, 4th class, Order of Saint Stanislaus, 1st class, Knight of the Legion of Honour
Q15972370 Q19344818 Q15972373 Q19344746 Q10855271
OR((Q3131503,P166,c(Q618779)), (Q15205154,P166,c(Q618779)))
action filter_type
action union
action find
entity Q3131503
relation P166
action find
entity Q15205154
relation P166
type Q618779
[ANSWERS] were awarded to Henri Liénard or Gustav von Boetticher
{'OR': [['Q3131503', 'P166', {'concept': 'Q618779'}], ['Q15205154', 'P166', {'concept': 'Q618779'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q3131503 property:P166 ?j } UNION { resource:Q15205154 property:P166 ?j } } . ?j rdf:type ontology:Q618779 }
Order of Saint Anna, 2nd class Order of St. Vladimir, 3rd class Order of Saint Anna, 4th class Order of Saint Stanislaus, 1st class Knight of the Legion of Honour
Order of Saint Anna, 2nd class, Order of St. Vladimir, 3rd class, Order of Saint Anna, 4th class, Order of Saint Stanislaus, 1st class and Knight of the Legion of Honour were awarded to Henri Liénard or Gustav von Boetticher
Order of Saint Anna, 2nd class Order of St. Vladimir, 3rd class Order of Saint Anna, 4th class Order of Saint Stanislaus, 1st class Knight of the Legion of Honour
action filter_type
action union
action find
entity Henri Liénard
relation award received
action find
entity Gustav von Boetticher
relation award received
type award
{'OR': [['Henri Liénard', 'award received', {'concept': 'award'}], ['Gustav von Boetticher', 'award received', {'concept': 'award'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Henri_Liénard property:award_received ?j } UNION { resource:Gustav_von_Boetticher property:award_received ?j } } . ?j rdf:type ontology:award }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P138
Q502895
USER
How many people are that award named after ?
(Q15972370,P138,c(Q502895))
['Q15972370', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q15972370 property:P138 ?z . ?z rdf:type ontology:Q502895 }
['Order of Saint Anna, 2nd class', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Order_of_Saint_Anna,_2nd_class property:named_after ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q19344818
SYSTEM
Did you mean Order of St. Vladimir, 3rd class ?
(Q15972370,P138,c(Q502895)) (Q19344818,P138,c(Q502895)) (Q15972373,P138,c(Q502895)) (Q19344746,P138,c(Q502895)) (Q10855271,P138,c(Q502895))
[ANSWER]
['Q15972370', 'P138', {'concept': 'Q502895'}] ['Q19344818', 'P138', {'concept': 'Q502895'}] ['Q15972373', 'P138', {'concept': 'Q502895'}] ['Q19344746', 'P138', {'concept': 'Q502895'}] ['Q10855271', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q15972370 property:P138 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Order of St. Vladimir, 3rd class ?
Order of St. Vladimir, 3rd class
['Order of Saint Anna, 2nd class', 'named after', {'concept': 'common name'}] ['Order of St. Vladimir, 3rd class', 'named after', {'concept': 'common name'}] ['Order of Saint Anna, 4th class', 'named after', {'concept': 'common name'}] ['Order of Saint Stanislaus, 1st class', 'named after', {'concept': 'common name'}] ['Knight of the Legion of Honour', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Order_of_Saint_Anna,_2nd_class property:named_after ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Order of Saint Anna, 2nd class. Could you tell me the answer for that?
(Q15972370,P138,c(Q502895))
Q15972370
['Q15972370', 'P138', {'concept': 'Q502895'}]
['Order of Saint Anna, 2nd class', 'named after', {'concept': 'common name'}]
[]
SYSTEM
1
Q164294
(Q15972370,P138,c(Q502895))
[ANSWER]
['Q15972370', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q15972370 property:P138 ?z . ?z rdf:type ontology:Q502895 }
Saint Anna
1
['Order of Saint Anna, 2nd class', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Order_of_Saint_Anna,_2nd_class property:named_after ?z . ?z rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q41820 Q426480
P47
Q20667921
USER
Which french administrative divisions share border with Raillencourt-Sainte-Olle or Neuville-lès-Decize ?
OR((Q426480,P47,c(Q20667921)), (Q41820,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q426480
relation P47
action find
entity Q41820
relation P47
type Q20667921
{'OR': [['Q426480', 'P47', {'concept': 'Q20667921'}], ['Q41820', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?v ) { ( resource:Q426480 ) ( resource:Q41820 ) } . ?v property:P47 ?q } . ?q rdf:type ontology:Q20667921 }
Neuville-lès-Decize Raillencourt-Sainte-Olle
action filter_type
action union
action find
entity Raillencourt-Sainte-Olle
relation shares border with
action find
entity Neuville-lès-Decize
relation shares border with
type type of french administrative division
{'OR': [['Raillencourt-Sainte-Olle', 'shares border with', {'concept': 'type of french administrative division'}], ['Neuville-lès-Decize', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?v ) { ( resource:Raillencourt-Sainte-Olle ) ( resource:Neuville-lès-Decize ) } . ?v property:shares_border_with ?q } . ?q rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q890079 Q1101609 Q37199 Q1101162 Q1063646 Q181285 Q647552 Q371649 Q1112567 Q1108744
SYSTEM
Some of them are Azy-le-Vif, Tilloy-lez-Cambrai, Saint-Parize-en-Viry, Sancourt, Neuville-Saint-Rémy, Cambrai, Haynecourt, Dornes, Luthenay-Uxeloup, Fleury-sur-Loire
Q371649 Q890079 Q1101427 Q1101609 Q1108744 Q1101162 Q37199 Q1063646 Q647552 Q660162 Q28555 Q181285 Q771030 Q994971 Q1112567
OR((Q426480,P47,c(Q20667921)), (Q41820,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q426480
relation P47
action find
entity Q41820
relation P47
type Q20667921
[ANSWERS] share border with Raillencourt-Sainte-Olle or Neuville-lès-Decize
{'OR': [['Q426480', 'P47', {'concept': 'Q20667921'}], ['Q41820', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?v ) { ( resource:Q426480 ) ( resource:Q41820 ) } . ?v property:P47 ?q } . ?q rdf:type ontology:Q20667921 }
Dornes Azy-le-Vif Sailly-lez-Cambrai Tilloy-lez-Cambrai Fleury-sur-Loire Sancourt Saint-Parize-en-Viry Neuville-Saint-Rémy Haynecourt Avril-sur-Loire Toury-sur-Jour Cambrai Fontaine-Notre-Dame Bourlon Luthenay-Uxeloup
Azy-le-Vif, Tilloy-lez-Cambrai, Saint-Parize-en-Viry, Sancourt, Neuville-Saint-Rémy, Cambrai, Haynecourt, Dornes, Luthenay-Uxeloup and Fleury-sur-Loire share border with Raillencourt-Sainte-Olle or Neuville-lès-Decize
Azy-le-Vif Tilloy-lez-Cambrai Saint-Parize-en-Viry Sancourt Neuville-Saint-Rémy Cambrai Haynecourt Dornes Luthenay-Uxeloup Fleury-sur-Loire
action filter_type
action union
action find
entity Raillencourt-Sainte-Olle
relation shares border with
action find
entity Neuville-lès-Decize
relation shares border with
type type of french administrative division
{'OR': [['Raillencourt-Sainte-Olle', 'shares border with', {'concept': 'type of french administrative division'}], ['Neuville-lès-Decize', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?v ) { ( resource:Raillencourt-Sainte-Olle ) ( resource:Neuville-lès-Decize ) } . ?v property:shares_border_with ?q } . ?q rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q181285
P138
Q34442
USER
Which road comes from Cambrai ?
(c(Q34442),P138,Q181285)
action filter_type
action find_reverse
entity Q181285
relation P138
type Q34442
[{'concept': 'Q34442'}, 'P138', 'Q181285']
SELECT DISTINCT ?x WHERE { ?x property:P138 resource:Q181285 . ?x rdf:type ontology:Q34442 }
Cambrai
action filter_type
action find_reverse
entity Cambrai
relation named after
type road
[{'concept': 'road'}, 'named after', 'Cambrai']
SELECT DISTINCT ?x WHERE { ?x property:named_after resource:Cambrai . ?x rdf:type ontology:road }
[]
road
Q3450626
SYSTEM
rue de Cambrai
Q3450626
(c(Q34442),P138,Q181285)
action filter_type
action find_reverse
entity Q181285
relation P138
type Q34442
[ANSWER] comes from Cambrai
[{'concept': 'Q34442'}, 'P138', 'Q181285']
SELECT DISTINCT ?x WHERE { ?x property:P138 resource:Q181285 . ?x rdf:type ontology:Q34442 }
rue de Cambrai
Rue de Cambrai comes from Cambrai
rue de Cambrai
action filter_type
action find_reverse
entity Cambrai
relation named after
type road
[{'concept': 'road'}, 'named after', 'Cambrai']
SELECT DISTINCT ?x WHERE { ?x property:named_after resource:Cambrai . ?x rdf:type ontology:road }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q181285
P190
Q56061
USER
Which administrative territories are twin cities of that french administrative division ?
(Q3450626,P190,c(Q56061))
action filter_type
action find
entity Q181285
relation P190
type Q56061
['Q3450626', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q181285 property:P190 ?o . ?o rdf:type ontology:Q56061 }
Cambrai
action filter_type
action find
entity Cambrai
relation sister city
type administrative territorial entity
['rue de Cambrai', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Cambrai property:sister_city ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q171353 Q676689
SYSTEM
Esztergom, Gravesend
Q171353 Q676689
(Q3450626,P190,c(Q56061))
action filter_type
action find
entity Q181285
relation P190
type Q56061
[ANSWERS] are twin cities of that french administrative division
['Q3450626', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q181285 property:P190 ?o . ?o rdf:type ontology:Q56061 }
Esztergom Gravesend
Esztergom and Gravesend are twin cities of that french administrative division
Esztergom Gravesend
action filter_type
action find
entity Cambrai
relation sister city
type administrative territorial entity
['rue de Cambrai', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Cambrai property:sister_city ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q214135
P190
Q20667921
USER
Are Villiers-Saint-Benoît sister town of those administrative territories ?
(Q214135,P190,Q171353) (Q214135,P190,Q676689)
action is_in
entity prev_answer
action find
entity Q214135
relation P190
['Q214135', 'P190', 'Q171353'] ['Q214135', 'P190', 'Q676689']
ASK WHERE { resource:Q214135 property:P190 ?a . VALUES ( ?a ) { ( resource:Q171353 ) ( resource:Q676689 ) } }
Villiers-Saint-Benoît
action is_in
entity prev_answer
action find
entity Villiers-Saint-Benoît
relation sister city
['Villiers-Saint-Benoît', 'sister city', 'Esztergom'] ['Villiers-Saint-Benoît', 'sister city', 'Gravesend']
ASK WHERE { resource:Villiers-Saint-Benoît property:sister_city ?a . VALUES ( ?a ) { ( resource:Esztergom ) ( resource:Gravesend ) } }
[]
type of french administrative division
SYSTEM
NO
(Q214135,P190,Q171353) (Q214135,P190,Q676689)
action is_in
entity prev_answer
action find
entity Q214135
relation P190
[ANSWER]
['Q214135', 'P190', 'Q171353'] ['Q214135', 'P190', 'Q676689']
ASK WHERE { resource:Q214135 property:P190 ?a . VALUES ( ?a ) { ( resource:Q171353 ) ( resource:Q676689 ) } }
No
action is_in
entity prev_answer
action find
entity Villiers-Saint-Benoît
relation sister city
['Villiers-Saint-Benoît', 'sister city', 'Esztergom'] ['Villiers-Saint-Benoît', 'sister city', 'Gravesend']
ASK WHERE { resource:Villiers-Saint-Benoît property:sister_city ?a . VALUES ( ?a ) { ( resource:Esztergom ) ( resource:Gravesend ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q890079 Q532326
P17
Q15617994
USER
Is Azy-le-Vif present in Langenargen ?
(Q890079,P17,Q532326)
action is_in
entity Q532326
action find
entity Q890079
relation P17
['Q890079', 'P17', 'Q532326']
ASK WHERE { resource:Q890079 property:P17 resource:Q532326 }
Azy-le-Vif Langenargen
action is_in
entity Langenargen
action find
entity Azy-le-Vif
relation country
['Azy-le-Vif', 'country', 'Langenargen']
ASK WHERE { resource:Azy-le-Vif property:country resource:Langenargen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q890079,P17,Q532326)
action is_in
entity Q532326
action find
entity Q890079
relation P17
[ANSWER]
['Q890079', 'P17', 'Q532326']
ASK WHERE { resource:Q890079 property:P17 resource:Q532326 }
No
action is_in
entity Langenargen
action find
entity Azy-le-Vif
relation country
['Azy-le-Vif', 'country', 'Langenargen']
ASK WHERE { resource:Azy-le-Vif property:country resource:Langenargen }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16099 Q647552
P20
Q502895
USER
Which people died in Haynecourt or Lampertheim ?
OR((c(Q502895),P20,Q647552), (c(Q502895),P20,Q16099))
action filter_type
action union
action find_reverse
entity Q647552
relation P20
action find_reverse
entity Q16099
relation P20
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P20', 'Q647552'], [{'concept': 'Q502895'}, 'P20', 'Q16099']]}
SELECT DISTINCT ?i WHERE { { { ?i property:P20 resource:Q647552 } UNION { ?i property:P20 resource:Q16099 } } . ?i rdf:type ontology:Q502895 }
Lampertheim Haynecourt
action filter_type
action union
action find_reverse
entity Haynecourt
relation place of death
action find_reverse
entity Lampertheim
relation place of death
type common name
{'OR': [[{'concept': 'common name'}, 'place of death', 'Haynecourt'], [{'concept': 'common name'}, 'place of death', 'Lampertheim']]}
SELECT DISTINCT ?i WHERE { { { ?i property:place_of_death resource:Haynecourt } UNION { ?i property:place_of_death resource:Lampertheim } } . ?i rdf:type ontology:common_name }
[]
common name
Q1249040 Q1169025 Q88474 Q588622
SYSTEM
Richard Maybery, Martin Jakob Kärcher, Kyra T. Inachin, Anton Camesasca
Q1249040 Q1169025 Q88474 Q588622
OR((c(Q502895),P20,Q647552), (c(Q502895),P20,Q16099))
action filter_type
action union
action find_reverse
entity Q647552
relation P20
action find_reverse
entity Q16099
relation P20
type Q502895
[ANSWERS] died in Haynecourt or Lampertheim
{'OR': [[{'concept': 'Q502895'}, 'P20', 'Q647552'], [{'concept': 'Q502895'}, 'P20', 'Q16099']]}
SELECT DISTINCT ?i WHERE { { { ?i property:P20 resource:Q647552 } UNION { ?i property:P20 resource:Q16099 } } . ?i rdf:type ontology:Q502895 }
Richard Maybery Martin Jakob Kärcher Kyra T. Inachin Anton Camesasca
Richard Maybery, Martin Jakob Kärcher, Kyra T. Inachin and Anton Camesasca died in Haynecourt or Lampertheim
Richard Maybery Martin Jakob Kärcher Kyra T. Inachin Anton Camesasca
action filter_type
action union
action find_reverse
entity Haynecourt
relation place of death
action find_reverse
entity Lampertheim
relation place of death
type common name
{'OR': [[{'concept': 'common name'}, 'place of death', 'Haynecourt'], [{'concept': 'common name'}, 'place of death', 'Lampertheim']]}
SELECT DISTINCT ?i WHERE { { { ?i property:place_of_death resource:Haynecourt } UNION { ?i property:place_of_death resource:Lampertheim } } . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q181285
P36
Q20667921
USER
Which french administrative division is associated to Cambrai as the capital ?
(Q181285,P36,c(Q20667921))
action filter_type
action find
entity Q181285
relation P36
type Q20667921
['Q181285', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q20667921 . resource:Q181285 property:P36 ?p }
Cambrai
action filter_type
action find
entity Cambrai
relation capital
type type of french administrative division
['Cambrai', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:type_of_french_administrative_division . resource:Cambrai property:capital ?p }
[]
type of french administrative division
Q940781
SYSTEM
canton of Cambrai-Est
Q940781
(Q181285,P36,c(Q20667921))
action filter_type
action find
entity Q181285
relation P36
type Q20667921
The [ANSWER] is associated to Cambrai as the capital
['Q181285', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q20667921 . resource:Q181285 property:P36 ?p }
canton of Cambrai-Est
The canton of Cambrai-Est is associated to Cambrai as the capital
canton of Cambrai-Est
action filter_type
action find
entity Cambrai
relation capital
type type of french administrative division
['Cambrai', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:type_of_french_administrative_division . resource:Cambrai property:capital ?p }
[]