Simple Question (Direct)
Simple Question
Q5722532
P20
Q56061
USER
Where did Henry Hammond expire ?
(Q5722532,P20,c(Q56061))
action filter_type
action find
entity Q5722532
relation P20
type Q56061
['Q5722532', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q5722532 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Henry Hammond
action filter_type
action find
entity Henry Hammond
relation place of death
type administrative territorial entity
['Henry Hammond', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Henry_Hammond property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q23436
SYSTEM
Edinburgh
Q23436
(Q5722532,P20,c(Q56061))
action filter_type
action find
entity Q5722532
relation P20
type Q56061
Henry Hammond expired in [ANSWER]
['Q5722532', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q5722532 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Edinburgh
Henry Hammond expired in Edinburgh
Edinburgh
action filter_type
action find
entity Henry Hammond
relation place of death
type administrative territorial entity
['Henry Hammond', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Henry_Hammond property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23436
P1376
Q1048835
USER
Which political territory has that administrative territory has its center of administration ?
(Q23436,P1376,c(Q1048835))
action filter_type
action find
entity Q23436
relation P1376
type Q1048835
['Q23436', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q23436 property:P1376 ?h . ?h rdf:type ontology:Q1048835 }
Edinburgh
action filter_type
action find
entity Edinburgh
relation capital of
type political territorial entity
['Edinburgh', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Edinburgh property:capital_of ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q2379199
SYSTEM
politics of Edinburgh
Q2379199
(Q23436,P1376,c(Q1048835))
action filter_type
action find
entity Q23436
relation P1376
type Q1048835
Is [ANSWER] has that administrative territory has its center of administration
['Q23436', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q23436 property:P1376 ?h . ?h rdf:type ontology:Q1048835 }
politics of Edinburgh
Is politics of Edinburgh has that administrative territory has its center of administration
politics of Edinburgh
action filter_type
action find
entity Edinburgh
relation capital of
type political territorial entity
['Edinburgh', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Edinburgh property:capital_of ?h . ?h rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2379199
P840
Q838948
USER
Which work of art has its narrative set in that political territory ?
(c(Q838948),P840,Q2379199)
action filter_type
action find_reverse
entity Q2379199
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q2379199']
SELECT DISTINCT ?q WHERE { ?q property:P840 resource:Q2379199 . ?q rdf:type ontology:Q838948 }
politics of Edinburgh
action filter_type
action find_reverse
entity politics of Edinburgh
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'politics of Edinburgh']
SELECT DISTINCT ?q WHERE { ?q property:narrative_location resource:politics_of_Edinburgh . ?q rdf:type ontology:work_of_art }
[]
work of art
Q662514
SYSTEM
Ariodante
Q662514
(c(Q838948),P840,Q2379199)
action filter_type
action find_reverse
entity Q2379199
relation P840
type Q838948
[ANSWER] has its narrative set in that political territory
[{'concept': 'Q838948'}, 'P840', 'Q2379199']
SELECT DISTINCT ?q WHERE { ?q property:P840 resource:Q2379199 . ?q rdf:type ontology:Q838948 }
Ariodante
Ariodante has its narrative set in that political territory
Ariodante
action filter_type
action find_reverse
entity politics of Edinburgh
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'politics of Edinburgh']
SELECT DISTINCT ?q WHERE { ?q property:narrative_location resource:politics_of_Edinburgh . ?q rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2379199
P36
Q56061
USER
What is the capital of that political territory ?
(Q662514,P36,c(Q56061))
action filter_type
action find
entity Q2379199
relation P36
type Q56061
['Q662514', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q2379199 property:P36 ?e . ?e rdf:type ontology:Q56061 }
politics of Edinburgh
action filter_type
action find
entity politics of Edinburgh
relation capital
type administrative territorial entity
['Ariodante', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:politics_of_Edinburgh property:capital ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q23436
SYSTEM
Edinburgh
Q23436
(Q662514,P36,c(Q56061))
action filter_type
action find
entity Q2379199
relation P36
type Q56061
The capital of that political territory is of [ANSWER]
['Q662514', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q2379199 property:P36 ?e . ?e rdf:type ontology:Q56061 }
Edinburgh
The capital of that political territory is of Edinburgh
Edinburgh
action filter_type
action find
entity politics of Edinburgh
relation capital
type administrative territorial entity
['Ariodante', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:politics_of_Edinburgh property:capital ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q23436 Q133073 Q1726
P190
Q56061
USER
Is that administrative territory partner town of Dunedin and Munich ?
(Q23436,P190,Q133073) (Q23436,P190,Q1726)
action is_in
entity Q23436
action intersection
action find_reverse
entity Q133073
relation P190
action find_reverse
entity Q1726
relation P190
['Q23436', 'P190', 'Q133073'] ['Q23436', 'P190', 'Q1726']
ASK WHERE { resource:Q23436 property:P190 resource:Q1726 . resource:Q23436 property:P190 resource:Q133073 }
Edinburgh Dunedin Munich
action is_in
entity Edinburgh
action intersection
action find_reverse
entity Dunedin
relation sister city
action find_reverse
entity Munich
relation sister city
['Edinburgh', 'sister city', 'Dunedin'] ['Edinburgh', 'sister city', 'Munich']
ASK WHERE { resource:Edinburgh property:sister_city resource:Munich . resource:Edinburgh property:sister_city resource:Dunedin }
[]
administrative territorial entity
SYSTEM
YES
(Q23436,P190,Q133073) (Q23436,P190,Q1726)
action is_in
entity Q23436
action intersection
action find_reverse
entity Q133073
relation P190
action find_reverse
entity Q1726
relation P190
[ANSWER]
['Q23436', 'P190', 'Q133073'] ['Q23436', 'P190', 'Q1726']
ASK WHERE { resource:Q23436 property:P190 resource:Q1726 . resource:Q23436 property:P190 resource:Q133073 }
Yes
action is_in
entity Edinburgh
action intersection
action find_reverse
entity Dunedin
relation sister city
action find_reverse
entity Munich
relation sister city
['Edinburgh', 'sister city', 'Dunedin'] ['Edinburgh', 'sister city', 'Munich']
ASK WHERE { resource:Edinburgh property:sister_city resource:Munich . resource:Edinburgh property:sister_city resource:Dunedin }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q23436 Q393878
P1376
Q1048835
USER
How many political territories have Edinburgh or King Edward Point as their capital ?
(Q23436,P1376,c(Q1048835)) (Q393878,P1376,c(Q1048835))
action count
action union
action filter_type
action find
entity Q23436
relation P1376
type Q1048835
action filter_type
action find
entity Q393878
relation P1376
type Q1048835
['Q23436', 'P1376', {'concept': 'Q1048835'}] ['Q393878', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { resource:Q23436 property:P1376 ?g . ?g rdf:type ontology:Q1048835 } UNION { resource:Q393878 property:P1376 ?g . ?g rdf:type ontology:Q1048835 } }
Edinburgh King Edward Point
action count
action union
action filter_type
action find
entity Edinburgh
relation capital of
type political territorial entity
action filter_type
action find
entity King Edward Point
relation capital of
type political territorial entity
['Edinburgh', 'capital of', {'concept': 'political territorial entity'}] ['King Edward Point', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { resource:Edinburgh property:capital_of ?g . ?g rdf:type ontology:political_territorial_entity } UNION { resource:King_Edward_Point property:capital_of ?g . ?g rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
SYSTEM
2
Q2379199 Q35086
(Q23436,P1376,c(Q1048835)) (Q393878,P1376,c(Q1048835))
action count
action union
action filter_type
action find
entity Q23436
relation P1376
type Q1048835
action filter_type
action find
entity Q393878
relation P1376
type Q1048835
[ANSWER]
['Q23436', 'P1376', {'concept': 'Q1048835'}] ['Q393878', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { resource:Q23436 property:P1376 ?g . ?g rdf:type ontology:Q1048835 } UNION { resource:Q393878 property:P1376 ?g . ?g rdf:type ontology:Q1048835 } }
politics of Edinburgh South Georgia and the South Sandwich Islands
2
action count
action union
action filter_type
action find
entity Edinburgh
relation capital of
type political territorial entity
action filter_type
action find
entity King Edward Point
relation capital of
type political territorial entity
['Edinburgh', 'capital of', {'concept': 'political territorial entity'}] ['King Edward Point', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { resource:Edinburgh property:capital_of ?g . ?g rdf:type ontology:political_territorial_entity } UNION { resource:King_Edward_Point property:capital_of ?g . ?g rdf:type ontology:political_territorial_entity } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1401
P941
Q502895 Q6619679 Q11424
USER
How many people were more number of fictional humanoids or films inspired by than Petrarch ?
(c(Q6619679)|c(Q11424),P941,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action find_reverse_tuple_counts
relation P941
type Q502895
type Q11424
action count
action filter_multi_types
action find_reverse
entity Q1401
relation P941
type Q6619679
type Q11424
[[{'concept': 'Q6619679'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?t ) WHERE { VALUES ( ?s ) { ( ontology:Q6619679 ) ( ontology:Q11424 ) } . ?w rdf:type ?s } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { ?r property:P941 resource:Q1401 . { ?r rdf:type ?v . VALUES ( ?v ) { ( ontology:Q11424 ) ( ontology:Q6619679 ) } } } } . FILTER ( ?t > ?u ) }
Petrarch
action count
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action find_reverse_tuple_counts
relation inspired by
type common name
type film
action count
action filter_multi_types
action find_reverse
entity Petrarch
relation inspired by
type fictional humanoid
type film
[[{'concept': 'fictional humanoid'}, {'concept': 'film'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?t ) WHERE { VALUES ( ?s ) { ( ontology:fictional_humanoid ) ( ontology:film ) } . ?w rdf:type ?s } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { ?r property:inspired_by resource:Petrarch . { ?r rdf:type ?v . VALUES ( ?v ) { ( ontology:film ) ( ontology:fictional_humanoid ) } } } } . FILTER ( ?t > ?u ) }
[]
common name fictional humanoid film
SYSTEM
4
Q205002 Q2907490 Q22686 Q2409128
(c(Q6619679)|c(Q11424),P941,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action find_reverse_tuple_counts
relation P941
type Q502895
type Q11424
action count
action filter_multi_types
action find_reverse
entity Q1401
relation P941
type Q6619679
type Q11424
[ANSWER]
[[{'concept': 'Q6619679'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?t ) WHERE { VALUES ( ?s ) { ( ontology:Q6619679 ) ( ontology:Q11424 ) } . ?w rdf:type ?s } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { ?r property:P941 resource:Q1401 . { ?r rdf:type ?v . VALUES ( ?v ) { ( ontology:Q11424 ) ( ontology:Q6619679 ) } } } } . FILTER ( ?t > ?u ) }
Joe Grant Bo Gritz Donald Trump Dušan Popov
4
action count
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action find_reverse_tuple_counts
relation inspired by
type common name
type film
action count
action filter_multi_types
action find_reverse
entity Petrarch
relation inspired by
type fictional humanoid
type film
[[{'concept': 'fictional humanoid'}, {'concept': 'film'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?t ) WHERE { VALUES ( ?s ) { ( ontology:fictional_humanoid ) ( ontology:film ) } . ?w rdf:type ?s } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { ?r property:inspired_by resource:Petrarch . { ?r rdf:type ?v . VALUES ( ?v ) { ( ontology:film ) ( ontology:fictional_humanoid ) } } } } . FILTER ( ?t > ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q34013
P941
Q502895 Q6619679 Q11424
USER
And also tell me about Georges Seurat?
(c(Q6619679)|c(Q11424),P941,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action find_reverse_tuple_counts
relation P941
type Q502895
type Q11424
action count
action filter_multi_types
action find_reverse
entity Q34013
relation P941
type Q6619679
type Q11424
[[{'concept': 'Q6619679'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) ?f WHERE { { ?u property:P941 ?f . ?f rdf:type ontology:Q502895 . ?u rdf:type ontology:Q6619679 } UNION { ?u property:P941 ?f . ?f rdf:type ontology:Q502895 . ?u rdf:type ontology:Q11424 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:P941 resource:Q34013 . { { ?a rdf:type ontology:Q6619679 } UNION { ?a rdf:type ontology:Q11424 } } } } . FILTER ( ?h > ?z ) }
Georges Seurat
action count
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action find_reverse_tuple_counts
relation inspired by
type common name
type film
action count
action filter_multi_types
action find_reverse
entity Georges Seurat
relation inspired by
type fictional humanoid
type film
[[{'concept': 'fictional humanoid'}, {'concept': 'film'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) ?f WHERE { { ?u property:inspired_by ?f . ?f rdf:type ontology:common_name . ?u rdf:type ontology:fictional_humanoid } UNION { ?u property:inspired_by ?f . ?f rdf:type ontology:common_name . ?u rdf:type ontology:film } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:inspired_by resource:Georges_Seurat . { { ?a rdf:type ontology:fictional_humanoid } UNION { ?a rdf:type ontology:film } } } } . FILTER ( ?h > ?z ) }
[]
common name fictional humanoid film
SYSTEM
4
Q205002 Q2907490 Q22686 Q2409128
(c(Q6619679)|c(Q11424),P941,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action find_reverse_tuple_counts
relation P941
type Q502895
type Q11424
action count
action filter_multi_types
action find_reverse
entity Q34013
relation P941
type Q6619679
type Q11424
[ANSWER]
[[{'concept': 'Q6619679'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) ?f WHERE { { ?u property:P941 ?f . ?f rdf:type ontology:Q502895 . ?u rdf:type ontology:Q6619679 } UNION { ?u property:P941 ?f . ?f rdf:type ontology:Q502895 . ?u rdf:type ontology:Q11424 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:P941 resource:Q34013 . { { ?a rdf:type ontology:Q6619679 } UNION { ?a rdf:type ontology:Q11424 } } } } . FILTER ( ?h > ?z ) }
Joe Grant Bo Gritz Donald Trump Dušan Popov
4
action count
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action find_reverse_tuple_counts
relation inspired by
type common name
type film
action count
action filter_multi_types
action find_reverse
entity Georges Seurat
relation inspired by
type fictional humanoid
type film
[[{'concept': 'fictional humanoid'}, {'concept': 'film'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) ?f WHERE { { ?u property:inspired_by ?f . ?f rdf:type ontology:common_name . ?u rdf:type ontology:fictional_humanoid } UNION { ?u property:inspired_by ?f . ?f rdf:type ontology:common_name . ?u rdf:type ontology:film } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:inspired_by resource:Georges_Seurat . { { ?a rdf:type ontology:fictional_humanoid } UNION { ?a rdf:type ontology:film } } } } . FILTER ( ?h > ?z ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18981030 Q2379199
P17
Q15617994
USER
Which administrative territories are politics of Edinburgh or Butaanweg situated in ?
OR((Q2379199,P17,c(Q15617994)), (Q18981030,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2379199
relation P17
action find
entity Q18981030
relation P17
type Q15617994
{'OR': [['Q2379199', 'P17', {'concept': 'Q15617994'}], ['Q18981030', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . { { resource:Q2379199 property:P17 ?t } UNION { resource:Q18981030 property:P17 ?t } } }
Butaanweg politics of Edinburgh
action filter_type
action union
action find
entity politics of Edinburgh
relation country
action find
entity Butaanweg
relation country
type designation for an administrative territorial entity
{'OR': [['politics of Edinburgh', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Butaanweg', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:politics_of_Edinburgh property:country ?t } UNION { resource:Butaanweg property:country ?t } } }
[]
designation for an administrative territorial entity
Q55 Q145
SYSTEM
Netherlands, United Kingdom
Q55 Q145
OR((Q2379199,P17,c(Q15617994)), (Q18981030,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2379199
relation P17
action find
entity Q18981030
relation P17
type Q15617994
Politics of Edinburgh or Butaanweg are situated in [ANSWERS]
{'OR': [['Q2379199', 'P17', {'concept': 'Q15617994'}], ['Q18981030', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . { { resource:Q2379199 property:P17 ?t } UNION { resource:Q18981030 property:P17 ?t } } }
Netherlands United Kingdom
Politics of Edinburgh or Butaanweg are situated in Netherlands and United Kingdom
Netherlands United Kingdom
action filter_type
action union
action find
entity politics of Edinburgh
relation country
action find
entity Butaanweg
relation country
type designation for an administrative territorial entity
{'OR': [['politics of Edinburgh', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Butaanweg', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:politics_of_Edinburgh property:country ?t } UNION { resource:Butaanweg property:country ?t } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q408
P530
Q1048835
USER
Do Australia have diplomatic relations with those administrative territories ?
(Q408,P530,Q55) (Q408,P530,Q145)
action is_in
entity prev_answer
action find
entity Q408
relation P530
['Q408', 'P530', 'Q55'] ['Q408', 'P530', 'Q145']
ASK WHERE { resource:Q408 property:P530 ?c . VALUES ( ?c ) { ( resource:Q55 ) ( resource:Q145 ) } }
Australia
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Netherlands'] ['Australia', 'diplomatic relation', 'United Kingdom']
ASK WHERE { resource:Australia property:diplomatic_relation ?c . VALUES ( ?c ) { ( resource:Netherlands ) ( resource:United_Kingdom ) } }
[]
political territorial entity
SYSTEM
YES
(Q408,P530,Q55) (Q408,P530,Q145)
action is_in
entity prev_answer
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q55'] ['Q408', 'P530', 'Q145']
ASK WHERE { resource:Q408 property:P530 ?c . VALUES ( ?c ) { ( resource:Q55 ) ( resource:Q145 ) } }
Yes
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Netherlands'] ['Australia', 'diplomatic relation', 'United Kingdom']
ASK WHERE { resource:Australia property:diplomatic_relation ?c . VALUES ( ?c ) { ( resource:Netherlands ) ( resource:United_Kingdom ) } }
[]