Simple Question (Direct)
Simple Question
Q7516934
P20
Q56061
USER
Where did the expiration of Silvestre S. Herrera occur ?
(Q7516934,P20,c(Q56061))
action filter_type
action find
entity Q7516934
relation P20
type Q56061
['Q7516934', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q7516934 property:P20 ?o . ?o rdf:type ontology:Q56061 }
Silvestre S. Herrera
action filter_type
action find
entity Silvestre S. Herrera
relation place of death
type administrative territorial entity
['Silvestre S. Herrera', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Silvestre_S._Herrera property:place_of_death ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q51682
SYSTEM
Glendale
Q51682
(Q7516934,P20,c(Q56061))
action filter_type
action find
entity Q7516934
relation P20
type Q56061
The expiration of Silvestre S. did i [ANSWER]
['Q7516934', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q7516934 property:P20 ?o . ?o rdf:type ontology:Q56061 }
Glendale
The expiration of Silvestre S. did i Glendale
Glendale
action filter_type
action find
entity Silvestre S. Herrera
relation place of death
type administrative territorial entity
['Silvestre S. Herrera', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Silvestre_S._Herrera property:place_of_death ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7516934
P166
Q618779
USER
What were awarded to that person ?
(Q51682,P166,c(Q618779))
action filter_type
action find
entity Q7516934
relation P166
type Q618779
['Q51682', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { resource:Q7516934 property:P166 ?j . ?j rdf:type ontology:Q618779 }
Silvestre S. Herrera
action filter_type
action find
entity Silvestre S. Herrera
relation award received
type award
['Glendale', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { resource:Silvestre_S._Herrera property:award_received ?j . ?j rdf:type ontology:award }
[]
award
Q145752 Q203535
SYSTEM
Purple Heart, Medal of Honor
Q145752 Q203535
(Q51682,P166,c(Q618779))
action filter_type
action find
entity Q7516934
relation P166
type Q618779
Were [ANSWERS] were awarded to that person
['Q51682', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { resource:Q7516934 property:P166 ?j . ?j rdf:type ontology:Q618779 }
Purple Heart Medal of Honor
Were Purple Heart and Medal of Honor were awarded to that person
Purple Heart Medal of Honor
action filter_type
action find
entity Silvestre S. Herrera
relation award received
type award
['Glendale', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { resource:Silvestre_S._Herrera property:award_received ?j . ?j rdf:type ontology:award }
[]
Clarification
Simple Question|Single Entity|Indirect
Q145752
P17
Q15617994
USER
Which administrative territory is that award situated in ?
(Q145752,P17,c(Q15617994))
action filter_type
action find
entity Q145752
relation P17
type Q15617994
['Q145752', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q145752 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Purple Heart
action filter_type
action find
entity Purple Heart
relation country
type designation for an administrative territorial entity
['Purple Heart', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Purple_Heart property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q145752
SYSTEM
Did you mean Purple Heart ?
Q145752 Q203535
(Q145752,P17,c(Q15617994)) (Q203535,P17,c(Q15617994))
[ANSWER]
['Q145752', 'P17', {'concept': 'Q15617994'}] ['Q203535', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q145752 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Purple Heart Medal of Honor
Did you mean Purple Heart ?
Purple Heart
['Purple Heart', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Medal of Honor', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Purple_Heart property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q145752,P17,c(Q15617994))
['Q145752', 'P17', {'concept': 'Q15617994'}]
['Purple Heart', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q30
SYSTEM
United States of America
Q30
(Q145752,P17,c(Q15617994))
action filter_type
action find
entity Q145752
relation P17
type Q15617994
That award is situated in [ANSWER]
['Q145752', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q145752 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
United States of America
That award is situated in United States of America
United States of America
action filter_type
action find
entity Purple Heart
relation country
type designation for an administrative territorial entity
['Purple Heart', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Purple_Heart property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P859
Q939954
USER
Which Magnetic confinement fusion had funding from that administrative territory ?
(c(Q939954),P859,Q30)
action filter_type
action find_reverse
entity Q30
relation P859
type Q939954
[{'concept': 'Q939954'}, 'P859', 'Q30']
SELECT DISTINCT ?q WHERE { ?q property:P859 resource:Q30 . ?q rdf:type ontology:Q939954 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation sponsor
type Magnetic confinement fusion
[{'concept': 'Magnetic confinement fusion'}, 'sponsor', 'United States of America']
SELECT DISTINCT ?q WHERE { ?q property:sponsor resource:United_States_of_America . ?q rdf:type ontology:Magnetic_confinement_fusion }
[]
Magnetic confinement fusion
Q191788
SYSTEM
ITER
Q191788
(c(Q939954),P859,Q30)
action filter_type
action find_reverse
entity Q30
relation P859
type Q939954
[ANSWER] had funding from that administrative territory
[{'concept': 'Q939954'}, 'P859', 'Q30']
SELECT DISTINCT ?q WHERE { ?q property:P859 resource:Q30 . ?q rdf:type ontology:Q939954 }
ITER
ITER had funding from that administrative territory
ITER
action filter_type
action find_reverse
entity United States of America
relation sponsor
type Magnetic confinement fusion
[{'concept': 'Magnetic confinement fusion'}, 'sponsor', 'United States of America']
SELECT DISTINCT ?q WHERE { ?q property:sponsor resource:United_States_of_America . ?q rdf:type ontology:Magnetic_confinement_fusion }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q191788 Q564319 Q6819590
P17
Q15617994
USER
Is that Magnetic confinement fusion present in Völpke and Meriwether County School District ?
(Q191788,P17,Q564319) (Q191788,P17,Q6819590)
action is_in
entity Q191788
action intersection
action find_reverse
entity Q564319
relation P17
action find_reverse
entity Q6819590
relation P17
['Q191788', 'P17', 'Q564319'] ['Q191788', 'P17', 'Q6819590']
ASK WHERE { resource:Q191788 property:P17 resource:Q564319 . resource:Q191788 property:P17 resource:Q6819590 }
ITER Völpke Meriwether County School District
action is_in
entity ITER
action intersection
action find_reverse
entity Völpke
relation country
action find_reverse
entity Meriwether County School District
relation country
['ITER', 'country', 'Völpke'] ['ITER', 'country', 'Meriwether County School District']
ASK WHERE { resource:ITER property:country resource:Völpke . resource:ITER property:country resource:Meriwether_County_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q191788,P17,Q564319) (Q191788,P17,Q6819590)
action is_in
entity Q191788
action intersection
action find_reverse
entity Q564319
relation P17
action find_reverse
entity Q6819590
relation P17
[ANSWER]
['Q191788', 'P17', 'Q564319'] ['Q191788', 'P17', 'Q6819590']
ASK WHERE { resource:Q191788 property:P17 resource:Q564319 . resource:Q191788 property:P17 resource:Q6819590 }
No
action is_in
entity ITER
action intersection
action find_reverse
entity Völpke
relation country
action find_reverse
entity Meriwether County School District
relation country
['ITER', 'country', 'Völpke'] ['ITER', 'country', 'Meriwether County School District']
ASK WHERE { resource:ITER property:country resource:Völpke . resource:ITER property:country resource:Meriwether_County_School_District }
[]
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 ?b WHERE { resource:Q30 property:P163 ?b . ?b rdf:type ontology:Q14660 }
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 ?b WHERE { resource:United_States_of_America property:flag ?b . ?b rdf:type ontology:flag }
[]
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 ?b WHERE { resource:Q30 property:P163 ?b . ?b rdf:type ontology:Q14660 }
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 ?b WHERE { resource:United_States_of_America property:flag ?b . ?b rdf:type ontology:flag }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1032
Q14660
USER
And also tell me about Niger?
(Q1032,P163,c(Q14660))
action filter_type
action find
entity Q1032
relation P163
type Q14660
['Q1032', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?f WHERE { resource:Q1032 property:P163 ?f . ?f rdf:type ontology:Q14660 }
Niger
action filter_type
action find
entity Niger
relation flag
type flag
['Niger', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?f WHERE { resource:Niger property:flag ?f . ?f rdf:type ontology:flag }
[]
flag
Q103046
SYSTEM
Flag of Niger
Q103046
(Q1032,P163,c(Q14660))
action filter_type
action find
entity Q1032
relation P163
type Q14660
[ANSWER]
['Q1032', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?f WHERE { resource:Q1032 property:P163 ?f . ?f rdf:type ontology:Q14660 }
Flag of Niger
Flag of Niger
action filter_type
action find
entity Niger
relation flag
type flag
['Niger', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?f WHERE { resource:Niger property:flag ?f . ?f rdf:type ontology:flag }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1027
Q3918 Q618123 Q618779
USER
Which awards are bestowed by max number of universities and geographical objects ?
(c(Q618779),P1027,c(Q3918)|c(Q618123))
action argmax
action union
action find_tuple_counts
relation P1027
type Q618779
type Q3918
action find_tuple_counts
relation P1027
type Q618779
type Q618123
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q3918'}, {'concept': 'Q618123'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?z ) { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?g ) WHERE { { ?u property:P1027 ?f . ?u rdf:type ontology:Q618779 . ?f rdf:type ontology:Q3918 } UNION { ?u property:P1027 ?f . ?f rdf:type ontology:Q618123 . ?u rdf:type ontology:Q618779 } } GROUP BY ?u } } . { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?v ) WHERE { { ?s property:P1027 ?n . ?s rdf:type ontology:Q618779 . ?n rdf:type ontology:Q3918 } UNION { ?s property:P1027 ?n . ?s rdf:type ontology:Q618779 . ?n rdf:type ontology:Q618123 } } GROUP BY ?s } . FILTER ( ?v = ?z ) }
action argmax
action union
action find_tuple_counts
relation conferred by
type award
type university
action find_tuple_counts
relation conferred by
type award
type geographical object
[{'concept': 'award'}, 'conferred by', [{'concept': 'university'}, {'concept': 'geographical object'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?z ) { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?g ) WHERE { { ?u property:conferred_by ?f . ?u rdf:type ontology:award . ?f rdf:type ontology:university } UNION { ?u property:conferred_by ?f . ?f rdf:type ontology:geographical_object . ?u rdf:type ontology:award } } GROUP BY ?u } } . { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?v ) WHERE { { ?s property:conferred_by ?n . ?s rdf:type ontology:award . ?n rdf:type ontology:university } UNION { ?s property:conferred_by ?n . ?s rdf:type ontology:award . ?n rdf:type ontology:geographical_object } } GROUP BY ?s } . FILTER ( ?v = ?z ) }
[]
university geographical object award
Q1528092 Q11887210 Q19958744
SYSTEM
Giuseppe Garibaldi Trophy, Pekka Tuomisto Trophy, Sarah Palfrey Danzig Award
Q11887210 Q4679816 Q1528092 Q19958744
(c(Q618779),P1027,c(Q3918)|c(Q618123))
action argmax
action union
action find_tuple_counts
relation P1027
type Q618779
type Q3918
action find_tuple_counts
relation P1027
type Q618779
type Q618123
[ANSWERS] are bestowed by max number of universities and geographical objects
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q3918'}, {'concept': 'Q618123'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?z ) { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?g ) WHERE { { ?u property:P1027 ?f . ?u rdf:type ontology:Q618779 . ?f rdf:type ontology:Q3918 } UNION { ?u property:P1027 ?f . ?f rdf:type ontology:Q618123 . ?u rdf:type ontology:Q618779 } } GROUP BY ?u } } . { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?v ) WHERE { { ?s property:P1027 ?n . ?s rdf:type ontology:Q618779 . ?n rdf:type ontology:Q3918 } UNION { ?s property:P1027 ?n . ?s rdf:type ontology:Q618779 . ?n rdf:type ontology:Q618123 } } GROUP BY ?s } . FILTER ( ?v = ?z ) }
Pekka Tuomisto Trophy Adam Smith Prize Giuseppe Garibaldi Trophy Sarah Palfrey Danzig Award
Giuseppe Garibaldi Trophy, Pekka Tuomisto Trophy and Sarah Palfrey Danzig Award are bestowed by max number of universities and geographical objects
Giuseppe Garibaldi Trophy Pekka Tuomisto Trophy Sarah Palfrey Danzig Award
action argmax
action union
action find_tuple_counts
relation conferred by
type award
type university
action find_tuple_counts
relation conferred by
type award
type geographical object
[{'concept': 'award'}, 'conferred by', [{'concept': 'university'}, {'concept': 'geographical object'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?z ) { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?g ) WHERE { { ?u property:conferred_by ?f . ?u rdf:type ontology:award . ?f rdf:type ontology:university } UNION { ?u property:conferred_by ?f . ?f rdf:type ontology:geographical_object . ?u rdf:type ontology:award } } GROUP BY ?u } } . { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?v ) WHERE { { ?s property:conferred_by ?n . ?s rdf:type ontology:award . ?n rdf:type ontology:university } UNION { ?s property:conferred_by ?n . ?s rdf:type ontology:award . ?n rdf:type ontology:geographical_object } } GROUP BY ?s } . FILTER ( ?v = ?z ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1528092 Q11887210 Q19958744
P1027
Q618123
USER
Who awards those awards ?
(Q1528092,P1027,c(Q618123)) (Q11887210,P1027,c(Q618123)) (Q19958744,P1027,c(Q618123))
action filter_type
action find
entity prev_answer
relation P1027
type Q618123
['Q1528092', 'P1027', {'concept': 'Q618123'}] ['Q11887210', 'P1027', {'concept': 'Q618123'}] ['Q19958744', 'P1027', {'concept': 'Q618123'}]
SELECT DISTINCT ?h WHERE { ?w property:P1027 ?h . ?h rdf:type ontology:Q618123 . VALUES ( ?w ) { ( resource:Q11887210 ) ( resource:Q4679816 ) ( resource:Q1528092 ) } }
Giuseppe Garibaldi Trophy Pekka Tuomisto Trophy Sarah Palfrey Danzig Award
action filter_type
action find
entity prev_answer
relation conferred by
type geographical object
['Giuseppe Garibaldi Trophy', 'conferred by', {'concept': 'geographical object'}] ['Pekka Tuomisto Trophy', 'conferred by', {'concept': 'geographical object'}] ['Sarah Palfrey Danzig Award', 'conferred by', {'concept': 'geographical object'}]
SELECT DISTINCT ?h WHERE { ?w property:conferred_by ?h . ?h rdf:type ontology:geographical_object . VALUES ( ?w ) { ( resource:Pekka_Tuomisto_Trophy ) ( resource:Adam_Smith_Prize ) ( resource:Giuseppe_Garibaldi_Trophy ) } }
[]
geographical object
Q1479321 Q1854702 Q1156323
SYSTEM
French Rugby Federation, Finnish Ice Hockey Association, United States Tennis Association
Q1479321 Q1854702 Q1156323
(Q1528092,P1027,c(Q618123)) (Q11887210,P1027,c(Q618123)) (Q19958744,P1027,c(Q618123))
action filter_type
action find
entity prev_answer
relation P1027
type Q618123
[ANSWERS] award those award
['Q1528092', 'P1027', {'concept': 'Q618123'}] ['Q11887210', 'P1027', {'concept': 'Q618123'}] ['Q19958744', 'P1027', {'concept': 'Q618123'}]
SELECT DISTINCT ?h WHERE { ?w property:P1027 ?h . ?h rdf:type ontology:Q618123 . VALUES ( ?w ) { ( resource:Q11887210 ) ( resource:Q4679816 ) ( resource:Q1528092 ) } }
French Rugby Federation Finnish Ice Hockey Association United States Tennis Association
French Rugby Federation, Finnish Ice Hockey Association and United States Tennis Association award those award
French Rugby Federation Finnish Ice Hockey Association United States Tennis Association
action filter_type
action find
entity prev_answer
relation conferred by
type geographical object
['Giuseppe Garibaldi Trophy', 'conferred by', {'concept': 'geographical object'}] ['Pekka Tuomisto Trophy', 'conferred by', {'concept': 'geographical object'}] ['Sarah Palfrey Danzig Award', 'conferred by', {'concept': 'geographical object'}]
SELECT DISTINCT ?h WHERE { ?w property:conferred_by ?h . ?h rdf:type ontology:geographical_object . VALUES ( ?w ) { ( resource:Pekka_Tuomisto_Trophy ) ( resource:Adam_Smith_Prize ) ( resource:Giuseppe_Garibaldi_Trophy ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1528092
P170
Q502895
USER
Who created that award ?
(Q1528092,P170,c(Q502895))
action filter_type
action find
entity Q1528092
relation P170
type Q502895
['Q1528092', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q1528092 property:P170 ?k . ?k rdf:type ontology:Q502895 }
Giuseppe Garibaldi Trophy
action filter_type
action find
entity Giuseppe Garibaldi Trophy
relation creator
type common name
['Giuseppe Garibaldi Trophy', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Giuseppe_Garibaldi_Trophy property:creator ?k . ?k rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1528092
SYSTEM
Did you mean Giuseppe Garibaldi Trophy ?
Q1479321 Q1854702 Q1156323
(Q1479321,P170,c(Q502895)) (Q1854702,P170,c(Q502895)) (Q1156323,P170,c(Q502895))
[ANSWER]
['Q1479321', 'P170', {'concept': 'Q502895'}] ['Q1854702', 'P170', {'concept': 'Q502895'}] ['Q1156323', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q1528092 property:P170 ?k . ?k rdf:type ontology:Q502895 }
French Rugby Federation Finnish Ice Hockey Association United States Tennis Association
Did you mean Giuseppe Garibaldi Trophy ?
Giuseppe Garibaldi Trophy
['French Rugby Federation', 'creator', {'concept': 'common name'}] ['Finnish Ice Hockey Association', 'creator', {'concept': 'common name'}] ['United States Tennis Association', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Giuseppe_Garibaldi_Trophy property:creator ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1528092,P170,c(Q502895))
['Q1528092', 'P170', {'concept': 'Q502895'}]
['Giuseppe Garibaldi Trophy', 'creator', {'concept': 'common name'}]
[]
Q776564
SYSTEM
Jean-Pierre Rives
Q776564
(Q1528092,P170,c(Q502895))
action filter_type
action find
entity Q1528092
relation P170
type Q502895
[ANSWER] created that award
['Q1528092', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q1528092 property:P170 ?k . ?k rdf:type ontology:Q502895 }
Jean-Pierre Rives
Jean-Pierre Rives created that award
Jean-Pierre Rives
action filter_type
action find
entity Giuseppe Garibaldi Trophy
relation creator
type common name
['Giuseppe Garibaldi Trophy', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Giuseppe_Garibaldi_Trophy property:creator ?k . ?k rdf:type ontology:common_name }
[]