Simple Question (Direct)
Simple Question
Q5484879
P119
Q39614
USER
Which cemetery is the place of burial of Frank A. Keating ?
(Q5484879,P119,c(Q39614))
action filter_type
action find
entity Q5484879
relation P119
type Q39614
['Q5484879', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?n WHERE { resource:Q5484879 property:P119 ?n . ?n rdf:type ontology:Q39614 }
Frank A. Keating
action filter_type
action find
entity Frank A. Keating
relation place of burial
type cemetery
['Frank A. Keating', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?n WHERE { resource:Frank_A._Keating property:place_of_burial ?n . ?n rdf:type ontology:cemetery }
[]
cemetery
Q216344
SYSTEM
Arlington National Cemetery
Q216344
(Q5484879,P119,c(Q39614))
action filter_type
action find
entity Q5484879
relation P119
type Q39614
[ANSWER] is the place of burial of Frank A. Keating
['Q5484879', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?n WHERE { resource:Q5484879 property:P119 ?n . ?n rdf:type ontology:Q39614 }
Arlington National Cemetery
Arlington National Cemetery is the place of burial of Frank A. Keating
Arlington National Cemetery
action filter_type
action find
entity Frank A. Keating
relation place of burial
type cemetery
['Frank A. Keating', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?n WHERE { resource:Frank_A._Keating property:place_of_burial ?n . ?n rdf:type ontology:cemetery }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5484879
P166
Q618779
USER
Which awards were received by that person ?
(Q216344,P166,c(Q618779))
action filter_type
action find
entity Q5484879
relation P166
type Q618779
['Q216344', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?a WHERE { resource:Q5484879 property:P166 ?a . ?a rdf:type ontology:Q618779 }
Frank A. Keating
action filter_type
action find
entity Frank A. Keating
relation award received
type award
['Arlington National Cemetery', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?a WHERE { resource:Frank_A._Keating property:award_received ?a . ?a rdf:type ontology:award }
[]
award
Q724443 Q928314
SYSTEM
Legion of Merit, Bronze Star Medal
Q724443 Q928314
(Q216344,P166,c(Q618779))
action filter_type
action find
entity Q5484879
relation P166
type Q618779
The [ANSWERS] were received by that person
['Q216344', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?a WHERE { resource:Q5484879 property:P166 ?a . ?a rdf:type ontology:Q618779 }
Legion of Merit Bronze Star Medal
The Legion of Merit and Bronze Star Medal were received by that person
Legion of Merit Bronze Star Medal
action filter_type
action find
entity Frank A. Keating
relation award received
type award
['Arlington National Cemetery', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?a WHERE { resource:Frank_A._Keating property:award_received ?a . ?a rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5484879
P21
Q290
USER
What is the sex of Frank A. Keating ?
(Q5484879,P21,c(Q290))
action filter_type
action find
entity Q5484879
relation P21
type Q290
['Q5484879', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q5484879 property:P21 ?v }
Frank A. Keating
action filter_type
action find
entity Frank A. Keating
relation gender
type sex
['Frank A. Keating', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Frank_A._Keating property:gender ?v }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5484879,P21,c(Q290))
action filter_type
action find
entity Q5484879
relation P21
type Q290
The sex of Frank A . Keating is the [ANSWER]
['Q5484879', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q5484879 property:P21 ?v }
male
The sex of Frank A . Keating is the male
male
action filter_type
action find
entity Frank A. Keating
relation gender
type sex
['Frank A. Keating', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Frank_A._Keating property:gender ?v }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1507723
Q290
USER
And what about George Kuchar?
(Q1507723,P21,c(Q290))
action filter_type
action find
entity Q1507723
relation P21
type Q290
['Q1507723', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q1507723 property:P21 ?e . ?e rdf:type ontology:Q290 }
George Kuchar
action filter_type
action find
entity George Kuchar
relation gender
type sex
['George Kuchar', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:George_Kuchar property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1507723,P21,c(Q290))
action filter_type
action find
entity Q1507723
relation P21
type Q290
[ANSWER]
['Q1507723', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q1507723 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity George Kuchar
relation gender
type sex
['George Kuchar', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:George_Kuchar property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q216344
P276
Q4989906
USER
Which monument has its location as Arlington National Cemetery ?
(c(Q4989906),P276,Q216344)
action filter_type
action find_reverse
entity Q216344
relation P276
type Q4989906
[{'concept': 'Q4989906'}, 'P276', 'Q216344']
SELECT DISTINCT ?c WHERE { ?c property:P276 resource:Q216344 . ?c rdf:type ontology:Q4989906 }
Arlington National Cemetery
action filter_type
action find_reverse
entity Arlington National Cemetery
relation location
type monument
[{'concept': 'monument'}, 'location', 'Arlington National Cemetery']
SELECT DISTINCT ?c WHERE { ?c property:location resource:Arlington_National_Cemetery . ?c rdf:type ontology:monument }
[]
monument
Q16161019
SYSTEM
Argonne Cross Memorial
Q16161019
(c(Q4989906),P276,Q216344)
action filter_type
action find_reverse
entity Q216344
relation P276
type Q4989906
Dame [ANSWER] has its location as Arlington National Cemetery
[{'concept': 'Q4989906'}, 'P276', 'Q216344']
SELECT DISTINCT ?c WHERE { ?c property:P276 resource:Q216344 . ?c rdf:type ontology:Q4989906 }
Argonne Cross Memorial
Dame Argonne Cross Memorial has its location as Arlington National Cemetery
Argonne Cross Memorial
action filter_type
action find_reverse
entity Arlington National Cemetery
relation location
type monument
[{'concept': 'monument'}, 'location', 'Arlington National Cemetery']
SELECT DISTINCT ?c WHERE { ?c property:location resource:Arlington_National_Cemetery . ?c rdf:type ontology:monument }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16161019
P17
Q15617994
USER
Which administrative territory is that monument a part of ?
(Q16161019,P17,c(Q15617994))
action filter_type
action find
entity Q16161019
relation P17
type Q15617994
['Q16161019', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q16161019 property:P17 ?s }
Argonne Cross Memorial
action filter_type
action find
entity Argonne Cross Memorial
relation country
type designation for an administrative territorial entity
['Argonne Cross Memorial', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Argonne_Cross_Memorial property:country ?s }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q16161019,P17,c(Q15617994))
action filter_type
action find
entity Q16161019
relation P17
type Q15617994
The [ANSWER] is that monument a part of
['Q16161019', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q16161019 property:P17 ?s }
United States of America
The United States of America is that monument a part of
United States of America
action filter_type
action find
entity Argonne Cross Memorial
relation country
type designation for an administrative territorial entity
['Argonne Cross Memorial', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Argonne_Cross_Memorial property:country ?s }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with min number of administrative territories ?
(c(Q15617994),P530,Q766)
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?g ) WHERE { ?l rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 . ?l property:P530 ?j } GROUP BY ?l } . FILTER ( ?g = ?w ) . { SELECT DISTINCT ( MIN ( ?m ) AS ?w ) { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?m ) WHERE { ?f rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1048835 . ?c property:P530 ?f } GROUP BY ?c } } }
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?g ) WHERE { ?l rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?j } GROUP BY ?l } . FILTER ( ?g = ?w ) . { SELECT DISTINCT ( MIN ( ?m ) AS ?w ) { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?m ) WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:political_territorial_entity . ?c property:diplomatic_relation ?f } GROUP BY ?c } } }
[]
political territorial entity designation for an administrative territorial entity
Q685 Q691
SYSTEM
Solomon Islands, Papua New Guinea
Q685 Q691
(c(Q15617994),P530,Q766)
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWERS] have diplomatic relations with min number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?g ) WHERE { ?l rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 . ?l property:P530 ?j } GROUP BY ?l } . FILTER ( ?g = ?w ) . { SELECT DISTINCT ( MIN ( ?m ) AS ?w ) { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?m ) WHERE { ?f rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1048835 . ?c property:P530 ?f } GROUP BY ?c } } }
Solomon Islands Papua New Guinea
Solomon Islands and Papua New Guinea have diplomatic relations with min number of administrative territories
Solomon Islands Papua New Guinea
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?g ) WHERE { ?l rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?j } GROUP BY ?l } . FILTER ( ?g = ?w ) . { SELECT DISTINCT ( MIN ( ?m ) AS ?w ) { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?m ) WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:political_territorial_entity . ?c property:diplomatic_relation ?f } GROUP BY ?c } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3089025
P17
Q1292279
USER
Are Burundi–Rwanda border located in those political territories ?
(Q3089025,P17,Q685) (Q3089025,P17,Q691)
action is_in
entity prev_answer
action find
entity Q3089025
relation P17
['Q3089025', 'P17', 'Q685'] ['Q3089025', 'P17', 'Q691']
ASK WHERE { VALUES ( ?n ) { ( resource:Q685 ) ( resource:Q691 ) } . resource:Q3089025 property:P17 ?n }
Burundi–Rwanda border
action is_in
entity prev_answer
action find
entity Burundi–Rwanda border
relation country
['Burundi–Rwanda border', 'country', 'Solomon Islands'] ['Burundi–Rwanda border', 'country', 'Papua New Guinea']
ASK WHERE { VALUES ( ?n ) { ( resource:Solomon_Islands ) ( resource:Papua_New_Guinea ) } . resource:Burundi–Rwanda_border property:country ?n }
[]
political border
SYSTEM
NO
(Q3089025,P17,Q685) (Q3089025,P17,Q691)
action is_in
entity prev_answer
action find
entity Q3089025
relation P17
[ANSWER]
['Q3089025', 'P17', 'Q685'] ['Q3089025', 'P17', 'Q691']
ASK WHERE { VALUES ( ?n ) { ( resource:Q685 ) ( resource:Q691 ) } . resource:Q3089025 property:P17 ?n }
No
action is_in
entity prev_answer
action find
entity Burundi–Rwanda border
relation country
['Burundi–Rwanda border', 'country', 'Solomon Islands'] ['Burundi–Rwanda border', 'country', 'Papua New Guinea']
ASK WHERE { VALUES ( ?n ) { ( resource:Solomon_Islands ) ( resource:Papua_New_Guinea ) } . resource:Burundi–Rwanda_border property:country ?n }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q691
P47
Q15617994 Q1048835
USER
How many administrative territories and political territories do Papua New Guinea share a border with ?
(c(Q15617994),P47,Q691) (c(Q1048835),P47,Q691)
action count
action union
action filter_type
action find_reverse
entity Q691
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q691
relation P47
type Q1048835
[{'concept': 'Q15617994'}, 'P47', 'Q691'] [{'concept': 'Q1048835'}, 'P47', 'Q691']
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { ?w property:P47 resource:Q691 . ?w rdf:type ontology:Q1048835 } UNION { ?w property:P47 resource:Q691 . ?w rdf:type ontology:Q15617994 } }
Papua New Guinea
action count
action union
action filter_type
action find_reverse
entity Papua New Guinea
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Papua New Guinea
relation shares border with
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Papua New Guinea'] [{'concept': 'political territorial entity'}, 'shares border with', 'Papua New Guinea']
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { ?w property:shares_border_with resource:Papua_New_Guinea . ?w rdf:type ontology:political_territorial_entity } UNION { ?w property:shares_border_with resource:Papua_New_Guinea . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
1 administrative territories and 2 political territories
Q408 Q252 Q5095
(c(Q15617994),P47,Q691) (c(Q1048835),P47,Q691)
action count
action union
action filter_type
action find_reverse
entity Q691
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q691
relation P47
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P47', 'Q691'] [{'concept': 'Q1048835'}, 'P47', 'Q691']
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { ?w property:P47 resource:Q691 . ?w rdf:type ontology:Q1048835 } UNION { ?w property:P47 resource:Q691 . ?w rdf:type ontology:Q15617994 } }
Australia Indonesia Papua
1 administrative territories and 2 political territories
action count
action union
action filter_type
action find_reverse
entity Papua New Guinea
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Papua New Guinea
relation shares border with
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Papua New Guinea'] [{'concept': 'political territorial entity'}, 'shares border with', 'Papua New Guinea']
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { ?w property:shares_border_with resource:Papua_New_Guinea . ?w rdf:type ontology:political_territorial_entity } UNION { ?w property:shares_border_with resource:Papua_New_Guinea . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q691
P237
Q17335294
USER
Which coat of arms serves as the ensign for Papua New Guinea ?
(Q691,P237,c(Q17335294))
action filter_type
action find
entity Q691
relation P237
type Q17335294
['Q691', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q17335294 . resource:Q691 property:P237 ?y }
Papua New Guinea
action filter_type
action find
entity Papua New Guinea
relation coat of arms
type flag or coat of arms
['Papua New Guinea', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:flag_or_coat_of_arms . resource:Papua_New_Guinea property:coat_of_arms ?y }
[]
flag or coat of arms
Q274170
SYSTEM
Emblem of Papua New Guinea
Q274170
(Q691,P237,c(Q17335294))
action filter_type
action find
entity Q691
relation P237
type Q17335294
Guinea [ANSWER] serves as the ensign for Papua New Guinea
['Q691', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q17335294 . resource:Q691 property:P237 ?y }
Emblem of Papua New Guinea
Guinea Emblem of Papua New Guinea serves as the ensign for Papua New Guinea
Emblem of Papua New Guinea
action filter_type
action find
entity Papua New Guinea
relation coat of arms
type flag or coat of arms
['Papua New Guinea', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:flag_or_coat_of_arms . resource:Papua_New_Guinea property:coat_of_arms ?y }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q366423
Q17335294
USER
And what about Adorp?
(Q366423,P237,c(Q17335294))
action filter_type
action find
entity Q366423
relation P237
type Q17335294
['Q366423', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q17335294 . resource:Q366423 property:P237 ?l }
Adorp
action filter_type
action find
entity Adorp
relation coat of arms
type flag or coat of arms
['Adorp', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:flag_or_coat_of_arms . resource:Adorp property:coat_of_arms ?l }
[]
flag or coat of arms
Q20031997
SYSTEM
coat of arms of Adorp
Q20031997
(Q366423,P237,c(Q17335294))
action filter_type
action find
entity Q366423
relation P237
type Q17335294
[ANSWER]
['Q366423', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q17335294 . resource:Q366423 property:P237 ?l }
coat of arms of Adorp
coat of arms of Adorp
action filter_type
action find
entity Adorp
relation coat of arms
type flag or coat of arms
['Adorp', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:flag_or_coat_of_arms . resource:Adorp property:coat_of_arms ?l }
[]