Simple Question (Direct)
Simple Question
Q15497183
P102
Q7210356
USER
Which party does William Job Collins belong to ?
(Q15497183,P102,c(Q7210356))
action filter_type
action find
entity Q15497183
relation P102
type Q7210356
['Q15497183', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q15497183 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
William Job Collins
action filter_type
action find
entity William Job Collins
relation member of political party
type political organization
['William Job Collins', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:William_Job_Collins property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]
political organization
Q622441
SYSTEM
Liberal Party
Q622441
(Q15497183,P102,c(Q7210356))
action filter_type
action find
entity Q15497183
relation P102
type Q7210356
William Job Collins belongs to [ANSWER]
['Q15497183', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q15497183 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
Liberal Party
William Job Collins belongs to Liberal Party
Liberal Party
action filter_type
action find
entity William Job Collins
relation member of political party
type political organization
['William Job Collins', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:William_Job_Collins property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q622441
P17
Q15617994
USER
Which administrative territory is that political organization situated in ?
(Q622441,P17,c(Q15617994))
action filter_type
action find
entity Q622441
relation P17
type Q15617994
['Q622441', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q622441 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Liberal Party
action filter_type
action find
entity Liberal Party
relation country
type designation for an administrative territorial entity
['Liberal Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Liberal_Party property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q622441,P17,c(Q15617994))
action filter_type
action find
entity Q622441
relation P17
type Q15617994
That political organization is situated in [ANSWER]
['Q622441', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q622441 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
United Kingdom
That political organization is situated in United Kingdom
United Kingdom
action filter_type
action find
entity Liberal Party
relation country
type designation for an administrative territorial entity
['Liberal Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Liberal_Party property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P710
Q180684
USER
Which conflicts did that administrative territory participate in ?
(c(Q180684),P710,Q145)
action filter_type
action find_reverse
entity Q145
relation P710
type Q180684
[{'concept': 'Q180684'}, 'P710', 'Q145']
SELECT DISTINCT ?k WHERE { ?k property:P710 resource:Q145 . ?k rdf:type ontology:Q180684 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation participant
type conflict
[{'concept': 'conflict'}, 'participant', 'United Kingdom']
SELECT DISTINCT ?k WHERE { ?k property:participant resource:United_Kingdom . ?k rdf:type ontology:conflict }
[]
conflict
Q911972 Q15264166 Q3354882
SYSTEM
Dunkirk evacuation, Operation Mascot, Operation Tungsten
Q4065201 Q10432014 Q2225555 Q15264166 Q3354882 Q911972
(c(Q180684),P710,Q145)
action filter_type
action find_reverse
entity Q145
relation P710
type Q180684
That administrative territory participated in [ANSWERS]
[{'concept': 'Q180684'}, 'P710', 'Q145']
SELECT DISTINCT ?k WHERE { ?k property:P710 resource:Q145 . ?k rdf:type ontology:Q180684 }
Tientsin incident Bodø affair Operation Basalt Operation Mascot Operation Tungsten Dunkirk evacuation
That administrative territory participated in Dunkirk evacuation, Operation Mascot and Operation Tungsten
Dunkirk evacuation Operation Mascot Operation Tungsten
action filter_type
action find_reverse
entity United Kingdom
relation participant
type conflict
[{'concept': 'conflict'}, 'participant', 'United Kingdom']
SELECT DISTINCT ?k WHERE { ?k property:participant resource:United_Kingdom . ?k rdf:type ontology:conflict }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q911972 Q15264166 Q3354882
P710
Q502895
USER
Which people were participants of those conflicts ?
(Q911972,P710,c(Q502895)) (Q15264166,P710,c(Q502895)) (Q3354882,P710,c(Q502895))
action filter_type
action find
entity prev_answer
relation P710
type Q502895
['Q911972', 'P710', {'concept': 'Q502895'}] ['Q15264166', 'P710', {'concept': 'Q502895'}] ['Q3354882', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . VALUES ( ?x ) { ( resource:Q4065201 ) ( resource:Q10432014 ) ( resource:Q2225555 ) } . ?x property:P710 ?i }
Dunkirk evacuation Operation Mascot Operation Tungsten
action filter_type
action find
entity prev_answer
relation participant
type common name
['Dunkirk evacuation', 'participant', {'concept': 'common name'}] ['Operation Mascot', 'participant', {'concept': 'common name'}] ['Operation Tungsten', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . VALUES ( ?x ) { ( resource:Tientsin_incident ) ( resource:Bodø_affair ) ( resource:Operation_Basalt ) } . ?x property:participant ?i }
[]
common name
Q39168 Q334984 Q3167604
SYSTEM
Harold Alexander, 1st Earl Alexander of Tunis, John Vereker, 6th Viscount Gort, Jean-Marie Charles Abrial
Q3167604 Q8019253 Q70527 Q710439 Q39168 Q334984 Q5727822 Q5727822
(Q911972,P710,c(Q502895)) (Q15264166,P710,c(Q502895)) (Q3354882,P710,c(Q502895))
action filter_type
action find
entity prev_answer
relation P710
type Q502895
[ANSWERS] were participants of those conflicts
['Q911972', 'P710', {'concept': 'Q502895'}] ['Q15264166', 'P710', {'concept': 'Q502895'}] ['Q3354882', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . VALUES ( ?x ) { ( resource:Q4065201 ) ( resource:Q10432014 ) ( resource:Q2225555 ) } . ?x property:P710 ?i }
Jean-Marie Charles Abrial William Tennant Gerd von Rundstedt Bertram Ramsay Harold Alexander, 1st Earl Alexander of Tunis John Vereker, 6th Viscount Gort Henry Ruthven Moore Henry Ruthven Moore
Harold Alexander, 1st Earl Alexander of Tunis, John Vereker, 6th Viscount Gort and Jean-Marie Charles Abrial were participants of those conflicts
Harold Alexander, 1st Earl Alexander of Tunis John Vereker, 6th Viscount Gort Jean-Marie Charles Abrial
action filter_type
action find
entity prev_answer
relation participant
type common name
['Dunkirk evacuation', 'participant', {'concept': 'common name'}] ['Operation Mascot', 'participant', {'concept': 'common name'}] ['Operation Tungsten', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . VALUES ( ?x ) { ( resource:Tientsin_incident ) ( resource:Bodø_affair ) ( resource:Operation_Basalt ) } . ?x property:participant ?i }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q39168 Q334984 Q3167604
P710
Q180684
USER
Which conflicts were Harold Alexander, 1st Earl Alexander of Tunis, John Vereker, 6th Viscount Gort and Jean-Marie Charles Abrial a participant of ?
(c(Q180684),P710,Q39168) (c(Q180684),P710,Q334984) (c(Q180684),P710,Q3167604)
action union
action filter_type
action find_reverse
entity Q39168
relation P710
type Q180684
action filter_type
action find_reverse
entity Q334984
relation P710
type Q180684
action filter_type
action find_reverse
entity Q3167604
relation P710
type Q180684
[{'concept': 'Q180684'}, 'P710', 'Q39168'] [{'concept': 'Q180684'}, 'P710', 'Q334984'] [{'concept': 'Q180684'}, 'P710', 'Q3167604']
SELECT DISTINCT ?t WHERE { { ?t property:P710 resource:Q39168 . ?t rdf:type ontology:Q180684 } UNION { ?t rdf:type ontology:Q180684 . ?t property:P710 resource:Q334984 } }
Harold Alexander, 1st Earl Alexander of Tunis John Vereker, 6th Viscount Gort Jean-Marie Charles Abrial
action union
action filter_type
action find_reverse
entity Harold Alexander, 1st Earl Alexander of Tunis
relation participant
type conflict
action filter_type
action find_reverse
entity John Vereker, 6th Viscount Gort
relation participant
type conflict
action filter_type
action find_reverse
entity Jean-Marie Charles Abrial
relation participant
type conflict
[{'concept': 'conflict'}, 'participant', 'Harold Alexander, 1st Earl Alexander of Tunis'] [{'concept': 'conflict'}, 'participant', 'John Vereker, 6th Viscount Gort'] [{'concept': 'conflict'}, 'participant', 'Jean-Marie Charles Abrial']
SELECT DISTINCT ?t WHERE { { ?t property:participant resource:Harold_Alexander,_1st_Earl_Alexander_of_Tunis . ?t rdf:type ontology:conflict } UNION { ?t rdf:type ontology:conflict . ?t property:participant resource:John_Vereker,_6th_Viscount_Gort } }
[]
conflict
Q911972
SYSTEM
Dunkirk evacuation
Q911972
(c(Q180684),P710,Q39168) (c(Q180684),P710,Q334984) (c(Q180684),P710,Q3167604)
action union
action filter_type
action find_reverse
entity Q39168
relation P710
type Q180684
action filter_type
action find_reverse
entity Q334984
relation P710
type Q180684
action filter_type
action find_reverse
entity Q3167604
relation P710
type Q180684
[ANSWER] was Harold Alexander, 1st Earl Alexander of Tunis, John Vereker, 6th Viscount Gort and Jean-Marie Charles Abrial a participant of
[{'concept': 'Q180684'}, 'P710', 'Q39168'] [{'concept': 'Q180684'}, 'P710', 'Q334984'] [{'concept': 'Q180684'}, 'P710', 'Q3167604']
SELECT DISTINCT ?t WHERE { { ?t property:P710 resource:Q39168 . ?t rdf:type ontology:Q180684 } UNION { ?t rdf:type ontology:Q180684 . ?t property:P710 resource:Q334984 } }
Dunkirk evacuation
Dunkirk evacuation was Harold Alexander, 1st Earl Alexander of Tunis, John Vereker, 6th Viscount Gort and Jean-Marie Charles Abrial a participant of
Dunkirk evacuation
action union
action filter_type
action find_reverse
entity Harold Alexander, 1st Earl Alexander of Tunis
relation participant
type conflict
action filter_type
action find_reverse
entity John Vereker, 6th Viscount Gort
relation participant
type conflict
action filter_type
action find_reverse
entity Jean-Marie Charles Abrial
relation participant
type conflict
[{'concept': 'conflict'}, 'participant', 'Harold Alexander, 1st Earl Alexander of Tunis'] [{'concept': 'conflict'}, 'participant', 'John Vereker, 6th Viscount Gort'] [{'concept': 'conflict'}, 'participant', 'Jean-Marie Charles Abrial']
SELECT DISTINCT ?t WHERE { { ?t property:participant resource:Harold_Alexander,_1st_Earl_Alexander_of_Tunis . ?t rdf:type ontology:conflict } UNION { ?t rdf:type ontology:conflict . ?t property:participant resource:John_Vereker,_6th_Viscount_Gort } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39168
P26
Q502895
USER
Who is the spouse of Harold Alexander, 1st Earl Alexander of Tunis ?
(c(Q502895),P26,Q911972)
action filter_type
action find
entity Q39168
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q911972']
SELECT DISTINCT ?q WHERE { resource:Q39168 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Harold Alexander, 1st Earl Alexander of Tunis
action filter_type
action find
entity Harold Alexander, 1st Earl Alexander of Tunis
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Dunkirk evacuation']
SELECT DISTINCT ?q WHERE { resource:Harold_Alexander,_1st_Earl_Alexander_of_Tunis property:spouse ?q . ?q rdf:type ontology:common_name }
[]
common name
Q18645940
SYSTEM
Margaret Alexander, Countess Alexander of Tunis
Q18645940
(c(Q502895),P26,Q911972)
action filter_type
action find
entity Q39168
relation P26
type Q502895
The spouse of Harold Alexander , 1st Earl Alexander of Tunis is born [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q911972']
SELECT DISTINCT ?q WHERE { resource:Q39168 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Margaret Alexander, Countess Alexander of Tunis
The spouse of Harold Alexander , 1st Earl Alexander of Tunis is born Margaret Alexander, Countess Alexander of Tunis
Margaret Alexander, Countess Alexander of Tunis
action filter_type
action find
entity Harold Alexander, 1st Earl Alexander of Tunis
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Dunkirk evacuation']
SELECT DISTINCT ?q WHERE { resource:Harold_Alexander,_1st_Earl_Alexander_of_Tunis property:spouse ?q . ?q rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3383516 Q3167604
P19
Q20667921
USER
Which french administrative divisions were Jean-Marie Charles Abrial or Pierre-Sébastien Boulay-Paty born at ?
OR((Q3167604,P19,c(Q20667921)), (Q3383516,P19,c(Q20667921)))
action filter_type
action union
action find
entity Q3167604
relation P19
action find
entity Q3383516
relation P19
type Q20667921
{'OR': [['Q3167604', 'P19', {'concept': 'Q20667921'}], ['Q3383516', 'P19', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q3383516 property:P19 ?y } UNION { resource:Q3167604 property:P19 ?y } } . ?y rdf:type ontology:Q20667921 }
Pierre-Sébastien Boulay-Paty Jean-Marie Charles Abrial
action filter_type
action union
action find
entity Jean-Marie Charles Abrial
relation place of birth
action find
entity Pierre-Sébastien Boulay-Paty
relation place of birth
type type of french administrative division
{'OR': [['Jean-Marie Charles Abrial', 'place of birth', {'concept': 'type of french administrative division'}], ['Pierre-Sébastien Boulay-Paty', 'place of birth', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Pierre-Sébastien_Boulay-Paty property:place_of_birth ?y } UNION { resource:Jean-Marie_Charles_Abrial property:place_of_birth ?y } } . ?y rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1356682 Q1001990
SYSTEM
Réalmont, Abbaretz
Q1356682 Q1001990
OR((Q3167604,P19,c(Q20667921)), (Q3383516,P19,c(Q20667921)))
action filter_type
action union
action find
entity Q3167604
relation P19
action find
entity Q3383516
relation P19
type Q20667921
[ANSWERS] were Jean-Marie Charles Abrial or Pierre-Sébastien Boulay-Paty born at
{'OR': [['Q3167604', 'P19', {'concept': 'Q20667921'}], ['Q3383516', 'P19', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q3383516 property:P19 ?y } UNION { resource:Q3167604 property:P19 ?y } } . ?y rdf:type ontology:Q20667921 }
Réalmont Abbaretz
Réalmont and Abbaretz were Jean-Marie Charles Abrial or Pierre-Sébastien Boulay-Paty born at
Réalmont Abbaretz
action filter_type
action union
action find
entity Jean-Marie Charles Abrial
relation place of birth
action find
entity Pierre-Sébastien Boulay-Paty
relation place of birth
type type of french administrative division
{'OR': [['Jean-Marie Charles Abrial', 'place of birth', {'concept': 'type of french administrative division'}], ['Pierre-Sébastien Boulay-Paty', 'place of birth', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Pierre-Sébastien_Boulay-Paty property:place_of_birth ?y } UNION { resource:Jean-Marie_Charles_Abrial property:place_of_birth ?y } } . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q811029 Q145
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relations with United Kingdom and are Battling Siki a civilian of ?
AND((Q145,P530,c(Q15617994)), (Q811029,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q145
relation P530
action find
entity Q811029
relation P27
type Q15617994
{'AND': [['Q145', 'P530', {'concept': 'Q15617994'}], ['Q811029', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q811029 property:P27 ?m . resource:Q145 property:P530 ?m }
Battling Siki United Kingdom
action filter_type
action intersection
action find
entity United Kingdom
relation diplomatic relation
action find
entity Battling Siki
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Battling Siki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Battling_Siki property:country_of_citizenship ?m . resource:United_Kingdom property:diplomatic_relation ?m }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
AND((Q145,P530,c(Q15617994)), (Q811029,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q145
relation P530
action find
entity Q811029
relation P27
type Q15617994
[ANSWER] have diplomatic relations with United Kingdom and are Battling Siki a civilian of
{'AND': [['Q145', 'P530', {'concept': 'Q15617994'}], ['Q811029', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q811029 property:P27 ?m . resource:Q145 property:P530 ?m }
France
France have diplomatic relations with United Kingdom and are Battling Siki a civilian of
France
action filter_type
action intersection
action find
entity United Kingdom
relation diplomatic relation
action find
entity Battling Siki
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Battling Siki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Battling_Siki property:country_of_citizenship ?m . resource:United_Kingdom property:diplomatic_relation ?m }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q142 Q27 Q801
P530
Q15617994
USER
Is that administrative territory known to have diplomatic connections with Ireland and Israel ?
(Q142,P530,Q27) (Q142,P530,Q801)
action is_in
entity Q142
action intersection
action find_reverse
entity Q27
relation P530
action find_reverse
entity Q801
relation P530
['Q142', 'P530', 'Q27'] ['Q142', 'P530', 'Q801']
ASK WHERE { resource:Q142 property:P530 resource:Q27 . resource:Q142 property:P530 resource:Q801 }
France Ireland Israel
action is_in
entity France
action intersection
action find_reverse
entity Ireland
relation diplomatic relation
action find_reverse
entity Israel
relation diplomatic relation
['France', 'diplomatic relation', 'Ireland'] ['France', 'diplomatic relation', 'Israel']
ASK WHERE { resource:France property:diplomatic_relation resource:Ireland . resource:France property:diplomatic_relation resource:Israel }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q142,P530,Q27) (Q142,P530,Q801)
action is_in
entity Q142
action intersection
action find_reverse
entity Q27
relation P530
action find_reverse
entity Q801
relation P530
[ANSWER]
['Q142', 'P530', 'Q27'] ['Q142', 'P530', 'Q801']
ASK WHERE { resource:Q142 property:P530 resource:Q27 . resource:Q142 property:P530 resource:Q801 }
Yes
action is_in
entity France
action intersection
action find_reverse
entity Ireland
relation diplomatic relation
action find_reverse
entity Israel
relation diplomatic relation
['France', 'diplomatic relation', 'Ireland'] ['France', 'diplomatic relation', 'Israel']
ASK WHERE { resource:France property:diplomatic_relation resource:Ireland . resource:France property:diplomatic_relation resource:Israel }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1356682
P36
Q20667921
USER
Which french administrative divisions have Réalmont as their administrative centre ?
(c(Q20667921),P36,Q1356682)
action filter_type
action find_reverse
entity Q1356682
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q1356682']
SELECT DISTINCT ?w WHERE { ?w property:P36 resource:Q1356682 . ?w rdf:type ontology:Q20667921 }
Réalmont
action filter_type
action find_reverse
entity Réalmont
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Réalmont']
SELECT DISTINCT ?w WHERE { ?w property:capital resource:Réalmont . ?w rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q281902 Q20899785
SYSTEM
canton of Réalmont, canton of Haut Dadou
Q281902 Q20899785
(c(Q20667921),P36,Q1356682)
action filter_type
action find_reverse
entity Q1356682
relation P36
type Q20667921
[ANSWERS] have Réalmont as their administrative centre
[{'concept': 'Q20667921'}, 'P36', 'Q1356682']
SELECT DISTINCT ?w WHERE { ?w property:P36 resource:Q1356682 . ?w rdf:type ontology:Q20667921 }
canton of Réalmont canton of Haut Dadou
Canton of Réalmont and canton of Haut Dadou have Réalmont as their administrative centre
canton of Réalmont canton of Haut Dadou
action filter_type
action find_reverse
entity Réalmont
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Réalmont']
SELECT DISTINCT ?w WHERE { ?w property:capital resource:Réalmont . ?w rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q281902 Q20899785
P36
Q20667921
USER
Which french administrative divisions are the capitals of canton of Réalmont and canton of Haut Dadou ?
(Q281902,P36,c(Q20667921)) (Q20899785,P36,c(Q20667921))
action union
action filter_type
action find
entity Q281902
relation P36
type Q20667921
action filter_type
action find
entity Q20899785
relation P36
type Q20667921
['Q281902', 'P36', {'concept': 'Q20667921'}] ['Q20899785', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { { resource:Q281902 property:P36 ?r . ?r rdf:type ontology:Q20667921 } UNION { resource:Q20899785 property:P36 ?r . ?r rdf:type ontology:Q20667921 } }
canton of Réalmont canton of Haut Dadou
action union
action filter_type
action find
entity canton of Réalmont
relation capital
type type of french administrative division
action filter_type
action find
entity canton of Haut Dadou
relation capital
type type of french administrative division
['canton of Réalmont', 'capital', {'concept': 'type of french administrative division'}] ['canton of Haut Dadou', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { { resource:canton_of_Réalmont property:capital ?r . ?r rdf:type ontology:type_of_french_administrative_division } UNION { resource:canton_of_Haut_Dadou property:capital ?r . ?r rdf:type ontology:type_of_french_administrative_division } }
[]
type of french administrative division
Q1356682 Q1356682
SYSTEM
Réalmont
Q1356682 Q1356682
(Q281902,P36,c(Q20667921)) (Q20899785,P36,c(Q20667921))
action union
action filter_type
action find
entity Q281902
relation P36
type Q20667921
action filter_type
action find
entity Q20899785
relation P36
type Q20667921
[ANSWER] and [ANSWER] are the capitals of canton of [ANSWER] and canton of Haut Dadou
['Q281902', 'P36', {'concept': 'Q20667921'}] ['Q20899785', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { { resource:Q281902 property:P36 ?r . ?r rdf:type ontology:Q20667921 } UNION { resource:Q20899785 property:P36 ?r . ?r rdf:type ontology:Q20667921 } }
Réalmont Réalmont
Réalmont and Réalmont are the capitals of canton of Réalmont and canton of Haut Dadou
Réalmont Réalmont
action union
action filter_type
action find
entity canton of Réalmont
relation capital
type type of french administrative division
action filter_type
action find
entity canton of Haut Dadou
relation capital
type type of french administrative division
['canton of Réalmont', 'capital', {'concept': 'type of french administrative division'}] ['canton of Haut Dadou', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { { resource:canton_of_Réalmont property:capital ?r . ?r rdf:type ontology:type_of_french_administrative_division } UNION { resource:canton_of_Haut_Dadou property:capital ?r . ?r rdf:type ontology:type_of_french_administrative_division } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1356682
P1376
Q20667921
USER
Which french administrative division has that one has its first city ?
(Q1356682,P1376,c(Q20667921)) (Q1356682,P1376,c(Q20667921))
action filter_type
action find
entity Q1356682
relation P1376
type Q20667921
['Q1356682', 'P1376', {'concept': 'Q20667921'}] ['Q1356682', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q1356682 property:P1376 ?l . ?l rdf:type ontology:Q20667921 }
Réalmont
action filter_type
action find
entity Réalmont
relation capital of
type type of french administrative division
['Réalmont', 'capital of', {'concept': 'type of french administrative division'}] ['Réalmont', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:Réalmont property:capital_of ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q20899785
SYSTEM
canton of Haut Dadou
Q20899785
(Q1356682,P1376,c(Q20667921)) (Q1356682,P1376,c(Q20667921))
action filter_type
action find
entity Q1356682
relation P1376
type Q20667921
The [ANSWER] has that one has its first city
['Q1356682', 'P1376', {'concept': 'Q20667921'}] ['Q1356682', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q1356682 property:P1376 ?l . ?l rdf:type ontology:Q20667921 }
canton of Haut Dadou
The canton of Haut Dadou has that one has its first city
canton of Haut Dadou
action filter_type
action find
entity Réalmont
relation capital of
type type of french administrative division
['Réalmont', 'capital of', {'concept': 'type of french administrative division'}] ['Réalmont', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:Réalmont property:capital_of ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q39168
P710
Q1190554
USER
How many events did Harold Alexander, 1st Earl Alexander of Tunis particiate in ?
(c(Q1190554),P710,Q39168)
action count
action filter_type
action find_reverse
entity Q39168
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q39168']
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:P710 resource:Q39168 . ?c rdf:type ontology:Q1190554 }
Harold Alexander, 1st Earl Alexander of Tunis
action count
action filter_type
action find_reverse
entity Harold Alexander, 1st Earl Alexander of Tunis
relation participant
type event
[{'concept': 'event'}, 'participant', 'Harold Alexander, 1st Earl Alexander of Tunis']
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:participant resource:Harold_Alexander,_1st_Earl_Alexander_of_Tunis . ?c rdf:type ontology:event }
[]
event
SYSTEM
1
Q218678
(c(Q1190554),P710,Q39168)
action count
action filter_type
action find_reverse
entity Q39168
relation P710
type Q1190554
[ANSWER]
[{'concept': 'Q1190554'}, 'P710', 'Q39168']
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:P710 resource:Q39168 . ?c rdf:type ontology:Q1190554 }
North African Campaign
1
action count
action filter_type
action find_reverse
entity Harold Alexander, 1st Earl Alexander of Tunis
relation participant
type event
[{'concept': 'event'}, 'participant', 'Harold Alexander, 1st Earl Alexander of Tunis']
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:participant resource:Harold_Alexander,_1st_Earl_Alexander_of_Tunis . ?c rdf:type ontology:event }
[]