Simple Question (Direct)
Simple Question
Q5343307
P19
Q56061
USER
Which administrative territory is the place of birth of Edward Hardin ?
(Q5343307,P19,c(Q56061))
action filter_type
action find
entity Q5343307
relation P19
type Q56061
['Q5343307', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q5343307 property:P19 ?j }
Edward Hardin
action filter_type
action find
entity Edward Hardin
relation place of birth
type administrative territorial entity
['Edward Hardin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Edward_Hardin property:place_of_birth ?j }
[]
administrative territorial entity
Q38022
SYSTEM
St. Louis
Q38022
(Q5343307,P19,c(Q56061))
action filter_type
action find
entity Q5343307
relation P19
type Q56061
[ANSWER] is the place of birth of Edward Hardin
['Q5343307', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q5343307 property:P19 ?j }
St. Louis
St. Louis is the place of birth of Edward Hardin
St. Louis
action filter_type
action find
entity Edward Hardin
relation place of birth
type administrative territorial entity
['Edward Hardin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Edward_Hardin property:place_of_birth ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5343307
P166
Q618779
USER
What were awarded to that person ?
(Q38022,P166,c(Q618779))
action filter_type
action find
entity Q5343307
relation P166
type Q618779
['Q38022', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?o WHERE { resource:Q5343307 property:P166 ?o . ?o rdf:type ontology:Q618779 }
Edward Hardin
action filter_type
action find
entity Edward Hardin
relation award received
type award
['St. Louis', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?o WHERE { resource:Edward_Hardin property:award_received ?o . ?o rdf:type ontology:award }
[]
award
Q145752 Q852071 Q928314
SYSTEM
Purple Heart, Silver Star, Bronze Star Medal
Q145752 Q852071 Q928314
(Q38022,P166,c(Q618779))
action filter_type
action find
entity Q5343307
relation P166
type Q618779
[ANSWERS] were awarded to that person
['Q38022', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?o WHERE { resource:Q5343307 property:P166 ?o . ?o rdf:type ontology:Q618779 }
Purple Heart Silver Star Bronze Star Medal
Purple Heart, Silver Star and Bronze Star Medal were awarded to that person
Purple Heart Silver Star Bronze Star Medal
action filter_type
action find
entity Edward Hardin
relation award received
type award
['St. Louis', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?o WHERE { resource:Edward_Hardin property:award_received ?o . ?o rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5343307
P607
Q198
USER
What battle was that person a part of ?
(Q145752,P607,c(Q198)) (Q852071,P607,c(Q198)) (Q928314,P607,c(Q198))
action filter_type
action find
entity Q5343307
relation P607
type Q198
['Q145752', 'P607', {'concept': 'Q198'}] ['Q852071', 'P607', {'concept': 'Q198'}] ['Q928314', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?y WHERE { resource:Q5343307 property:P607 ?y . ?y rdf:type ontology:Q198 }
Edward Hardin
action filter_type
action find
entity Edward Hardin
relation conflict
type war
['Purple Heart', 'conflict', {'concept': 'war'}] ['Silver Star', 'conflict', {'concept': 'war'}] ['Bronze Star Medal', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?y WHERE { resource:Edward_Hardin property:conflict ?y . ?y rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q145752,P607,c(Q198)) (Q852071,P607,c(Q198)) (Q928314,P607,c(Q198))
action filter_type
action find
entity Q5343307
relation P607
type Q198
What battle was that person a part of
['Q145752', 'P607', {'concept': 'Q198'}] ['Q852071', 'P607', {'concept': 'Q198'}] ['Q928314', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?y WHERE { resource:Q5343307 property:P607 ?y . ?y rdf:type ontology:Q198 }
World War II
What battle was that person a part of
World War II
action filter_type
action find
entity Edward Hardin
relation conflict
type war
['Purple Heart', 'conflict', {'concept': 'war'}] ['Silver Star', 'conflict', {'concept': 'war'}] ['Bronze Star Medal', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?y WHERE { resource:Edward_Hardin property:conflict ?y . ?y rdf:type ontology:war }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P361
Q198 Q176799
USER
How many wars are greater number of military units a component of than that war ?
(c(Q176799),P361,c(Q198))
action count
action greater
action find_tuple_counts
relation P361
type Q198
type Q176799
action count
action filter_type
action find_reverse
entity Q362
relation P361
type Q198
[{'concept': 'Q176799'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:P361 resource:Q362 . ?s rdf:type ontology:Q198 } } . FILTER ( ?y > ?j ) . { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?y ) WHERE { ?z rdf:type ontology:Q176799 . ?a rdf:type ontology:Q198 . ?a property:P361 ?z } GROUP BY ?a } }
action count
action greater
action find_tuple_counts
relation part of
type war
type military unit
action count
action filter_type
action find_reverse
entity World War II
relation part of
type war
[{'concept': 'military unit'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:part_of resource:World_War_II . ?s rdf:type ontology:war } } . FILTER ( ?y > ?j ) . { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?y ) WHERE { ?z rdf:type ontology:military_unit . ?a rdf:type ontology:war . ?a property:part_of ?z } GROUP BY ?a } }
[]
war military unit
SYSTEM
1
Q79911
(c(Q176799),P361,c(Q198))
action count
action greater
action find_tuple_counts
relation P361
type Q198
type Q176799
action count
action filter_type
action find_reverse
entity Q362
relation P361
type Q198
[ANSWER]
[{'concept': 'Q176799'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:P361 resource:Q362 . ?s rdf:type ontology:Q198 } } . FILTER ( ?y > ?j ) . { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?y ) WHERE { ?z rdf:type ontology:Q176799 . ?a rdf:type ontology:Q198 . ?a property:P361 ?z } GROUP BY ?a } }
Russian Civil War
1
action count
action greater
action find_tuple_counts
relation part of
type war
type military unit
action count
action filter_type
action find_reverse
entity World War II
relation part of
type war
[{'concept': 'military unit'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:part_of resource:World_War_II . ?s rdf:type ontology:war } } . FILTER ( ?y > ?j ) . { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?y ) WHERE { ?z rdf:type ontology:military_unit . ?a rdf:type ontology:war . ?a property:part_of ?z } GROUP BY ?a } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5343307
P20
Q56061
USER
Where did Edward Hardin expire ?
(Q5343307,P20,c(Q56061))
action filter_type
action find
entity Q5343307
relation P20
type Q56061
['Q5343307', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q5343307 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Edward Hardin
action filter_type
action find
entity Edward Hardin
relation place of death
type administrative territorial entity
['Edward Hardin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Edward_Hardin property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q974075
SYSTEM
Colleyville
Q974075
(Q5343307,P20,c(Q56061))
action filter_type
action find
entity Q5343307
relation P20
type Q56061
Edward Hardin expired [ANSWER]
['Q5343307', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q5343307 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Colleyville
Edward Hardin expired Colleyville
Colleyville
action filter_type
action find
entity Edward Hardin
relation place of death
type administrative territorial entity
['Edward Hardin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Edward_Hardin property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q8020437
Q56061
USER
And how about William Wilson?
(Q8020437,P20,c(Q56061))
action filter_type
action find
entity Q8020437
relation P20
type Q56061
['Q8020437', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q8020437 property:P20 ?c . ?c rdf:type ontology:Q56061 }
William Wilson
action filter_type
action find
entity William Wilson
relation place of death
type administrative territorial entity
['William Wilson', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:William_Wilson property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q986689
SYSTEM
Newark
Q986689
(Q8020437,P20,c(Q56061))
action filter_type
action find
entity Q8020437
relation P20
type Q56061
[ANSWER]
['Q8020437', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q8020437 property:P20 ?c . ?c rdf:type ontology:Q56061 }
Newark
Newark
action filter_type
action find
entity William Wilson
relation place of death
type administrative territorial entity
['William Wilson', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:William_Wilson property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q234460 Q1047113 Q618779
USER
How many awards are a component of around 1 texts and special fields ?
(c(Q618779),P361,c(Q234460)|c(Q1047113))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q618779
type Q234460
action find_tuple_counts
relation P361
type Q618779
type Q1047113
value 1
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q234460'}, {'concept': 'Q1047113'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?s ) WHERE { { ?i rdf:type ontology:Q618779 . ?f rdf:type ontology:Q234460 . ?i property:P361 ?f } UNION { ?i rdf:type ontology:Q618779 . ?f rdf:type ontology:Q1047113 . ?i property:P361 ?f } } GROUP BY ?i } . FILTER ( ?s = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation part of
type award
type text
action find_tuple_counts
relation part of
type award
type special field
value 1
[{'concept': 'award'}, 'part of', [{'concept': 'text'}, {'concept': 'special field'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?s ) WHERE { { ?i rdf:type ontology:award . ?f rdf:type ontology:text . ?i property:part_of ?f } UNION { ?i rdf:type ontology:award . ?f rdf:type ontology:special_field . ?i property:part_of ?f } } GROUP BY ?i } . FILTER ( ?s = 1 ) }
[]
text special field award
SYSTEM
3
Q372370 Q140146 Q1549393
(c(Q618779),P361,c(Q234460)|c(Q1047113))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q618779
type Q234460
action find_tuple_counts
relation P361
type Q618779
type Q1047113
value 1
[ANSWER]
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q234460'}, {'concept': 'Q1047113'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?s ) WHERE { { ?i rdf:type ontology:Q618779 . ?f rdf:type ontology:Q234460 . ?i property:P361 ?f } UNION { ?i rdf:type ontology:Q618779 . ?f rdf:type ontology:Q1047113 . ?i property:P361 ?f } } GROUP BY ?i } . FILTER ( ?s = 1 ) }
Knight's Cross Zafenat-Paneach Grand Officer
3
action count
action approx
action union
action find_tuple_counts
relation part of
type award
type text
action find_tuple_counts
relation part of
type award
type special field
value 1
[{'concept': 'award'}, 'part of', [{'concept': 'text'}, {'concept': 'special field'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?s ) WHERE { { ?i rdf:type ontology:award . ?f rdf:type ontology:text . ?i property:part_of ?f } UNION { ?i rdf:type ontology:award . ?f rdf:type ontology:special_field . ?i property:part_of ?f } } GROUP BY ?i } . FILTER ( ?s = 1 ) }
[]