Simple Question (Direct)
Simple Question
Q5081048
P22
Q502895
USER
Which male person was the parent of Charles Moore, 11th Earl of Drogheda ?
(Q5081048,P22,c(Q502895))
action filter_type
action find
entity Q5081048
relation P22
type Q502895
['Q5081048', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q5081048 property:P22 ?c . ?c rdf:type ontology:Q502895 }
Charles Moore, 11th Earl of Drogheda
action filter_type
action find
entity Charles Moore, 11th Earl of Drogheda
relation father
type common name
['Charles Moore, 11th Earl of Drogheda', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Charles_Moore,_11th_Earl_of_Drogheda property:father ?c . ?c rdf:type ontology:common_name }
[]
common name
Q21781553
SYSTEM
Henry Charles Ponsonby Moore, 10th Earl of Drogheda
Q21781553
(Q5081048,P22,c(Q502895))
action filter_type
action find
entity Q5081048
relation P22
type Q502895
And [ANSWER] was the parent of Charles Moore, 11th Earl of Drogheda
['Q5081048', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q5081048 property:P22 ?c . ?c rdf:type ontology:Q502895 }
Henry Charles Ponsonby Moore, 10th Earl of Drogheda
And Henry Charles Ponsonby Moore, 10th Earl of Drogheda was the parent of Charles Moore, 11th Earl of Drogheda
Henry Charles Ponsonby Moore, 10th Earl of Drogheda
action filter_type
action find
entity Charles Moore, 11th Earl of Drogheda
relation father
type common name
['Charles Moore, 11th Earl of Drogheda', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Charles_Moore,_11th_Earl_of_Drogheda property:father ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21781553
P40
Q502895
USER
Which person is an offspring of that one ?
(Q21781553,P40,c(Q502895))
action filter_type
action find
entity Q21781553
relation P40
type Q502895
['Q21781553', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q21781553 property:P40 ?b . ?b rdf:type ontology:Q502895 }
Henry Charles Ponsonby Moore, 10th Earl of Drogheda
action filter_type
action find
entity Henry Charles Ponsonby Moore, 10th Earl of Drogheda
relation child
type common name
['Henry Charles Ponsonby Moore, 10th Earl of Drogheda', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Henry_Charles_Ponsonby_Moore,_10th_Earl_of_Drogheda property:child ?b . ?b rdf:type ontology:common_name }
[]
common name
Q5081048
SYSTEM
Charles Moore, 11th Earl of Drogheda
Q5081048
(Q21781553,P40,c(Q502895))
action filter_type
action find
entity Q21781553
relation P40
type Q502895
[ANSWER] is an offspring of that one
['Q21781553', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q21781553 property:P40 ?b . ?b rdf:type ontology:Q502895 }
Charles Moore, 11th Earl of Drogheda
Charles Moore, 11th Earl of Drogheda is an offspring of that one
Charles Moore, 11th Earl of Drogheda
action filter_type
action find
entity Henry Charles Ponsonby Moore, 10th Earl of Drogheda
relation child
type common name
['Henry Charles Ponsonby Moore, 10th Earl of Drogheda', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Henry_Charles_Ponsonby_Moore,_10th_Earl_of_Drogheda property:child ?b . ?b rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q5081048 Q17073587
P27
Q15617994
USER
Is Mazraeh-ye Hajjiabad, Kazerun the native country of that person ?
(Q5081048,P27,Q17073587)
action is_in
entity Q17073587
action find
entity Q5081048
relation P27
['Q5081048', 'P27', 'Q17073587']
ASK WHERE { resource:Q5081048 property:P27 resource:Q17073587 }
Charles Moore, 11th Earl of Drogheda Mazraeh-ye Hajjiabad, Kazerun
action is_in
entity Mazraeh-ye Hajjiabad, Kazerun
action find
entity Charles Moore, 11th Earl of Drogheda
relation country of citizenship
['Charles Moore, 11th Earl of Drogheda', 'country of citizenship', 'Mazraeh-ye Hajjiabad, Kazerun']
ASK WHERE { resource:Charles_Moore,_11th_Earl_of_Drogheda property:country_of_citizenship resource:Mazraeh-ye_Hajjiabad,_Kazerun }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q5081048,P27,Q17073587)
action is_in
entity Q17073587
action find
entity Q5081048
relation P27
[ANSWER]
['Q5081048', 'P27', 'Q17073587']
ASK WHERE { resource:Q5081048 property:P27 resource:Q17073587 }
No
action is_in
entity Mazraeh-ye Hajjiabad, Kazerun
action find
entity Charles Moore, 11th Earl of Drogheda
relation country of citizenship
['Charles Moore, 11th Earl of Drogheda', 'country of citizenship', 'Mazraeh-ye Hajjiabad, Kazerun']
ASK WHERE { resource:Charles_Moore,_11th_Earl_of_Drogheda property:country_of_citizenship resource:Mazraeh-ye_Hajjiabad,_Kazerun }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2392012 Q5081048
P27
Q15617994
USER
Which administrative territories are Charles Moore, 11th Earl of Drogheda or Frederik August Betlem an inhabitant of ?
OR((Q5081048,P27,c(Q15617994)), (Q2392012,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5081048
relation P27
action find
entity Q2392012
relation P27
type Q15617994
{'OR': [['Q5081048', 'P27', {'concept': 'Q15617994'}], ['Q2392012', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?u ) { ( resource:Q5081048 ) ( resource:Q2392012 ) } . ?u property:P27 ?t } . ?t rdf:type ontology:Q15617994 }
Frederik August Betlem Charles Moore, 11th Earl of Drogheda
action filter_type
action union
action find
entity Charles Moore, 11th Earl of Drogheda
relation country of citizenship
action find
entity Frederik August Betlem
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Charles Moore, 11th Earl of Drogheda', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Frederik August Betlem', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?u ) { ( resource:Charles_Moore,_11th_Earl_of_Drogheda ) ( resource:Frederik_August_Betlem ) } . ?u property:country_of_citizenship ?t } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999 Q145
SYSTEM
Kingdom of the Netherlands, United Kingdom
Q29999 Q145
OR((Q5081048,P27,c(Q15617994)), (Q2392012,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5081048
relation P27
action find
entity Q2392012
relation P27
type Q15617994
Are Charles Moore , 11th Earl of Drogheda or Frederik August Betlem an inhabitant of the [ANSWERS]
{'OR': [['Q5081048', 'P27', {'concept': 'Q15617994'}], ['Q2392012', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?u ) { ( resource:Q5081048 ) ( resource:Q2392012 ) } . ?u property:P27 ?t } . ?t rdf:type ontology:Q15617994 }
Kingdom of the Netherlands United Kingdom
Are Charles Moore , 11th Earl of Drogheda or Frederik August Betlem an inhabitant of the Kingdom of the Netherlands and United Kingdom
Kingdom of the Netherlands United Kingdom
action filter_type
action union
action find
entity Charles Moore, 11th Earl of Drogheda
relation country of citizenship
action find
entity Frederik August Betlem
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Charles Moore, 11th Earl of Drogheda', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Frederik August Betlem', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?u ) { ( resource:Charles_Moore,_11th_Earl_of_Drogheda ) ( resource:Frederik_August_Betlem ) } . ?u property:country_of_citizenship ?t } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q29999 Q145
P1001
Q192350
USER
Which ministries preside the jurisdiction over Kingdom of the Netherlands and United Kingdom ?
(c(Q192350),P1001,Q29999) (c(Q192350),P1001,Q145)
action union
action filter_type
action find_reverse
entity Q29999
relation P1001
type Q192350
action filter_type
action find_reverse
entity Q145
relation P1001
type Q192350
[{'concept': 'Q192350'}, 'P1001', 'Q29999'] [{'concept': 'Q192350'}, 'P1001', 'Q145']
SELECT DISTINCT ?e WHERE { { ?e property:P1001 resource:Q29999 . ?e rdf:type ontology:Q192350 } UNION { ?e property:P1001 resource:Q145 . ?e rdf:type ontology:Q192350 } }
Kingdom of the Netherlands United Kingdom
action union
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation applies to jurisdiction
type ministry
action filter_type
action find_reverse
entity United Kingdom
relation applies to jurisdiction
type ministry
[{'concept': 'ministry'}, 'applies to jurisdiction', 'Kingdom of the Netherlands'] [{'concept': 'ministry'}, 'applies to jurisdiction', 'United Kingdom']
SELECT DISTINCT ?e WHERE { { ?e property:applies_to_jurisdiction resource:Kingdom_of_the_Netherlands . ?e rdf:type ontology:ministry } UNION { ?e property:applies_to_jurisdiction resource:United_Kingdom . ?e rdf:type ontology:ministry } }
[]
ministry
Q25907383 Q358834 Q25991767
SYSTEM
Department for Exiting the European Union, Foreign and Commonwealth Office, Department for International Trade
Q898882 Q25907383 Q5995 Q358834 Q1143261 Q6866602 Q25991767 Q3044721
(c(Q192350),P1001,Q29999) (c(Q192350),P1001,Q145)
action union
action filter_type
action find_reverse
entity Q29999
relation P1001
type Q192350
action filter_type
action find_reverse
entity Q145
relation P1001
type Q192350
Department for exiting the European Union, Foreign and Commonwealth Office and Department for International Trade preside the jurisdiction over Kingdom of the Netherlands and United Kingdom
[{'concept': 'Q192350'}, 'P1001', 'Q29999'] [{'concept': 'Q192350'}, 'P1001', 'Q145']
SELECT DISTINCT ?e WHERE { { ?e property:P1001 resource:Q29999 . ?e rdf:type ontology:Q192350 } UNION { ?e property:P1001 resource:Q145 . ?e rdf:type ontology:Q192350 } }
Ministry of Agriculture, Nature and Food Quality Department for Exiting the European Union Cabinet Office Foreign and Commonwealth Office Ministry of Defence Ministry of Agriculture, Fisheries and Food Department for International Trade Department for Environment, Food and Rural Affairs
Department for exiting the European Union, Foreign and Commonwealth Office and Department for International Trade preside the jurisdiction over Kingdom of the Netherlands and United Kingdom
Department for Exiting the European Union Foreign and Commonwealth Office Department for International Trade
action union
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation applies to jurisdiction
type ministry
action filter_type
action find_reverse
entity United Kingdom
relation applies to jurisdiction
type ministry
[{'concept': 'ministry'}, 'applies to jurisdiction', 'Kingdom of the Netherlands'] [{'concept': 'ministry'}, 'applies to jurisdiction', 'United Kingdom']
SELECT DISTINCT ?e WHERE { { ?e property:applies_to_jurisdiction resource:Kingdom_of_the_Netherlands . ?e rdf:type ontology:ministry } UNION { ?e property:applies_to_jurisdiction resource:United_Kingdom . ?e rdf:type ontology:ministry } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q25907383 Q358834 Q25991767
P159
Q56061
USER
Which administrative territories are the headquarter locations of those ministries ?
(Q25907383,P159,c(Q56061)) (Q358834,P159,c(Q56061)) (Q25991767,P159,c(Q56061))
action filter_type
action find
entity prev_answer
relation P159
type Q56061
['Q25907383', 'P159', {'concept': 'Q56061'}] ['Q358834', 'P159', {'concept': 'Q56061'}] ['Q25991767', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?x ) { ( resource:Q898882 ) ( resource:Q25907383 ) ( resource:Q5995 ) } . ?x property:P159 ?p . ?p rdf:type ontology:Q56061 }
Department for Exiting the European Union Foreign and Commonwealth Office Department for International Trade
action filter_type
action find
entity prev_answer
relation headquarters location
type administrative territorial entity
['Department for Exiting the European Union', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Foreign and Commonwealth Office', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Department for International Trade', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?x ) { ( resource:Ministry_of_Agriculture,_Nature_and_Food_Quality ) ( resource:Department_for_Exiting_the_European_Union ) ( resource:Cabinet_Office ) } . ?x property:headquarters_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84 Q84 Q84
SYSTEM
London
Q84 Q84 Q84
(Q25907383,P159,c(Q56061)) (Q358834,P159,c(Q56061)) (Q25991767,P159,c(Q56061))
action filter_type
action find
entity prev_answer
relation P159
type Q56061
[ANSWER], [ANSWER] and [ANSWER] are the headquarter locations of those ministries
['Q25907383', 'P159', {'concept': 'Q56061'}] ['Q358834', 'P159', {'concept': 'Q56061'}] ['Q25991767', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?x ) { ( resource:Q898882 ) ( resource:Q25907383 ) ( resource:Q5995 ) } . ?x property:P159 ?p . ?p rdf:type ontology:Q56061 }
London London London
London, London and London are the headquarter locations of those ministries
London London London
action filter_type
action find
entity prev_answer
relation headquarters location
type administrative territorial entity
['Department for Exiting the European Union', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Foreign and Commonwealth Office', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Department for International Trade', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?x ) { ( resource:Ministry_of_Agriculture,_Nature_and_Food_Quality ) ( resource:Department_for_Exiting_the_European_Union ) ( resource:Cabinet_Office ) } . ?x property:headquarters_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q358834
P361
Q327333
USER
What is a component of Foreign and Commonwealth Office ?
(c(Q327333),P361,Q358834)
action filter_type
action find_reverse
entity Q358834
relation P361
type Q327333
[{'concept': 'Q327333'}, 'P361', 'Q358834']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q327333 . ?h property:P361 resource:Q358834 }
Foreign and Commonwealth Office
action filter_type
action find_reverse
entity Foreign and Commonwealth Office
relation part of
type government agency
[{'concept': 'government agency'}, 'part of', 'Foreign and Commonwealth Office']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:government_agency . ?h property:part_of resource:Foreign_and_Commonwealth_Office }
[]
government agency
Q16973793
SYSTEM
Her Majesty's Diplomatic Service
Q16973793
(c(Q327333),P361,Q358834)
action filter_type
action find_reverse
entity Q358834
relation P361
type Q327333
A component of Foreign and Commonwealth Office is [ANSWER]
[{'concept': 'Q327333'}, 'P361', 'Q358834']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q327333 . ?h property:P361 resource:Q358834 }
Her Majesty's Diplomatic Service
A component of Foreign and Commonwealth Office is Her Majesty's Diplomatic Service
Her Majesty's Diplomatic Service
action filter_type
action find_reverse
entity Foreign and Commonwealth Office
relation part of
type government agency
[{'concept': 'government agency'}, 'part of', 'Foreign and Commonwealth Office']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:government_agency . ?h property:part_of resource:Foreign_and_Commonwealth_Office }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16973793
P108
Q502895
USER
Which person has that government agency as its employer ?
(c(Q502895),P108,Q16973793)
action filter_type
action find_reverse
entity Q16973793
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q16973793']
SELECT DISTINCT ?i WHERE { ?i property:P108 resource:Q16973793 . ?i rdf:type ontology:Q502895 }
Her Majesty's Diplomatic Service
action filter_type
action find_reverse
entity Her Majesty's Diplomatic Service
relation employer
type common name
[{'concept': 'common name'}, 'employer', "Her Majesty's Diplomatic Service"]
SELECT DISTINCT ?i WHERE { ?i property:employer resource:Her_Majesty's_Diplomatic_Service . ?i rdf:type ontology:common_name }
[]
common name
Q6236103
SYSTEM
John Gray
Q6236103
(c(Q502895),P108,Q16973793)
action filter_type
action find_reverse
entity Q16973793
relation P108
type Q502895
[ANSWER] has that government agency as its employer
[{'concept': 'Q502895'}, 'P108', 'Q16973793']
SELECT DISTINCT ?i WHERE { ?i property:P108 resource:Q16973793 . ?i rdf:type ontology:Q502895 }
John Gray
John Gray has that government agency as its employer
John Gray
action filter_type
action find_reverse
entity Her Majesty's Diplomatic Service
relation employer
type common name
[{'concept': 'common name'}, 'employer', "Her Majesty's Diplomatic Service"]
SELECT DISTINCT ?i WHERE { ?i property:employer resource:Her_Majesty's_Diplomatic_Service . ?i rdf:type ontology:common_name }
[]