Simple Question (Direct)
Simple Question
Q713909
P166
Q2003221
USER
Which chivalric order was Tan Cheng Lock awarded with ?
(Q713909,P166,c(Q2003221))
action filter_type
action find
entity Q713909
relation P166
type Q2003221
['Q713909', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?u WHERE { resource:Q713909 property:P166 ?u . ?u rdf:type ontology:Q2003221 }
Tan Cheng Lock
action filter_type
action find
entity Tan Cheng Lock
relation award received
type chivalric order
['Tan Cheng Lock', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?u WHERE { resource:Tan_Cheng_Lock property:award_received ?u . ?u rdf:type ontology:chivalric_order }
[]
chivalric order
Q12201445
SYSTEM
Knight Commander of the Order of the British Empire
Q12201445
(Q713909,P166,c(Q2003221))
action filter_type
action find
entity Q713909
relation P166
type Q2003221
Tan Cheng Lock was awarded the [ANSWER]
['Q713909', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?u WHERE { resource:Q713909 property:P166 ?u . ?u rdf:type ontology:Q2003221 }
Knight Commander of the Order of the British Empire
Tan Cheng Lock was awarded the Knight Commander of the Order of the British Empire
Knight Commander of the Order of the British Empire
action filter_type
action find
entity Tan Cheng Lock
relation award received
type chivalric order
['Tan Cheng Lock', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?u WHERE { resource:Tan_Cheng_Lock property:award_received ?u . ?u rdf:type ontology:chivalric_order }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q713909
P735
Q82799
USER
What the name that Tan Cheng Lock is known by ?
(Q713909,P735,c(Q82799))
action filter_type
action find
entity Q713909
relation P735
type Q82799
['Q713909', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q82799 . resource:Q713909 property:P735 ?r }
Tan Cheng Lock
action filter_type
action find
entity Tan Cheng Lock
relation given name
type name
['Tan Cheng Lock', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:name . resource:Tan_Cheng_Lock property:given_name ?r }
[]
name
Q18608336
SYSTEM
Tan
Q18608336
(Q713909,P735,c(Q82799))
action filter_type
action find
entity Q713909
relation P735
type Q82799
Known [ANSWER]
['Q713909', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q82799 . resource:Q713909 property:P735 ?r }
Tan
Known Tan
Tan
action filter_type
action find
entity Tan Cheng Lock
relation given name
type name
['Tan Cheng Lock', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:name . resource:Tan_Cheng_Lock property:given_name ?r }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6106985
Q82799
USER
And what about J. Ronald Eastman?
(Q6106985,P735,c(Q82799))
action filter_type
action find
entity Q6106985
relation P735
type Q82799
['Q6106985', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q82799 . resource:Q6106985 property:P735 ?j }
J. Ronald Eastman
action filter_type
action find
entity J. Ronald Eastman
relation given name
type name
['J. Ronald Eastman', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:name . resource:J._Ronald_Eastman property:given_name ?j }
[]
name
Q19803507
SYSTEM
J.
Q19803507
(Q6106985,P735,c(Q82799))
action filter_type
action find
entity Q6106985
relation P735
type Q82799
[ANSWER]
['Q6106985', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q82799 . resource:Q6106985 property:P735 ?j }
J.
J.
action filter_type
action find
entity J. Ronald Eastman
relation given name
type name
['J. Ronald Eastman', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:name . resource:J._Ronald_Eastman property:given_name ?j }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3573224 Q6106985
P27
Q15617994
USER
Which administrative territories are the native countriesof J. Ronald Eastman or Yun Kihyeon ?
OR((Q6106985,P27,c(Q15617994)), (Q3573224,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6106985
relation P27
action find
entity Q3573224
relation P27
type Q15617994
{'OR': [['Q6106985', 'P27', {'concept': 'Q15617994'}], ['Q3573224', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q6106985 property:P27 ?f } UNION { resource:Q3573224 property:P27 ?f } } . ?f rdf:type ontology:Q15617994 }
Yun Kihyeon J. Ronald Eastman
action filter_type
action union
action find
entity J. Ronald Eastman
relation country of citizenship
action find
entity Yun Kihyeon
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['J. Ronald Eastman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yun Kihyeon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:J._Ronald_Eastman property:country_of_citizenship ?f } UNION { resource:Yun_Kihyeon property:country_of_citizenship ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q884
SYSTEM
United States of America, South Korea
Q30 Q884
OR((Q6106985,P27,c(Q15617994)), (Q3573224,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6106985
relation P27
action find
entity Q3573224
relation P27
type Q15617994
[ANSWERS] are the native countriesof J. Ronald Eastman or Yun Kihyeon
{'OR': [['Q6106985', 'P27', {'concept': 'Q15617994'}], ['Q3573224', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q6106985 property:P27 ?f } UNION { resource:Q3573224 property:P27 ?f } } . ?f rdf:type ontology:Q15617994 }
United States of America South Korea
United States of America and South Korea are the native countriesof J. Ronald Eastman or Yun Kihyeon
United States of America South Korea
action filter_type
action union
action find
entity J. Ronald Eastman
relation country of citizenship
action find
entity Yun Kihyeon
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['J. Ronald Eastman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yun Kihyeon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:J._Ronald_Eastman property:country_of_citizenship ?f } UNION { resource:Yun_Kihyeon property:country_of_citizenship ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q15617994 Q192350 Q12737077
USER
Which administrative territories come under the supervision of approximately 42 ministries and occupations ?
(c(Q192350)|c(Q12737077),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
value 42
[[{'concept': 'Q192350'}, {'concept': 'Q12737077'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?i WHERE { { ?i rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q192350 . ?f property:P1001 ?i } UNION { ?f property:P1001 ?i . ?f rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q15617994 } } GROUP BY ?i } . FILTER ( ?n = 42 ) }
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
value 42
[[{'concept': 'ministry'}, {'concept': 'occupation'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?i WHERE { { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:ministry . ?f property:applies_to_jurisdiction ?i } UNION { ?f property:applies_to_jurisdiction ?i . ?f rdf:type ontology:occupation . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?i } . FILTER ( ?n = 42 ) }
[]
designation for an administrative territorial entity ministry occupation
Q30 Q142 Q801
SYSTEM
United States of America, France, Israel
Q801 Q142 Q30 Q27
(c(Q192350)|c(Q12737077),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
value 42
[ANSWERS] come under the supervision of approximately 42 ministries and occupations
[[{'concept': 'Q192350'}, {'concept': 'Q12737077'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?i WHERE { { ?i rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q192350 . ?f property:P1001 ?i } UNION { ?f property:P1001 ?i . ?f rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q15617994 } } GROUP BY ?i } . FILTER ( ?n = 42 ) }
Israel France United States of America Ireland
United States of America, France and Israel come under the supervision of approximately 42 ministries and occupations
United States of America France Israel
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
value 42
[[{'concept': 'ministry'}, {'concept': 'occupation'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?i WHERE { { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:ministry . ?f property:applies_to_jurisdiction ?i } UNION { ?f property:applies_to_jurisdiction ?i . ?f rdf:type ontology:occupation . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?i } . FILTER ( ?n = 42 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with exactly 9 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 9
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?z ) WHERE { ?m property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?z = 9 ) }
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 9
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?z ) WHERE { ?m property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?z = 9 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q43 Q79
SYSTEM
Turkey, Egypt
Q43 Q79
(c(Q15617994),P530,c(Q15617994))
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 9
[ANSWERS] have diplomatic relations with exactly 9 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?z ) WHERE { ?m property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?z = 9 ) }
Turkey Egypt
Turkey and Egypt have diplomatic relations with exactly 9 administrative territories
Turkey Egypt
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 9
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?z ) WHERE { ?m property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?z = 9 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q408
P530
Q1048835
USER
Do Australia have diplomatic associations with those administrative territories ?
(Q408,P530,Q43) (Q408,P530,Q79)
action is_in
entity prev_answer
action find
entity Q408
relation P530
['Q408', 'P530', 'Q43'] ['Q408', 'P530', 'Q79']
ASK WHERE { resource:Q408 property:P530 ?t . VALUES ( ?t ) { ( resource:Q43 ) ( resource:Q79 ) } }
Australia
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Turkey'] ['Australia', 'diplomatic relation', 'Egypt']
ASK WHERE { resource:Australia property:diplomatic_relation ?t . VALUES ( ?t ) { ( resource:Turkey ) ( resource:Egypt ) } }
[]
political territorial entity
SYSTEM
YES
(Q408,P530,Q43) (Q408,P530,Q79)
action is_in
entity prev_answer
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q43'] ['Q408', 'P530', 'Q79']
ASK WHERE { resource:Q408 property:P530 ?t . VALUES ( ?t ) { ( resource:Q43 ) ( resource:Q79 ) } }
Yes
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Turkey'] ['Australia', 'diplomatic relation', 'Egypt']
ASK WHERE { resource:Australia property:diplomatic_relation ?t . VALUES ( ?t ) { ( resource:Turkey ) ( resource:Egypt ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q801
P840
Q838948
USER
Which works of art have their setting located at Israel ?
(c(Q838948),P840,Q801)
action filter_type
action find_reverse
entity Q801
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q801']
SELECT DISTINCT ?e WHERE { ?e property:P840 resource:Q801 . ?e rdf:type ontology:Q838948 }
Israel
action filter_type
action find_reverse
entity Israel
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Israel']
SELECT DISTINCT ?e WHERE { ?e property:narrative_location resource:Israel . ?e rdf:type ontology:work_of_art }
[]
work of art
Q1247320 Q926309
SYSTEM
Free Zone, Brüno
Q1247320 Q926309
(c(Q838948),P840,Q801)
action filter_type
action find_reverse
entity Q801
relation P840
type Q838948
[ANSWERS] have their setting located at Israel
[{'concept': 'Q838948'}, 'P840', 'Q801']
SELECT DISTINCT ?e WHERE { ?e property:P840 resource:Q801 . ?e rdf:type ontology:Q838948 }
Free Zone Brüno
Free Zone and Brüno have their setting located at Israel
Free Zone Brüno
action filter_type
action find_reverse
entity Israel
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Israel']
SELECT DISTINCT ?e WHERE { ?e property:narrative_location resource:Israel . ?e rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1247320 Q926309
P462
Q1075
USER
What colors are those works of art associated with ?
(Q1247320,P462,c(Q1075)) (Q926309,P462,c(Q1075))
action filter_type
action find
entity prev_answer
relation P462
type Q1075
['Q1247320', 'P462', {'concept': 'Q1075'}] ['Q926309', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?c ) { ( resource:Q1247320 ) ( resource:Q926309 ) } . ?c property:P462 ?b . ?b rdf:type ontology:Q1075 }
Free Zone Brüno
action filter_type
action find
entity prev_answer
relation color
type color
['Free Zone', 'color', {'concept': 'color'}] ['Brüno', 'color', {'concept': 'color'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?c ) { ( resource:Free_Zone ) ( resource:Brüno ) } . ?c property:color ?b . ?b rdf:type ontology:color }
[]
color
Q22006653 Q22006653
SYSTEM
color
Q22006653 Q22006653
(Q1247320,P462,c(Q1075)) (Q926309,P462,c(Q1075))
action filter_type
action find
entity prev_answer
relation P462
type Q1075
Those works of art are associated with [ANSWER] and [ANSWER]
['Q1247320', 'P462', {'concept': 'Q1075'}] ['Q926309', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?c ) { ( resource:Q1247320 ) ( resource:Q926309 ) } . ?c property:P462 ?b . ?b rdf:type ontology:Q1075 }
color color
Those works of art are associated with color and color
color color
action filter_type
action find
entity prev_answer
relation color
type color
['Free Zone', 'color', {'concept': 'color'}] ['Brüno', 'color', {'concept': 'color'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?c ) { ( resource:Free_Zone ) ( resource:Brüno ) } . ?c property:color ?b . ?b rdf:type ontology:color }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P1313
Q895526
USER
Which authority organ serves as the political office that is fulfilled by the head of the government of United States of America ?
(Q30,P1313,c(Q895526))
action filter_type
action find
entity Q30
relation P1313
type Q895526
['Q30', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?a WHERE { resource:Q30 property:P1313 ?a . ?a rdf:type ontology:Q895526 }
United States of America
action filter_type
action find
entity United States of America
relation office held by head of government
type authority organ
['United States of America', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?a WHERE { resource:United_States_of_America property:office_held_by_head_of_government ?a . ?a rdf:type ontology:authority_organ }
[]
authority organ
Q11696
SYSTEM
President of the United States of America
Q11696
(Q30,P1313,c(Q895526))
action filter_type
action find
entity Q30
relation P1313
type Q895526
The [ANSWER] serves as the political office that is fulfilled by the head of the government of United States of America
['Q30', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?a WHERE { resource:Q30 property:P1313 ?a . ?a rdf:type ontology:Q895526 }
President of the United States of America
The President of the United States of America serves as the political office that is fulfilled by the head of the government of United States of America
President of the United States of America
action filter_type
action find
entity United States of America
relation office held by head of government
type authority organ
['United States of America', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?a WHERE { resource:United_States_of_America property:office_held_by_head_of_government ?a . ?a rdf:type ontology:authority_organ }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P136
Q2342494
USER
Which collectable as United States of America as its category ?
(c(Q2342494),P136,Q30)
action filter_type
action find_reverse
entity Q30
relation P136
type Q2342494
[{'concept': 'Q2342494'}, 'P136', 'Q30']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q2342494 . ?q property:P136 resource:Q30 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', 'United States of America']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:collectable . ?q property:genre resource:United_States_of_America }
[]
collectable
Q7979149
SYSTEM
Wedge: The Secret War between the FBI and CIA
Q7979149
(c(Q2342494),P136,Q30)
action filter_type
action find_reverse
entity Q30
relation P136
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P136', 'Q30']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q2342494 . ?q property:P136 resource:Q30 }
Wedge: The Secret War between the FBI and CIA
Wedge: The Secret War between the FBI and CIA
action filter_type
action find_reverse
entity United States of America
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', 'United States of America']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:collectable . ?q property:genre resource:United_States_of_America }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P163
Q14660
USER
Which flag is associated with United States of America ?
(Q30,P163,c(Q14660))
action filter_type
action find
entity Q30
relation P163
type Q14660
['Q30', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q14660 . resource:Q30 property:P163 ?p }
United States of America
action filter_type
action find
entity United States of America
relation flag
type flag
['United States of America', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:flag . resource:United_States_of_America property:flag ?p }
[]
flag
Q42537
SYSTEM
flag of the United States of America
Q42537
(Q30,P163,c(Q14660))
action filter_type
action find
entity Q30
relation P163
type Q14660
The [ANSWER] is associated with United States of America
['Q30', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q14660 . resource:Q30 property:P163 ?p }
flag of the United States of America
The flag of the United States of America is associated with United States of America
flag of the United States of America
action filter_type
action find
entity United States of America
relation flag
type flag
['United States of America', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:flag . resource:United_States_of_America property:flag ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P47
Q15617994
USER
Which administrative territories are bordered by that one ?
(Q42537,P47,c(Q15617994))
action filter_type
action find
entity Q30
relation P47
type Q15617994
['Q42537', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q30 property:P47 ?y . ?y rdf:type ontology:Q15617994 }
United States of America
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
['flag of the United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:United_States_of_America property:shares_border_with ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159 Q17 Q96
SYSTEM
Russia, Japan, Mexico
Q702 Q804 Q159 Q96 Q17 Q786 Q241 Q683 Q710 Q678 Q717 Q790
(Q42537,P47,c(Q15617994))
action filter_type
action find
entity Q30
relation P47
type Q15617994
[ANSWERS] are bordered by that one
['Q42537', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q30 property:P47 ?y . ?y rdf:type ontology:Q15617994 }
Federated States of Micronesia Panama Russia Mexico Japan Dominican Republic Cuba Samoa Kiribati Tonga Venezuela Haiti
Russia, Japan and Mexico are bordered by that one
Russia Japan Mexico
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
['flag of the United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:United_States_of_America property:shares_border_with ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]