Simple Question (Direct)
Simple Question
Q696521
P39
Q12737077
USER
Which occupation was a position occupied by Arnold Westphal ?
(Q696521,P39,c(Q12737077))
action filter_type
action find
entity Q696521
relation P39
type Q12737077
['Q696521', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q696521 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
Arnold Westphal
action filter_type
action find
entity Arnold Westphal
relation position held
type occupation
['Arnold Westphal', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Arnold_Westphal property:position_held ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q29182
SYSTEM
bishop
Q29182
(Q696521,P39,c(Q12737077))
action filter_type
action find
entity Q696521
relation P39
type Q12737077
[ANSWER] was a position occupied by Arnold Westphal
['Q696521', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q696521 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
bishop
Bishop was a position occupied by Arnold Westphal
bishop
action filter_type
action find
entity Arnold Westphal
relation position held
type occupation
['Arnold Westphal', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Arnold_Westphal property:position_held ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q696521
P22
Q502895
USER
Which person was the father of that one ?
(Q29182,P22,c(Q502895))
action filter_type
action find
entity Q696521
relation P22
type Q502895
['Q29182', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q696521 property:P22 ?c . ?c rdf:type ontology:Q502895 }
Arnold Westphal
action filter_type
action find
entity Arnold Westphal
relation father
type common name
['bishop', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Arnold_Westphal property:father ?c . ?c rdf:type ontology:common_name }
[]
common name
Q15906809
SYSTEM
Hermann Westphal
Q15906809
(Q29182,P22,c(Q502895))
action filter_type
action find
entity Q696521
relation P22
type Q502895
[ANSWER] was the father of that one
['Q29182', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q696521 property:P22 ?c . ?c rdf:type ontology:Q502895 }
Hermann Westphal
Hermann Westphal was the father of that one
Hermann Westphal
action filter_type
action find
entity Arnold Westphal
relation father
type common name
['bishop', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Arnold_Westphal property:father ?c . ?c rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q24572395 Q696521
P27
Q1048835
USER
Which political territories are the countries of citizenship of Arnold Westphal or Emily Morley ?
OR((Q696521,P27,c(Q1048835)), (Q24572395,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q696521
relation P27
action find
entity Q24572395
relation P27
type Q1048835
{'OR': [['Q696521', 'P27', {'concept': 'Q1048835'}], ['Q24572395', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?r ) { ( resource:Q24572395 ) ( resource:Q696521 ) } . ?r property:P27 ?o } . ?o rdf:type ontology:Q1048835 }
Emily Morley Arnold Westphal
action filter_type
action union
action find
entity Arnold Westphal
relation country of citizenship
action find
entity Emily Morley
relation country of citizenship
type political territorial entity
{'OR': [['Arnold Westphal', 'country of citizenship', {'concept': 'political territorial entity'}], ['Emily Morley', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?r ) { ( resource:Emily_Morley ) ( resource:Arnold_Westphal ) } . ?r property:country_of_citizenship ?o } . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q778
SYSTEM
Germany, The Bahamas
Q183 Q778
OR((Q696521,P27,c(Q1048835)), (Q24572395,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q696521
relation P27
action find
entity Q24572395
relation P27
type Q1048835
[ANSWERS] are the countries of citizenship of Arnold Westphal or Emily Morley
{'OR': [['Q696521', 'P27', {'concept': 'Q1048835'}], ['Q24572395', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?r ) { ( resource:Q24572395 ) ( resource:Q696521 ) } . ?r property:P27 ?o } . ?o rdf:type ontology:Q1048835 }
Germany The Bahamas
Germany and The Bahamas are the countries of citizenship of Arnold Westphal or Emily Morley
Germany The Bahamas
action filter_type
action union
action find
entity Arnold Westphal
relation country of citizenship
action find
entity Emily Morley
relation country of citizenship
type political territorial entity
{'OR': [['Arnold Westphal', 'country of citizenship', {'concept': 'political territorial entity'}], ['Emily Morley', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?r ) { ( resource:Emily_Morley ) ( resource:Arnold_Westphal ) } . ?r property:country_of_citizenship ?o } . ?o rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q16
P530
Q1048835 Q1048835
USER
How many political territories holds diplomatic relationship with less number of political territories than Canada ?
(c(Q1048835),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ontology:Q1048835 . resource:Q16 property:P530 ?a } } . FILTER ( ?n < ?u ) . { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?n ) WHERE { ?x property:P530 ?f . ?x rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q1048835 } GROUP BY ?x } }
Canada
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ontology:political_territorial_entity . resource:Canada property:diplomatic_relation ?a } } . FILTER ( ?n < ?u ) . { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?n ) WHERE { ?x property:diplomatic_relation ?f . ?x rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:political_territorial_entity } GROUP BY ?x } }
[]
political territorial entity political territorial entity
SYSTEM
10
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ontology:Q1048835 . resource:Q16 property:P530 ?a } } . FILTER ( ?n < ?u ) . { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?n ) WHERE { ?x property:P530 ?f . ?x rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q1048835 } GROUP BY ?x } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
10
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ontology:political_territorial_entity . resource:Canada property:diplomatic_relation ?a } } . FILTER ( ?n < ?u ) . { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?n ) WHERE { ?x property:diplomatic_relation ?f . ?x rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:political_territorial_entity } GROUP BY ?x } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q408
P530
Q1048835 Q1048835
USER
And how about Australia?
(c(Q1048835),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q408
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?l ) WHERE { ?e property:P530 ?d . ?e rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q1048835 } GROUP BY ?e } . FILTER ( ?l < ?a ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Q408 property:P530 ?v . ?v rdf:type ontology:Q1048835 } } }
Australia
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Australia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?l ) WHERE { ?e property:diplomatic_relation ?d . ?e rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:political_territorial_entity } GROUP BY ?e } . FILTER ( ?l < ?a ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Australia property:diplomatic_relation ?v . ?v rdf:type ontology:political_territorial_entity } } }
[]
political territorial entity political territorial entity
SYSTEM
12
Q1000 Q40 Q781 Q778 Q183 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q408
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?l ) WHERE { ?e property:P530 ?d . ?e rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q1048835 } GROUP BY ?e } . FILTER ( ?l < ?a ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Q408 property:P530 ?v . ?v rdf:type ontology:Q1048835 } } }
Gabon Austria Antigua and Barbuda The Bahamas Germany Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
12
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Australia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?l ) WHERE { ?e property:diplomatic_relation ?d . ?e rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:political_territorial_entity } GROUP BY ?e } . FILTER ( ?l < ?a ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Australia property:diplomatic_relation ?v . ?v rdf:type ontology:political_territorial_entity } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q7978391 Q16
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relations with Canada and are Weaversdown Halt railway station present in ?
AND((Q16,P530,c(Q15617994)), (Q7978391,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16
relation P530
action find
entity Q7978391
relation P17
type Q15617994
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], ['Q7978391', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { resource:Q16 property:P530 ?v . resource:Q7978391 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Weaversdown Halt railway station Canada
action filter_type
action intersection
action find
entity Canada
relation diplomatic relation
action find
entity Weaversdown Halt railway station
relation country
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Weaversdown Halt railway station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { resource:Canada property:diplomatic_relation ?v . resource:Weaversdown_Halt_railway_station property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
AND((Q16,P530,c(Q15617994)), (Q7978391,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16
relation P530
action find
entity Q7978391
relation P17
type Q15617994
[ANSWER] have diplomatic relations with Canada and are Weaversdown Halt railway station present in
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], ['Q7978391', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { resource:Q16 property:P530 ?v . resource:Q7978391 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom have diplomatic relations with Canada and are Weaversdown Halt railway station present in
United Kingdom
action filter_type
action intersection
action find
entity Canada
relation diplomatic relation
action find
entity Weaversdown Halt railway station
relation country
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Weaversdown Halt railway station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { resource:Canada property:diplomatic_relation ?v . resource:Weaversdown_Halt_railway_station property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q145 Q674432 Q1606231
P530
Q1048835
USER
Is that administrative territory known to have diplomatic connections with Paudalho and Montederramo ?
(Q145,P530,Q674432) (Q145,P530,Q1606231)
action is_in
entity Q145
action intersection
action find_reverse
entity Q674432
relation P530
action find_reverse
entity Q1606231
relation P530
['Q145', 'P530', 'Q674432'] ['Q145', 'P530', 'Q1606231']
ASK WHERE { resource:Q145 property:P530 resource:Q674432 . resource:Q145 property:P530 resource:Q1606231 }
United Kingdom Paudalho Montederramo
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Paudalho
relation diplomatic relation
action find_reverse
entity Montederramo
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Paudalho'] ['United Kingdom', 'diplomatic relation', 'Montederramo']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Paudalho . resource:United_Kingdom property:diplomatic_relation resource:Montederramo }
[]
political territorial entity
SYSTEM
NO
(Q145,P530,Q674432) (Q145,P530,Q1606231)
action is_in
entity Q145
action intersection
action find_reverse
entity Q674432
relation P530
action find_reverse
entity Q1606231
relation P530
[ANSWER]
['Q145', 'P530', 'Q674432'] ['Q145', 'P530', 'Q1606231']
ASK WHERE { resource:Q145 property:P530 resource:Q674432 . resource:Q145 property:P530 resource:Q1606231 }
No
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Paudalho
relation diplomatic relation
action find_reverse
entity Montederramo
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Paudalho'] ['United Kingdom', 'diplomatic relation', 'Montederramo']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Paudalho . resource:United_Kingdom property:diplomatic_relation resource:Montederramo }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P172
Q502895
USER
Which people have that administrative territory as ethnic group ?
action filter_type
action find_reverse
entity Q145
relation P172
type Q502895
SELECT DISTINCT ?v WHERE { ?v property:P172 resource:Q145 . ?v rdf:type ontology:Q502895 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation ethnic group
type common name
SELECT DISTINCT ?v WHERE { ?v property:ethnic_group resource:United_Kingdom . ?v rdf:type ontology:common_name }
[]
common name
Q5460575 Q5578020 Q515011
SYSTEM
Florence Brudenell-Bruce, Gok Wan, Dale Winton
Q5460575 Q5578020 Q515011
action filter_type
action find_reverse
entity Q145
relation P172
type Q502895
[ANSWERS] have that administrative territory as ethnic group
SELECT DISTINCT ?v WHERE { ?v property:P172 resource:Q145 . ?v rdf:type ontology:Q502895 }
Florence Brudenell-Bruce Gok Wan Dale Winton
Florence Brudenell-Bruce, Gok Wan and Dale Winton have that administrative territory as ethnic group
Florence Brudenell-Bruce Gok Wan Dale Winton
action filter_type
action find_reverse
entity United Kingdom
relation ethnic group
type common name
SELECT DISTINCT ?v WHERE { ?v property:ethnic_group resource:United_Kingdom . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q2221906 Q553036 Q1048835
USER
Which political territories have their location as atleast 1 geographic locations and natural region of Germanys ?
(c(Q1048835),P706,c(Q2221906)|c(Q553036))
action atleast
action union
action find_tuple_counts
relation P706
type Q1048835
type Q2221906
action find_tuple_counts
relation P706
type Q1048835
type Q553036
value 1
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?f >= 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?f ) WHERE { { ?w property:P706 ?d . ?w rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q2221906 } UNION { ?w rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q553036 . ?w property:P706 ?d } } GROUP BY ?w } }
action atleast
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type geographic location
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type natural region of Germany
value 1
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?f >= 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?f ) WHERE { { ?w property:located_on_terrain_feature ?d . ?w rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:geographic_location } UNION { ?w rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:natural_region_of_Germany . ?w property:located_on_terrain_feature ?d } } GROUP BY ?w } }
[]
geographic location natural region of Germany political territorial entity
Q766 Q778 Q5785
SYSTEM
Jamaica, The Bahamas, Cayman Islands
Q13353 Q6139 Q168856 Q5785 Q25228 Q8583 Q170213 Q766 Q8593 Q18221 Q778 Q5700 Q25305
(c(Q1048835),P706,c(Q2221906)|c(Q553036))
action atleast
action union
action find_tuple_counts
relation P706
type Q1048835
type Q2221906
action find_tuple_counts
relation P706
type Q1048835
type Q553036
value 1
[ANSWERS] have their location as atleast 1 geographic locations and natural region of Germanys
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?f >= 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?f ) WHERE { { ?w property:P706 ?d . ?w rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q2221906 } UNION { ?w rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q553036 . ?w property:P706 ?d } } GROUP BY ?w } }
Montserrat Havelland Chernivtsi Oblast Cayman Islands Anguilla Vulkaneifel Zakarpattia Oblast Jamaica Mayen-Koblenz Turks and Caicos Islands The Bahamas Lapland British Virgin Islands
Jamaica, The Bahamas and Cayman Islands have their location as atleast 1 geographic locations and natural region of Germanys
Jamaica The Bahamas Cayman Islands
action atleast
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type geographic location
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type natural region of Germany
value 1
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?f >= 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?f ) WHERE { { ?w property:located_on_terrain_feature ?d . ?w rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:geographic_location } UNION { ?w rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:natural_region_of_Germany . ?w property:located_on_terrain_feature ?d } } GROUP BY ?w } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q766 Q778 Q5785
P1376
Q56061
USER
Which administrative territories are the county seat for those political territories ?
(c(Q56061),P1376,Q766) (c(Q56061),P1376,Q778) (c(Q56061),P1376,Q5785)
action filter_type
action find_reverse
entity prev_answer
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q766'] [{'concept': 'Q56061'}, 'P1376', 'Q778'] [{'concept': 'Q56061'}, 'P1376', 'Q5785']
SELECT DISTINCT ?h WHERE { VALUES ( ?q ) { ( resource:Q13353 ) ( resource:Q6139 ) ( resource:Q168856 ) } . ?h property:P1376 ?q . ?h rdf:type ontology:Q56061 }
Jamaica The Bahamas Cayman Islands
action filter_type
action find_reverse
entity prev_answer
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Jamaica'] [{'concept': 'administrative territorial entity'}, 'capital of', 'The Bahamas'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Cayman Islands']
SELECT DISTINCT ?h WHERE { VALUES ( ?q ) { ( resource:Montserrat ) ( resource:Havelland ) ( resource:Chernivtsi_Oblast ) } . ?h property:capital_of ?q . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q34692 Q2467 Q172996
SYSTEM
Kingston, Nassau, George Town
Q34692 Q2467 Q172996
(c(Q56061),P1376,Q766) (c(Q56061),P1376,Q778) (c(Q56061),P1376,Q5785)
action filter_type
action find_reverse
entity prev_answer
relation P1376
type Q56061
Are [ANSWERS] are the county seat for those political territories
[{'concept': 'Q56061'}, 'P1376', 'Q766'] [{'concept': 'Q56061'}, 'P1376', 'Q778'] [{'concept': 'Q56061'}, 'P1376', 'Q5785']
SELECT DISTINCT ?h WHERE { VALUES ( ?q ) { ( resource:Q13353 ) ( resource:Q6139 ) ( resource:Q168856 ) } . ?h property:P1376 ?q . ?h rdf:type ontology:Q56061 }
Kingston Nassau George Town
Are Kingston, Nassau and George Town are the county seat for those political territories
Kingston Nassau George Town
action filter_type
action find_reverse
entity prev_answer
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Jamaica'] [{'concept': 'administrative territorial entity'}, 'capital of', 'The Bahamas'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Cayman Islands']
SELECT DISTINCT ?h WHERE { VALUES ( ?q ) { ( resource:Montserrat ) ( resource:Havelland ) ( resource:Chernivtsi_Oblast ) } . ?h property:capital_of ?q . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q34692 Q2467 Q172996
P36
Q1048835
USER
Which political territories consists of Kingston, Nassau and George Town as their capital ?
(c(Q1048835),P36,Q34692) (c(Q1048835),P36,Q2467) (c(Q1048835),P36,Q172996)
action union
action filter_type
action find_reverse
entity Q34692
relation P36
type Q1048835
action filter_type
action find_reverse
entity Q2467
relation P36
type Q1048835
action filter_type
action find_reverse
entity Q172996
relation P36
type Q1048835
[{'concept': 'Q1048835'}, 'P36', 'Q34692'] [{'concept': 'Q1048835'}, 'P36', 'Q2467'] [{'concept': 'Q1048835'}, 'P36', 'Q172996']
SELECT DISTINCT ?f WHERE { VALUES ( ?h ) { ( resource:Q34692 ) ( resource:Q2467 ) } . ?f property:P36 ?h }
Kingston Nassau George Town
action union
action filter_type
action find_reverse
entity Kingston
relation capital
type political territorial entity
action filter_type
action find_reverse
entity Nassau
relation capital
type political territorial entity
action filter_type
action find_reverse
entity George Town
relation capital
type political territorial entity
[{'concept': 'political territorial entity'}, 'capital', 'Kingston'] [{'concept': 'political territorial entity'}, 'capital', 'Nassau'] [{'concept': 'political territorial entity'}, 'capital', 'George Town']
SELECT DISTINCT ?f WHERE { VALUES ( ?h ) { ( resource:Kingston ) ( resource:Nassau ) } . ?f property:capital ?h }
[]
political territorial entity
Q766 Q778 Q5785
SYSTEM
Jamaica, The Bahamas, Cayman Islands
Q766 Q778 Q18085321 Q5785
(c(Q1048835),P36,Q34692) (c(Q1048835),P36,Q2467) (c(Q1048835),P36,Q172996)
action union
action filter_type
action find_reverse
entity Q34692
relation P36
type Q1048835
action filter_type
action find_reverse
entity Q2467
relation P36
type Q1048835
action filter_type
action find_reverse
entity Q172996
relation P36
type Q1048835
[ANSWERS] consist of Kingston, Nassau and George Town as their capital
[{'concept': 'Q1048835'}, 'P36', 'Q34692'] [{'concept': 'Q1048835'}, 'P36', 'Q2467'] [{'concept': 'Q1048835'}, 'P36', 'Q172996']
SELECT DISTINCT ?f WHERE { VALUES ( ?h ) { ( resource:Q34692 ) ( resource:Q2467 ) } . ?f property:P36 ?h }
Jamaica The Bahamas Republic of Pirates Cayman Islands
Jamaica, The Bahamas and Cayman Islands consist of Kingston, Nassau and George Town as their capital
Jamaica The Bahamas Cayman Islands
action union
action filter_type
action find_reverse
entity Kingston
relation capital
type political territorial entity
action filter_type
action find_reverse
entity Nassau
relation capital
type political territorial entity
action filter_type
action find_reverse
entity George Town
relation capital
type political territorial entity
[{'concept': 'political territorial entity'}, 'capital', 'Kingston'] [{'concept': 'political territorial entity'}, 'capital', 'Nassau'] [{'concept': 'political territorial entity'}, 'capital', 'George Town']
SELECT DISTINCT ?f WHERE { VALUES ( ?h ) { ( resource:Kingston ) ( resource:Nassau ) } . ?f property:capital ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34692
P206
Q15324
USER
Which body of water is situated nearby Kingston ?
(Q766,P206,c(Q15324)) (Q778,P206,c(Q15324)) (Q5785,P206,c(Q15324))
action filter_type
action find
entity Q34692
relation P206
type Q15324
['Q766', 'P206', {'concept': 'Q15324'}] ['Q778', 'P206', {'concept': 'Q15324'}] ['Q5785', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?p WHERE { resource:Q34692 property:P206 ?p . ?p rdf:type ontology:Q15324 }
Kingston
action filter_type
action find
entity Kingston
relation located next to body of water
type body of water
['Jamaica', 'located next to body of water', {'concept': 'body of water'}] ['The Bahamas', 'located next to body of water', {'concept': 'body of water'}] ['Cayman Islands', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?p WHERE { resource:Kingston property:located_next_to_body_of_water ?p . ?p rdf:type ontology:body_of_water }
[]
body of water
Q1247
SYSTEM
Caribbean Sea
Q1247
(Q766,P206,c(Q15324)) (Q778,P206,c(Q15324)) (Q5785,P206,c(Q15324))
action filter_type
action find
entity Q34692
relation P206
type Q15324
In [ANSWER] is situated nearby Kingston
['Q766', 'P206', {'concept': 'Q15324'}] ['Q778', 'P206', {'concept': 'Q15324'}] ['Q5785', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?p WHERE { resource:Q34692 property:P206 ?p . ?p rdf:type ontology:Q15324 }
Caribbean Sea
In Caribbean Sea is situated nearby Kingston
Caribbean Sea
action filter_type
action find
entity Kingston
relation located next to body of water
type body of water
['Jamaica', 'located next to body of water', {'concept': 'body of water'}] ['The Bahamas', 'located next to body of water', {'concept': 'body of water'}] ['Cayman Islands', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?p WHERE { resource:Kingston property:located_next_to_body_of_water ?p . ?p rdf:type ontology:body_of_water }
[]