Simple Question (Direct)
Simple Question
Q10551284
P19
Q56061
USER
Which administrative territory is the place of birth of Brian Makepeace ?
(Q10551284,P19,c(Q56061))
action filter_type
action find
entity Q10551284
relation P19
type Q56061
['Q10551284', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q10551284 property:P19 ?k }
Brian Makepeace
action filter_type
action find
entity Brian Makepeace
relation place of birth
type administrative territorial entity
['Brian Makepeace', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Brian_Makepeace property:place_of_birth ?k }
[]
administrative territorial entity
Q955961
SYSTEM
Rossington
Q955961
(Q10551284,P19,c(Q56061))
action filter_type
action find
entity Q10551284
relation P19
type Q56061
The [ANSWER] is the place of birth of Brian Makepeace
['Q10551284', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q10551284 property:P19 ?k }
Rossington
The Rossington is the place of birth of Brian Makepeace
Rossington
action filter_type
action find
entity Brian Makepeace
relation place of birth
type administrative territorial entity
['Brian Makepeace', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Brian_Makepeace property:place_of_birth ?k }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1140103 Q955961
P17
Q15617994
USER
Which administrative territories are Rossington or Criots-Bâtard-Montrachet situated in ?
OR((Q955961,P17,c(Q15617994)), (Q1140103,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q955961
relation P17
action find
entity Q1140103
relation P17
type Q15617994
{'OR': [['Q955961', 'P17', {'concept': 'Q15617994'}], ['Q1140103', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q955961 property:P17 ?a } UNION { resource:Q1140103 property:P17 ?a } } . ?a rdf:type ontology:Q15617994 }
Criots-Bâtard-Montrachet Rossington
action filter_type
action union
action find
entity Rossington
relation country
action find
entity Criots-Bâtard-Montrachet
relation country
type designation for an administrative territorial entity
{'OR': [['Rossington', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Criots-Bâtard-Montrachet', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Rossington property:country ?a } UNION { resource:Criots-Bâtard-Montrachet property:country ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q145
SYSTEM
France, United Kingdom
Q142 Q145
OR((Q955961,P17,c(Q15617994)), (Q1140103,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q955961
relation P17
action find
entity Q1140103
relation P17
type Q15617994
Rossington or Criots-Bâtard-Montrachet are situated in [ANSWERS]
{'OR': [['Q955961', 'P17', {'concept': 'Q15617994'}], ['Q1140103', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q955961 property:P17 ?a } UNION { resource:Q1140103 property:P17 ?a } } . ?a rdf:type ontology:Q15617994 }
France United Kingdom
Rossington or Criots-Bâtard-Montrachet are situated in France and United Kingdom
France United Kingdom
action filter_type
action union
action find
entity Rossington
relation country
action find
entity Criots-Bâtard-Montrachet
relation country
type designation for an administrative territorial entity
{'OR': [['Rossington', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Criots-Bâtard-Montrachet', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Rossington property:country ?a } UNION { resource:Criots-Bâtard-Montrachet property:country ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P137
Q3084961 Q728
USER
How many product linings and weapons are the administrator of that administrative territory ?
(c(Q3084961),P137,Q142) (c(Q728),P137,Q142) (c(Q3084961),P137,Q142) (c(Q728),P137,Q142) (c(Q3084961),P137,Q145) (c(Q728),P137,Q145)
[{'concept': 'Q3084961'}, 'P137', 'Q142'] [{'concept': 'Q728'}, 'P137', 'Q142'] [{'concept': 'Q3084961'}, 'P137', 'Q142'] [{'concept': 'Q728'}, 'P137', 'Q142'] [{'concept': 'Q3084961'}, 'P137', 'Q145'] [{'concept': 'Q728'}, 'P137', 'Q145']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q131030 resource:Q16275867 } UNION { ?y property:Q131030 resource:Q16275867 } UNION { ?z property:Q131030 resource:Q16275867 } UNION { ?y property:Q131030 resource:Q16275867 } UNION { ?z property:Q131030 resource:Q225249 } UNION { ?y property:Q131030 resource:Q225249 } } . ?z rdf:type ontology:Q3084961 . ?y rdf:type ontology:Q728 }
[{'concept': 'product lining'}, 'operator', 'France'] [{'concept': 'weapon'}, 'operator', 'France'] [{'concept': 'product lining'}, 'operator', 'France'] [{'concept': 'weapon'}, 'operator', 'France'] [{'concept': 'product lining'}, 'operator', 'United Kingdom'] [{'concept': 'weapon'}, 'operator', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:operator resource:France } UNION { ?y property:operator resource:France } UNION { ?z property:operator resource:France } UNION { ?y property:operator resource:France } UNION { ?z property:operator resource:United_Kingdom } UNION { ?y property:operator resource:United_Kingdom } } . ?z rdf:type ontology:product_lining . ?y rdf:type ontology:weapon }
[]
product lining weapon
Quantitative|Count|Mult. entity type|Clarification
Q142
SYSTEM
Did you mean France ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q131030 resource:Q16275867 } UNION { ?y property:Q131030 resource:Q16275867 } UNION { ?z property:Q131030 resource:Q16275867 } UNION { ?y property:Q131030 resource:Q16275867 } UNION { ?z property:Q131030 resource:Q225249 } UNION { ?y property:Q131030 resource:Q225249 } } . ?z rdf:type ontology:Q3084961 . ?y rdf:type ontology:Q728 }
Did you mean France ?
France
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:operator resource:France } UNION { ?y property:operator resource:France } UNION { ?z property:operator resource:France } UNION { ?y property:operator resource:France } UNION { ?z property:operator resource:United_Kingdom } UNION { ?y property:operator resource:United_Kingdom } } . ?z rdf:type ontology:product_lining . ?y rdf:type ontology:weapon }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q3084961),P137,Q142) (c(Q728),P137,Q142) (c(Q3084961),P137,Q142) (c(Q728),P137,Q142) (c(Q3084961),P137,Q145) (c(Q728),P137,Q145)
[{'concept': 'Q3084961'}, 'P137', 'Q142'] [{'concept': 'Q728'}, 'P137', 'Q142'] [{'concept': 'Q3084961'}, 'P137', 'Q142'] [{'concept': 'Q728'}, 'P137', 'Q142'] [{'concept': 'Q3084961'}, 'P137', 'Q145'] [{'concept': 'Q728'}, 'P137', 'Q145']
[{'concept': 'product lining'}, 'operator', 'France'] [{'concept': 'weapon'}, 'operator', 'France'] [{'concept': 'product lining'}, 'operator', 'France'] [{'concept': 'weapon'}, 'operator', 'France'] [{'concept': 'product lining'}, 'operator', 'United Kingdom'] [{'concept': 'weapon'}, 'operator', 'United Kingdom']
[]
SYSTEM
3 product linings and 1 weapons
Q58725 Q18012286 Q933767 Q676888
(c(Q3084961),P137,Q142) (c(Q728),P137,Q142) (c(Q3084961),P137,Q142) (c(Q728),P137,Q142) (c(Q3084961),P137,Q145) (c(Q728),P137,Q145)
[ANSWER]
[{'concept': 'Q3084961'}, 'P137', 'Q142'] [{'concept': 'Q728'}, 'P137', 'Q142'] [{'concept': 'Q3084961'}, 'P137', 'Q142'] [{'concept': 'Q728'}, 'P137', 'Q142'] [{'concept': 'Q3084961'}, 'P137', 'Q145'] [{'concept': 'Q728'}, 'P137', 'Q145']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q131030 resource:Q16275867 } UNION { ?y property:Q131030 resource:Q16275867 } UNION { ?z property:Q131030 resource:Q16275867 } UNION { ?y property:Q131030 resource:Q16275867 } UNION { ?z property:Q131030 resource:Q225249 } UNION { ?y property:Q131030 resource:Q225249 } } . ?z rdf:type ontology:Q3084961 . ?y rdf:type ontology:Q728 }
T-33 Shooting Star Mirage 2000-5 Hawk 75 AASM
3 product linings and 1 weapons
[{'concept': 'product lining'}, 'operator', 'France'] [{'concept': 'weapon'}, 'operator', 'France'] [{'concept': 'product lining'}, 'operator', 'France'] [{'concept': 'weapon'}, 'operator', 'France'] [{'concept': 'product lining'}, 'operator', 'United Kingdom'] [{'concept': 'weapon'}, 'operator', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:operator resource:France } UNION { ?y property:operator resource:France } UNION { ?z property:operator resource:France } UNION { ?y property:operator resource:France } UNION { ?z property:operator resource:United_Kingdom } UNION { ?y property:operator resource:United_Kingdom } } . ?z rdf:type ontology:product_lining . ?y rdf:type ontology:weapon }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11662485 Q1140103
P17
Q15617994
USER
Which administrative territories are Criots-Bâtard-Montrachet or Aomori Prefectural Road Route 271 a part of ?
OR((Q1140103,P17,c(Q15617994)), (Q11662485,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1140103
relation P17
action find
entity Q11662485
relation P17
type Q15617994
{'OR': [['Q1140103', 'P17', {'concept': 'Q15617994'}], ['Q11662485', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q11662485 property:P17 ?p } UNION { resource:Q1140103 property:P17 ?p } } . ?p rdf:type ontology:Q15617994 }
Aomori Prefectural Road Route 271 Criots-Bâtard-Montrachet
action filter_type
action union
action find
entity Criots-Bâtard-Montrachet
relation country
action find
entity Aomori Prefectural Road Route 271
relation country
type designation for an administrative territorial entity
{'OR': [['Criots-Bâtard-Montrachet', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Aomori Prefectural Road Route 271', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Aomori_Prefectural_Road_Route_271 property:country ?p } UNION { resource:Criots-Bâtard-Montrachet property:country ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q17
SYSTEM
France, Japan
Q142 Q17
OR((Q1140103,P17,c(Q15617994)), (Q11662485,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1140103
relation P17
action find
entity Q11662485
relation P17
type Q15617994
In [ANSWERS] are Criots-Bâtard-Montrachet or Aomori Prefectural Road Route 271 a part of
{'OR': [['Q1140103', 'P17', {'concept': 'Q15617994'}], ['Q11662485', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q11662485 property:P17 ?p } UNION { resource:Q1140103 property:P17 ?p } } . ?p rdf:type ontology:Q15617994 }
France Japan
In France and Japan are Criots-Bâtard-Montrachet or Aomori Prefectural Road Route 271 a part of
France Japan
action filter_type
action union
action find
entity Criots-Bâtard-Montrachet
relation country
action find
entity Aomori Prefectural Road Route 271
relation country
type designation for an administrative territorial entity
{'OR': [['Criots-Bâtard-Montrachet', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Aomori Prefectural Road Route 271', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Aomori_Prefectural_Road_Route_271 property:country ?p } UNION { resource:Criots-Bâtard-Montrachet property:country ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12512021 Q955961
P17
Q15617994
USER
Which administrative territories are Rossington or Sanghiangdengdek present in ?
OR((Q955961,P17,c(Q15617994)), (Q12512021,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q955961
relation P17
action find
entity Q12512021
relation P17
type Q15617994
{'OR': [['Q955961', 'P17', {'concept': 'Q15617994'}], ['Q12512021', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q12512021 property:P17 ?i } UNION { resource:Q955961 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
Sanghiangdengdek Rossington
action filter_type
action union
action find
entity Rossington
relation country
action find
entity Sanghiangdengdek
relation country
type designation for an administrative territorial entity
{'OR': [['Rossington', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Sanghiangdengdek', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Sanghiangdengdek property:country ?i } UNION { resource:Rossington property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q252 Q145
SYSTEM
Indonesia, United Kingdom
Q252 Q145
OR((Q955961,P17,c(Q15617994)), (Q12512021,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q955961
relation P17
action find
entity Q12512021
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q955961', 'P17', {'concept': 'Q15617994'}], ['Q12512021', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q12512021 property:P17 ?i } UNION { resource:Q955961 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
Indonesia United Kingdom
Which administrative territories are Rossington or Sanghiangdengdek present in
Indonesia United Kingdom
action filter_type
action union
action find
entity Rossington
relation country
action find
entity Sanghiangdengdek
relation country
type designation for an administrative territorial entity
{'OR': [['Rossington', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Sanghiangdengdek', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Sanghiangdengdek property:country ?i } UNION { resource:Rossington property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7919600
P495
Q838948
USER
Are those administrative territories a country of origin of Vendetta ?
(Q7919600,P495,Q252) (Q7919600,P495,Q145)
action is_in
entity prev_answer
action find
entity Q7919600
relation P495
['Q7919600', 'P495', 'Q252'] ['Q7919600', 'P495', 'Q145']
ASK WHERE { resource:Q7919600 property:P495 ?y . VALUES ( ?y ) { ( resource:Q252 ) ( resource:Q145 ) } }
Vendetta
action is_in
entity prev_answer
action find
entity Vendetta
relation country of origin
['Vendetta', 'country of origin', 'Indonesia'] ['Vendetta', 'country of origin', 'United Kingdom']
ASK WHERE { resource:Vendetta property:country_of_origin ?y . VALUES ( ?y ) { ( resource:Indonesia ) ( resource:United_Kingdom ) } }
[]
work of art
SYSTEM
YES
(Q7919600,P495,Q252) (Q7919600,P495,Q145)
action is_in
entity prev_answer
action find
entity Q7919600
relation P495
[ANSWER]
['Q7919600', 'P495', 'Q252'] ['Q7919600', 'P495', 'Q145']
ASK WHERE { resource:Q7919600 property:P495 ?y . VALUES ( ?y ) { ( resource:Q252 ) ( resource:Q145 ) } }
Yes
action is_in
entity prev_answer
action find
entity Vendetta
relation country of origin
['Vendetta', 'country of origin', 'Indonesia'] ['Vendetta', 'country of origin', 'United Kingdom']
ASK WHERE { resource:Vendetta property:country_of_origin ?y . VALUES ( ?y ) { ( resource:Indonesia ) ( resource:United_Kingdom ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q17 Q1029
P463
Q43229
USER
How many organizations were Japan and Mozambique a member of ?
(Q17,P463,c(Q43229)) (Q1029,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q17
relation P463
type Q43229
action filter_type
action find
entity Q1029
relation P463
type Q43229
['Q17', 'P463', {'concept': 'Q43229'}] ['Q1029', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { resource:Q17 property:P463 ?k . ?k rdf:type ontology:Q43229 . ?k rdf:type ontology:Q43229 . resource:Q1029 property:P463 ?k }
Japan Mozambique
action count
action intersection
action filter_type
action find
entity Japan
relation member of
type organization
action filter_type
action find
entity Mozambique
relation member of
type organization
['Japan', 'member of', {'concept': 'organization'}] ['Mozambique', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { resource:Japan property:member_of ?k . ?k rdf:type ontology:organization . ?k rdf:type ontology:organization . resource:Mozambique property:member_of ?k }
[]
organization
SYSTEM
6
Q340195 Q191384 Q899770 Q656801 Q7825 Q827525
(Q17,P463,c(Q43229)) (Q1029,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q17
relation P463
type Q43229
action filter_type
action find
entity Q1029
relation P463
type Q43229
[ANSWER]
['Q17', 'P463', {'concept': 'Q43229'}] ['Q1029', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { resource:Q17 property:P463 ?k . ?k rdf:type ontology:Q43229 . ?k rdf:type ontology:Q43229 . resource:Q1029 property:P463 ?k }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation World Trade Organization International Development Association
6
action count
action intersection
action filter_type
action find
entity Japan
relation member of
type organization
action filter_type
action find
entity Mozambique
relation member of
type organization
['Japan', 'member of', {'concept': 'organization'}] ['Mozambique', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { resource:Japan property:member_of ?k . ?k rdf:type ontology:organization . ?k rdf:type ontology:organization . resource:Mozambique property:member_of ?k }
[]