Simple Question (Direct)
Simple Question
Q2849817
P166
Q618779
USER
What was received by Angus MacLean ?
(Q2849817,P166,c(Q618779))
action filter_type
action find
entity Q2849817
relation P166
type Q618779
['Q2849817', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?f WHERE { resource:Q2849817 property:P166 ?f . ?f rdf:type ontology:Q618779 }
Angus MacLean
action filter_type
action find
entity Angus MacLean
relation award received
type award
['Angus MacLean', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?f WHERE { resource:Angus_MacLean property:award_received ?f . ?f rdf:type ontology:award }
[]
award
Q1229534
SYSTEM
Distinguished Flying Cross
Q1229534
(Q2849817,P166,c(Q618779))
action filter_type
action find
entity Q2849817
relation P166
type Q618779
[ANSWER]
['Q2849817', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?f WHERE { resource:Q2849817 property:P166 ?f . ?f rdf:type ontology:Q618779 }
Distinguished Flying Cross
Distinguished Flying Cross
action filter_type
action find
entity Angus MacLean
relation award received
type award
['Angus MacLean', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?f WHERE { resource:Angus_MacLean property:award_received ?f . ?f rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1229534
P17
Q15617994
USER
Which administrative territory is that award a part of ?
(Q1229534,P17,c(Q15617994))
action filter_type
action find
entity Q1229534
relation P17
type Q15617994
['Q1229534', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q1229534 property:P17 ?a }
Distinguished Flying Cross
action filter_type
action find
entity Distinguished Flying Cross
relation country
type designation for an administrative territorial entity
['Distinguished Flying Cross', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Distinguished_Flying_Cross property:country ?a }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q1229534,P17,c(Q15617994))
action filter_type
action find
entity Q1229534
relation P17
type Q15617994
[ANSWER]
['Q1229534', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q1229534 property:P17 ?a }
United Kingdom
United Kingdom
action filter_type
action find
entity Distinguished Flying Cross
relation country
type designation for an administrative territorial entity
['Distinguished Flying Cross', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Distinguished_Flying_Cross property:country ?a }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3364578
Q15617994
USER
And also tell me about Putna-Vrancea Natural Park?
(Q3364578,P17,c(Q15617994))
action filter_type
action find
entity Q3364578
relation P17
type Q15617994
['Q3364578', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q3364578 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Putna-Vrancea Natural Park
action filter_type
action find
entity Putna-Vrancea Natural Park
relation country
type designation for an administrative territorial entity
['Putna-Vrancea Natural Park', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Putna-Vrancea_Natural_Park property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218
SYSTEM
Romania
Q218
(Q3364578,P17,c(Q15617994))
action filter_type
action find
entity Q3364578
relation P17
type Q15617994
[ANSWER]
['Q3364578', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q3364578 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Romania
Romania
action filter_type
action find
entity Putna-Vrancea Natural Park
relation country
type designation for an administrative territorial entity
['Putna-Vrancea Natural Park', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Putna-Vrancea_Natural_Park property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q218 Q217
P47
Q15617994
USER
Does Republic of Moldova share border with that one ?
(Q217,P47,Q218)
action is_in
entity Q217
action find
entity Q218
relation P47
['Q217', 'P47', 'Q218']
ASK WHERE { resource:Q218 property:P47 resource:Q217 }
Romania Republic of Moldova
action is_in
entity Republic of Moldova
action find
entity Romania
relation shares border with
['Republic of Moldova', 'shares border with', 'Romania']
ASK WHERE { resource:Romania property:shares_border_with resource:Republic_of_Moldova }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q217,P47,Q218)
action is_in
entity Q217
action find
entity Q218
relation P47
[ANSWER]
['Q217', 'P47', 'Q218']
ASK WHERE { resource:Q218 property:P47 resource:Q217 }
Yes
action is_in
entity Republic of Moldova
action find
entity Romania
relation shares border with
['Republic of Moldova', 'shares border with', 'Romania']
ASK WHERE { resource:Romania property:shares_border_with resource:Republic_of_Moldova }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q691
P530
Q1048835 Q15617994
USER
Which political territories have a diplomatic relationship with greater number of administrative territories than Papua New Guinea ?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q691
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?c ) WHERE { ?z property:P530 ?p . ?z rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Q691 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?c > ?n ) }
Papua New Guinea
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Papua New Guinea
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?c ) WHERE { ?z property:diplomatic_relation ?p . ?z rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Papua_New_Guinea property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?c > ?n ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q1000 Q40 Q781 Q778 Q183 Q408 Q769 Q35 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q691
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?c ) WHERE { ?z property:P530 ?p . ?z rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Q691 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?c > ?n ) }
Gabon Austria Antigua and Barbuda The Bahamas Germany Australia Grenada Denmark Canada New Zealand Jamaica
Germany Australia Denmark
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Papua New Guinea
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?c ) WHERE { ?z property:diplomatic_relation ?p . ?z rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Papua_New_Guinea property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?c > ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q769
P530
Q1048835 Q15617994
USER
And how about Grenada?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q769
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?k ) WHERE { ?x property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q769 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?k > ?w ) }
Grenada
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Grenada
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?k ) WHERE { ?x property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Grenada property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k > ?w ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q40 Q183 Q408 Q35 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q769
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?k ) WHERE { ?x property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q769 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?k > ?w ) }
Austria Germany Australia Denmark Canada New Zealand Jamaica
Germany Australia Denmark
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Grenada
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?k ) WHERE { ?x property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Grenada property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k > ?w ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q15617994
USER
Which administrative territories are known to have diplomatic connections with max number of political territories ?
(c(Q15617994),P530,c(Q1048835))
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?o ) { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?j ) WHERE { ?f property:P530 ?u . ?f rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?f } } . FILTER ( ?g = ?o ) . { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?g ) WHERE { ?p property:P530 ?t . ?p rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 } GROUP BY ?p } }
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?o ) { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?j ) WHERE { ?f property:diplomatic_relation ?u . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?f } } . FILTER ( ?g = ?o ) . { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?g ) WHERE { ?p property:diplomatic_relation ?t . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity } GROUP BY ?p } }
[]
political territorial entity designation for an administrative territorial entity
Q230
SYSTEM
Georgia
Q230
(c(Q15617994),P530,c(Q1048835))
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?o ) { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?j ) WHERE { ?f property:P530 ?u . ?f rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?f } } . FILTER ( ?g = ?o ) . { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?g ) WHERE { ?p property:P530 ?t . ?p rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 } GROUP BY ?p } }
Georgia
Georgia
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?o ) { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?j ) WHERE { ?f property:diplomatic_relation ?u . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?f } } . FILTER ( ?g = ?o ) . { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?g ) WHERE { ?p property:diplomatic_relation ?t . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity } GROUP BY ?p } }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q230 Q889970 Q769
P530
Q1048835
USER
Does that administrative territory have tactful political relations with Jorvik and Grenada ?
(Q230,P530,Q889970) (Q230,P530,Q769)
action is_in
entity Q230
action intersection
action find_reverse
entity Q889970
relation P530
action find_reverse
entity Q769
relation P530
['Q230', 'P530', 'Q889970'] ['Q230', 'P530', 'Q769']
ASK WHERE { resource:Q230 property:P530 resource:Q889970 . resource:Q230 property:P530 resource:Q769 }
Georgia Jorvik Grenada
action is_in
entity Georgia
action intersection
action find_reverse
entity Jorvik
relation diplomatic relation
action find_reverse
entity Grenada
relation diplomatic relation
['Georgia', 'diplomatic relation', 'Jorvik'] ['Georgia', 'diplomatic relation', 'Grenada']
ASK WHERE { resource:Georgia property:diplomatic_relation resource:Jorvik . resource:Georgia property:diplomatic_relation resource:Grenada }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q230,P530,Q889970) (Q230,P530,Q769)
action is_in
entity Q230
action intersection
action find_reverse
entity Q889970
relation P530
action find_reverse
entity Q769
relation P530
[ANSWER]
['Q230', 'P530', 'Q889970'] ['Q230', 'P530', 'Q769']
ASK WHERE { resource:Q230 property:P530 resource:Q889970 . resource:Q230 property:P530 resource:Q769 }
NO and YES respectively
action is_in
entity Georgia
action intersection
action find_reverse
entity Jorvik
relation diplomatic relation
action find_reverse
entity Grenada
relation diplomatic relation
['Georgia', 'diplomatic relation', 'Jorvik'] ['Georgia', 'diplomatic relation', 'Grenada']
ASK WHERE { resource:Georgia property:diplomatic_relation resource:Jorvik . resource:Georgia property:diplomatic_relation resource:Grenada }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q230
P1427
Q2472587
USER
Which people has Georgia as the start location ?
(c(Q2472587),P1427,Q230)
action filter_type
action find_reverse
entity Q230
relation P1427
type Q2472587
[{'concept': 'Q2472587'}, 'P1427', 'Q230']
SELECT DISTINCT ?p WHERE { ?p property:P1427 resource:Q230 . ?p rdf:type ontology:Q2472587 }
Georgia
action filter_type
action find_reverse
entity Georgia
relation start point
type people
[{'concept': 'people'}, 'start point', 'Georgia']
SELECT DISTINCT ?p WHERE { ?p property:start_point resource:Georgia . ?p rdf:type ontology:people }
[]
people
Q5548127
SYSTEM
Georgians in France
Q5548127
(c(Q2472587),P1427,Q230)
action filter_type
action find_reverse
entity Q230
relation P1427
type Q2472587
[ANSWER]
[{'concept': 'Q2472587'}, 'P1427', 'Q230']
SELECT DISTINCT ?p WHERE { ?p property:P1427 resource:Q230 . ?p rdf:type ontology:Q2472587 }
Georgians in France
Georgians in France
action filter_type
action find_reverse
entity Georgia
relation start point
type people
[{'concept': 'people'}, 'start point', 'Georgia']
SELECT DISTINCT ?p WHERE { ?p property:start_point resource:Georgia . ?p rdf:type ontology:people }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q230
P740
Q2088357
USER
Which is the musical ensemble that originates at Georgia ?
(c(Q2088357),P740,Q230)
action filter_type
action find_reverse
entity Q230
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q230']
SELECT DISTINCT ?d WHERE { ?d property:P740 resource:Q230 . ?d rdf:type ontology:Q2088357 }
Georgia
action filter_type
action find_reverse
entity Georgia
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Georgia']
SELECT DISTINCT ?d WHERE { ?d property:location_of_formation resource:Georgia . ?d rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q837224
SYSTEM
Eldrine
Q837224
(c(Q2088357),P740,Q230)
action filter_type
action find_reverse
entity Q230
relation P740
type Q2088357
[ANSWER]
[{'concept': 'Q2088357'}, 'P740', 'Q230']
SELECT DISTINCT ?d WHERE { ?d property:P740 resource:Q230 . ?d rdf:type ontology:Q2088357 }
Eldrine
Eldrine
action filter_type
action find_reverse
entity Georgia
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Georgia']
SELECT DISTINCT ?d WHERE { ?d property:location_of_formation resource:Georgia . ?d rdf:type ontology:musical_ensemble }
[]