Simple Question (Direct)
Simple Question
Q7349868
P166
Q618779
USER
What was awarded to Robert Smith-Barry ?
(Q7349868,P166,c(Q618779))
action filter_type
action find
entity Q7349868
relation P166
type Q618779
['Q7349868', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { resource:Q7349868 property:P166 ?j . ?j rdf:type ontology:Q618779 }
Robert Smith-Barry
action filter_type
action find
entity Robert Smith-Barry
relation award received
type award
['Robert Smith-Barry', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { resource:Robert_Smith-Barry property:award_received ?j . ?j rdf:type ontology:award }
[]
award
Q2427600
SYSTEM
Air Force Cross
Q2427600
(Q7349868,P166,c(Q618779))
action filter_type
action find
entity Q7349868
relation P166
type Q618779
Medal [ANSWER] was awarded to Robert Smith-Barry
['Q7349868', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { resource:Q7349868 property:P166 ?j . ?j rdf:type ontology:Q618779 }
Air Force Cross
Medal Air Force Cross was awarded to Robert Smith-Barry
Air Force Cross
action filter_type
action find
entity Robert Smith-Barry
relation award received
type award
['Robert Smith-Barry', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { resource:Robert_Smith-Barry property:award_received ?j . ?j rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7349868
P607
Q198
USER
What wars was Robert Smith-Barry a part of ?
(Q7349868,P607,c(Q198))
action filter_type
action find
entity Q7349868
relation P607
type Q198
['Q7349868', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?v WHERE { resource:Q7349868 property:P607 ?v . ?v rdf:type ontology:Q198 }
Robert Smith-Barry
action filter_type
action find
entity Robert Smith-Barry
relation conflict
type war
['Robert Smith-Barry', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?v WHERE { resource:Robert_Smith-Barry property:conflict ?v . ?v rdf:type ontology:war }
[]
war
Q362 Q361
SYSTEM
World War II, World War I
Q362 Q361
(Q7349868,P607,c(Q198))
action filter_type
action find
entity Q7349868
relation P607
type Q198
[ANSWERS] were Robert Smith-Barry a part of
['Q7349868', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?v WHERE { resource:Q7349868 property:P607 ?v . ?v rdf:type ontology:Q198 }
World War II World War I
World War II and World War I were Robert Smith-Barry a part of
World War II World War I
action filter_type
action find
entity Robert Smith-Barry
relation conflict
type war
['Robert Smith-Barry', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?v WHERE { resource:Robert_Smith-Barry property:conflict ?v . ?v rdf:type ontology:war }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4741907
Q198
USER
And what about Ambrosio José Gonzales?
(Q4741907,P607,c(Q198))
action filter_type
action find
entity Q4741907
relation P607
type Q198
['Q4741907', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?f WHERE { resource:Q4741907 property:P607 ?f . ?f rdf:type ontology:Q198 }
Ambrosio José Gonzales
action filter_type
action find
entity Ambrosio José Gonzales
relation conflict
type war
['Ambrosio José Gonzales', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?f WHERE { resource:Ambrosio_José_Gonzales property:conflict ?f . ?f rdf:type ontology:war }
[]
war
Q8676
SYSTEM
American Civil War
Q8676
(Q4741907,P607,c(Q198))
action filter_type
action find
entity Q4741907
relation P607
type Q198
[ANSWER]
['Q4741907', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?f WHERE { resource:Q4741907 property:P607 ?f . ?f rdf:type ontology:Q198 }
American Civil War
American Civil War
action filter_type
action find
entity Ambrosio José Gonzales
relation conflict
type war
['Ambrosio José Gonzales', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?f WHERE { resource:Ambrosio_José_Gonzales property:conflict ?f . ?f rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8676
P710
Q1048835
USER
Which political territory was a participant of that war ?
(Q8676,P710,c(Q1048835))
action filter_type
action find
entity Q8676
relation P710
type Q1048835
['Q8676', 'P710', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q8676 property:P710 ?q . ?q rdf:type ontology:Q1048835 }
American Civil War
action filter_type
action find
entity American Civil War
relation participant
type political territorial entity
['American Civil War', 'participant', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:American_Civil_War property:participant ?q . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q214102
SYSTEM
Union
Q214102
(Q8676,P710,c(Q1048835))
action filter_type
action find
entity Q8676
relation P710
type Q1048835
The [ANSWER] was a participant of that war
['Q8676', 'P710', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q8676 property:P710 ?q . ?q rdf:type ontology:Q1048835 }
Union
The Union was a participant of that war
Union
action filter_type
action find
entity American Civil War
relation participant
type political territorial entity
['American Civil War', 'participant', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:American_Civil_War property:participant ?q . ?q rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8676
P828
Q601401
USER
Which trade is the cause of American Civil War ?
(Q8676,P828,c(Q601401))
action filter_type
action find
entity Q8676
relation P828
type Q601401
['Q8676', 'P828', {'concept': 'Q601401'}]
SELECT DISTINCT ?i WHERE { resource:Q8676 property:P828 ?i . ?i rdf:type ontology:Q601401 }
American Civil War
action filter_type
action find
entity American Civil War
relation has cause
type trade
['American Civil War', 'has cause', {'concept': 'trade'}]
SELECT DISTINCT ?i WHERE { resource:American_Civil_War property:has_cause ?i . ?i rdf:type ontology:trade }
[]
trade
Q118382
SYSTEM
slavery in the United States
Q118382
(Q8676,P828,c(Q601401))
action filter_type
action find
entity Q8676
relation P828
type Q601401
The [ANSWER] is the cause of American Civil War
['Q8676', 'P828', {'concept': 'Q601401'}]
SELECT DISTINCT ?i WHERE { resource:Q8676 property:P828 ?i . ?i rdf:type ontology:Q601401 }
slavery in the United States
The slavery in the United States is the cause of American Civil War
slavery in the United States
action filter_type
action find
entity American Civil War
relation has cause
type trade
['American Civil War', 'has cause', {'concept': 'trade'}]
SELECT DISTINCT ?i WHERE { resource:American_Civil_War property:has_cause ?i . ?i rdf:type ontology:trade }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
Which political territories have diplomatic relations with approximately 6 political territories ?
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 6
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?g ) WHERE { ?c property:P530 ?z . ?c rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q1048835 } GROUP BY ?c } . FILTER ( ?g = 6 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 6
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?g ) WHERE { ?c property:diplomatic_relation ?z . ?c rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:political_territorial_entity } GROUP BY ?c } . FILTER ( ?g = 6 ) }
[]
political territorial entity political territorial entity
Q183 Q16
SYSTEM
Germany, Canada
Q183 Q16
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 6
[ANSWERS] have diplomatic relations with approximately 6 political territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?g ) WHERE { ?c property:P530 ?z . ?c rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q1048835 } GROUP BY ?c } . FILTER ( ?g = 6 ) }
Germany Canada
Germany and Canada have diplomatic relations with approximately 6 political territories
Germany Canada
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 6
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?g ) WHERE { ?c property:diplomatic_relation ?z . ?c rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:political_territorial_entity } GROUP BY ?c } . FILTER ( ?g = 6 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which administrative territories have diplomatic associations with exactly 5 political territories ?
(c(Q15617994),P530,c(Q1048835))
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 5
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?g ) WHERE { ?b rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q1048835 . ?b property:P530 ?j } GROUP BY ?b } . FILTER ( ?g = 5 ) }
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 5
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?g ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:political_territorial_entity . ?b property:diplomatic_relation ?j } GROUP BY ?b } . FILTER ( ?g = 5 ) }
[]
political territorial entity designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(c(Q15617994),P530,c(Q1048835))
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 5
[ANSWER] have diplomatic associations with exactly 5 political territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?g ) WHERE { ?b rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q1048835 . ?b property:P530 ?j } GROUP BY ?b } . FILTER ( ?g = 5 ) }
Brazil
Brazil have diplomatic associations with exactly 5 political territories
Brazil
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 5
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?g ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:political_territorial_entity . ?b property:diplomatic_relation ?j } GROUP BY ?b } . FILTER ( ?g = 5 ) }
[]