Simple Question (Direct)
Simple Question
Q15967974
P607
Q350604
USER
What was was Horace Law a part of ?
(Q15967974,P607,c(Q350604))
action filter_type
action find
entity Q15967974
relation P607
type Q350604
['Q15967974', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q350604 . resource:Q15967974 property:P607 ?f }
Horace Law
action filter_type
action find
entity Horace Law
relation conflict
type armed conflict
['Horace Law', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:armed_conflict . resource:Horace_Law property:conflict ?f }
[]
armed conflict
Q8663
SYSTEM
Korean War
Q8663
(Q15967974,P607,c(Q350604))
action filter_type
action find
entity Q15967974
relation P607
type Q350604
Horace Law was a part of [ANSWER]
['Q15967974', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q350604 . resource:Q15967974 property:P607 ?f }
Korean War
Horace Law was a part of Korean War
Korean War
action filter_type
action find
entity Horace Law
relation conflict
type armed conflict
['Horace Law', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:armed_conflict . resource:Horace_Law property:conflict ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15967974
P241
Q781132
USER
Which military branch is Horace Law affiliated to ?
(Q15967974,P241,c(Q781132))
action filter_type
action find
entity Q15967974
relation P241
type Q781132
['Q15967974', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?h WHERE { resource:Q15967974 property:P241 ?h . ?h rdf:type ontology:Q781132 }
Horace Law
action filter_type
action find
entity Horace Law
relation military branch
type military branch
['Horace Law', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?h WHERE { resource:Horace_Law property:military_branch ?h . ?h rdf:type ontology:military_branch }
[]
military branch
Q172771
SYSTEM
Royal Navy
Q172771
(Q15967974,P241,c(Q781132))
action filter_type
action find
entity Q15967974
relation P241
type Q781132
Horace Law is affiliated to [ANSWER]
['Q15967974', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?h WHERE { resource:Q15967974 property:P241 ?h . ?h rdf:type ontology:Q781132 }
Royal Navy
Horace Law is affiliated to Royal Navy
Royal Navy
action filter_type
action find
entity Horace Law
relation military branch
type military branch
['Horace Law', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?h WHERE { resource:Horace_Law property:military_branch ?h . ?h rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15967974
P69
Q41176
USER
Where was that person educated ?
(Q172771,P69,c(Q41176))
action filter_type
action find
entity Q15967974
relation P69
type Q41176
['Q172771', 'P69', {'concept': 'Q41176'}]
SELECT DISTINCT ?r WHERE { resource:Q15967974 property:P69 ?r . ?r rdf:type ontology:Q41176 }
Horace Law
action filter_type
action find
entity Horace Law
relation educated at
type building
['Royal Navy', 'educated at', {'concept': 'building'}]
SELECT DISTINCT ?r WHERE { resource:Horace_Law property:educated_at ?r . ?r rdf:type ontology:building }
[]
building
Q2278254
SYSTEM
Sherborne School
Q2278254
(Q172771,P69,c(Q41176))
action filter_type
action find
entity Q15967974
relation P69
type Q41176
Educated to [ANSWER] that person was
['Q172771', 'P69', {'concept': 'Q41176'}]
SELECT DISTINCT ?r WHERE { resource:Q15967974 property:P69 ?r . ?r rdf:type ontology:Q41176 }
Sherborne School
Educated to Sherborne School that person was
Sherborne School
action filter_type
action find
entity Horace Law
relation educated at
type building
['Royal Navy', 'educated at', {'concept': 'building'}]
SELECT DISTINCT ?r WHERE { resource:Horace_Law property:educated_at ?r . ?r rdf:type ontology:building }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15967974
P166
Q2003221
USER
What were won by Horace Law ?
(Q15967974,P166,c(Q2003221))
action filter_type
action find
entity Q15967974
relation P166
type Q2003221
['Q15967974', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?x WHERE { resource:Q15967974 property:P166 ?x . ?x rdf:type ontology:Q2003221 }
Horace Law
action filter_type
action find
entity Horace Law
relation award received
type chivalric order
['Horace Law', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?x WHERE { resource:Horace_Law property:award_received ?x . ?x rdf:type ontology:chivalric_order }
[]
chivalric order
Q12177451 Q10762848
SYSTEM
Knight Grand Cross of the Order of the Bath, Officer of the Order of the British Empire
Q12177451 Q10762848
(Q15967974,P166,c(Q2003221))
action filter_type
action find
entity Q15967974
relation P166
type Q2003221
[ANSWERS] were won by Horace Law
['Q15967974', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?x WHERE { resource:Q15967974 property:P166 ?x . ?x rdf:type ontology:Q2003221 }
Knight Grand Cross of the Order of the Bath Officer of the Order of the British Empire
Knight Grand Cross of the Order of the Bath and Officer of the Order of the British Empire were won by Horace Law
Knight Grand Cross of the Order of the Bath Officer of the Order of the British Empire
action filter_type
action find
entity Horace Law
relation award received
type chivalric order
['Horace Law', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?x WHERE { resource:Horace_Law property:award_received ?x . ?x rdf:type ontology:chivalric_order }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4078231
Q2003221
USER
And also tell me about Rowland Baring, 3rd Earl of Cromer?
(Q4078231,P166,c(Q2003221))
action filter_type
action find
entity Q4078231
relation P166
type Q2003221
['Q4078231', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?o WHERE { resource:Q4078231 property:P166 ?o . ?o rdf:type ontology:Q2003221 }
Rowland Baring, 3rd Earl of Cromer
action filter_type
action find
entity Rowland Baring, 3rd Earl of Cromer
relation award received
type chivalric order
['Rowland Baring, 3rd Earl of Cromer', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?o WHERE { resource:Rowland_Baring,_3rd_Earl_of_Cromer property:award_received ?o . ?o rdf:type ontology:chivalric_order }
[]
chivalric order
Q12201526 Q12177423
SYSTEM
Member of the Order of the British Empire, Knight Grand Cross of the Order of St Michael and St George
Q12201526 Q12177423
(Q4078231,P166,c(Q2003221))
action filter_type
action find
entity Q4078231
relation P166
type Q2003221
[ANSWERS]
['Q4078231', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?o WHERE { resource:Q4078231 property:P166 ?o . ?o rdf:type ontology:Q2003221 }
Member of the Order of the British Empire Knight Grand Cross of the Order of St Michael and St George
Member of the Order of the British Empire Knight Grand Cross of the Order of St Michael and St George
action filter_type
action find
entity Rowland Baring, 3rd Earl of Cromer
relation award received
type chivalric order
['Rowland Baring, 3rd Earl of Cromer', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?o WHERE { resource:Rowland_Baring,_3rd_Earl_of_Cromer property:award_received ?o . ?o rdf:type ontology:chivalric_order }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4078231
P20
Q56061
USER
Where did the demise of that person occur ?
(Q12201526,P20,c(Q56061)) (Q12177423,P20,c(Q56061))
action filter_type
action find
entity Q4078231
relation P20
type Q56061
['Q12201526', 'P20', {'concept': 'Q56061'}] ['Q12177423', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q4078231 property:P20 ?c . ?c rdf:type ontology:Q56061 }
Rowland Baring, 3rd Earl of Cromer
action filter_type
action find
entity Rowland Baring, 3rd Earl of Cromer
relation place of death
type administrative territorial entity
['Member of the Order of the British Empire', 'place of death', {'concept': 'administrative territorial entity'}] ['Knight Grand Cross of the Order of St Michael and St George', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Rowland_Baring,_3rd_Earl_of_Cromer property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q12201526,P20,c(Q56061)) (Q12177423,P20,c(Q56061))
action filter_type
action find
entity Q4078231
relation P20
type Q56061
The demise of that person occurred in [ANSWER]
['Q12201526', 'P20', {'concept': 'Q56061'}] ['Q12177423', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q4078231 property:P20 ?c . ?c rdf:type ontology:Q56061 }
London
The demise of that person occurred in London
London
action filter_type
action find
entity Rowland Baring, 3rd Earl of Cromer
relation place of death
type administrative territorial entity
['Member of the Order of the British Empire', 'place of death', {'concept': 'administrative territorial entity'}] ['Knight Grand Cross of the Order of St Michael and St George', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Rowland_Baring,_3rd_Earl_of_Cromer property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q84 Q6162591
P551
Q502895
USER
Does Jason Goodall dwell at that administrative territory ?
(Q6162591,P551,Q84)
action is_in
entity Q84
action find
entity Q6162591
relation P551
['Q6162591', 'P551', 'Q84']
ASK WHERE { resource:Q6162591 property:P551 resource:Q84 }
London Jason Goodall
action is_in
entity London
action find
entity Jason Goodall
relation residence
['Jason Goodall', 'residence', 'London']
ASK WHERE { resource:Jason_Goodall property:residence resource:London }
[]
common name
SYSTEM
YES
(Q6162591,P551,Q84)
action is_in
entity Q84
action find
entity Q6162591
relation P551
[ANSWER]
['Q6162591', 'P551', 'Q84']
ASK WHERE { resource:Q6162591 property:P551 resource:Q84 }
Yes
action is_in
entity London
action find
entity Jason Goodall
relation residence
['Jason Goodall', 'residence', 'London']
ASK WHERE { resource:Jason_Goodall property:residence resource:London }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q12201526 Q145
P17
Q15617994
USER
Does Member of the Order of the British Empire belong to United Kingdom ?
(Q12201526,P17,Q145)
action is_in
entity Q145
action find
entity Q12201526
relation P17
['Q12201526', 'P17', 'Q145']
ASK WHERE { resource:Q12201526 property:P17 resource:Q145 }
Member of the Order of the British Empire United Kingdom
action is_in
entity United Kingdom
action find
entity Member of the Order of the British Empire
relation country
['Member of the Order of the British Empire', 'country', 'United Kingdom']
ASK WHERE { resource:Member_of_the_Order_of_the_British_Empire property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q12201526,P17,Q145)
action is_in
entity Q145
action find
entity Q12201526
relation P17
[ANSWER]
['Q12201526', 'P17', 'Q145']
ASK WHERE { resource:Q12201526 property:P17 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Member of the Order of the British Empire
relation country
['Member of the Order of the British Empire', 'country', 'United Kingdom']
ASK WHERE { resource:Member_of_the_Order_of_the_British_Empire property:country resource:United_Kingdom }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q12201526
P17
Q15617994
USER
How many administrative territories are Member of the Order of the British Empire a part of ?
(Q12201526,P17,c(Q15617994))
action count
action filter_type
action find
entity Q12201526
relation P17
type Q15617994
['Q12201526', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { resource:Q12201526 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Member of the Order of the British Empire
action count
action filter_type
action find
entity Member of the Order of the British Empire
relation country
type designation for an administrative territorial entity
['Member of the Order of the British Empire', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { resource:Member_of_the_Order_of_the_British_Empire property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q12201526,P17,c(Q15617994))
action count
action filter_type
action find
entity Q12201526
relation P17
type Q15617994
[ANSWER]
['Q12201526', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { resource:Q12201526 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
United Kingdom
1
action count
action filter_type
action find
entity Member of the Order of the British Empire
relation country
type designation for an administrative territorial entity
['Member of the Order of the British Empire', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { resource:Member_of_the_Order_of_the_British_Empire property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3283943
Q15617994
USER
And how about Brokind?
(Q3283943,P17,c(Q15617994))
action count
action filter_type
action find
entity Q3283943
relation P17
type Q15617994
['Q3283943', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { resource:Q3283943 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Brokind
action count
action filter_type
action find
entity Brokind
relation country
type designation for an administrative territorial entity
['Brokind', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { resource:Brokind property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q3283943,P17,c(Q15617994))
action count
action filter_type
action find
entity Q3283943
relation P17
type Q15617994
[ANSWER]
['Q3283943', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { resource:Q3283943 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Brokind
relation country
type designation for an administrative territorial entity
['Brokind', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { resource:Brokind property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P941
Q502895 Q3305213 Q95074
USER
Which people were min number of paintings and fictional characters inspired by ?
(c(Q3305213)|c(Q95074),P941,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q3305213
action find_reverse_tuple_counts
relation P941
type Q502895
type Q95074
[[{'concept': 'Q3305213'}, {'concept': 'Q95074'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) ?m WHERE { { ?h property:P941 ?m . ?m rdf:type ontology:Q502895 . ?h rdf:type ontology:Q3305213 } UNION { ?h property:P941 ?m . ?m rdf:type ontology:Q502895 . ?h rdf:type ontology:Q95074 } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?d WHERE { VALUES ( ?k ) { ( ontology:Q3305213 ) ( ontology:Q95074 ) } . ?a rdf:type ?k } GROUP BY ?d } . FILTER ( ?p = ?q ) }
action argmin
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type painting
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional character
[[{'concept': 'painting'}, {'concept': 'fictional character'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) ?m WHERE { { ?h property:inspired_by ?m . ?m rdf:type ontology:common_name . ?h rdf:type ontology:painting } UNION { ?h property:inspired_by ?m . ?m rdf:type ontology:common_name . ?h rdf:type ontology:fictional_character } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?d WHERE { VALUES ( ?k ) { ( ontology:painting ) ( ontology:fictional_character ) } . ?a rdf:type ?k } GROUP BY ?d } . FILTER ( ?p = ?q ) }
[]
common name painting fictional character
Q1744 Q22686 Q5383
SYSTEM
Madonna, Donald Trump, David Bowie
Q207939 Q19738291 Q23380 Q366380 Q334001 Q19526 Q58801 Q207447 Q560792 Q35548 Q205002 Q30755 Q37693 Q302650 Q666171 Q531161 Q5383 Q127171 Q43715 Q5361548 Q312502 Q154545 Q5534471 Q2907490 Q1532260 Q892444 Q184226 Q183221 Q81960 Q5592 Q7836 Q5594 Q538158 Q1508997 Q310476 Q183458 Q34618 Q151573 Q3560424 Q947525 Q156268 Q1353414 Q5669 Q5577 Q395274 Q966425 Q47551 Q357951 Q676001 Q5675905 Q37079 Q103343 Q464056 Q313270 Q48319 Q1288359 Q551643 Q3498875 Q273079 Q299271 Q9061 Q849 Q79031 Q150679 Q177692 Q2601617 Q163118 Q5599 Q22686 Q5545355 Q463653 Q483512 Q123075 Q835175 Q229432 Q123071 Q229437 Q44272 Q1744 Q367447 Q5582 Q219640 Q5822 Q5589 Q296 Q352954 Q34013 Q2836532 Q712497 Q221464 Q550426 Q25328 Q203219 Q983441 Q41554 Q83338 Q205365 Q624868 Q1953018 Q983352 Q471023 Q5432 Q1896700 Q156622 Q354832 Q159907 Q1401 Q192222 Q83155 Q2965760 Q3385369 Q733965 Q2409128 Q1278282 Q5053466 Q513644 Q44122 Q576222
(c(Q3305213)|c(Q95074),P941,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q3305213
action find_reverse_tuple_counts
relation P941
type Q502895
type Q95074
Were inspired by [ANSWERS]
[[{'concept': 'Q3305213'}, {'concept': 'Q95074'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) ?m WHERE { { ?h property:P941 ?m . ?m rdf:type ontology:Q502895 . ?h rdf:type ontology:Q3305213 } UNION { ?h property:P941 ?m . ?m rdf:type ontology:Q502895 . ?h rdf:type ontology:Q95074 } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?d WHERE { VALUES ( ?k ) { ( ontology:Q3305213 ) ( ontology:Q95074 ) } . ?a rdf:type ?k } GROUP BY ?d } . FILTER ( ?p = ?q ) }
Alexander McQueen Walter O'Brien Jean Auguste Dominique Ingres Allan Kaprow Thomas Cole Maya Angelou Conrad Veidt Jean-Baptiste-Siméon Chardin Allan Ramsay Paul Cézanne Joe Grant Auguste Rodin Paul Gauguin Tate Donovan John Marin Elizabeth Kenny David Bowie Jean-Honoré Fragonard Vlad Tepes Elisabeth Scott Fiorello H. La Guardia Léopold Sédar Senghor Geoffrey Bowers Bo Gritz Al Hirschfeld Scott Weinger Gilles Deleuze Antoine Watteau Robert Burns Michelangelo René Magritte Antonello da Messina Balthasar Denner Georges Manolescu Fats Waller Andrea del Verrocchio Gustave Courbet Paul Signac Violet Gordon-Woodhouse Robert Gant Pierre Bourdieu Robert Gober Sandro Botticelli Salvador Dalí Michael J. Fox Charles Hubert Millevoye Titian Mehran Karimi Nasseri Eugène Devéria Andrés López Muñoz Tom Cruise Jennifer Connelly Gala Dalí Jerome Kern Hans Holbein Félix González-Torres Jean Goujon Steve Carlson Cab Calloway Bahram V Karl Marx François Villon Mike Tyson Anthony van Dyck Andrea Palladio Leonard Baskin Marguerite Yourcenar Peter Paul Rubens Donald Trump George Turberville Marie-Thérèse Walter Isadora Duncan Robert Walser Bernard Levin Lucretia Arnold Böcklin Donatella Versace Michel Foucault Madonna Louis Prima Vincent van Gogh Vincent Price Piero della Francesca Henri Matisse Claude Monet Carel Fabritius Georges Seurat Alice Ayres François Girardon Gilbert Gottfried Jeffrey Katzenberg Antoni Gaudí Boris Karloff Thomas Moran Nicolas Poussin Robin Williams Cain Charles Sheeler Pratibha Ray Il Pordenone Jimmy Durante Francisco de Goya Marian Wright Edelman Giorgio de Chirico Pieter Claesz David Hockney Petrarch Lysippos Jacques-Louis David Christiane Faure Pierre Guillaume Jack Carlson Dušan Popov Eastman Johnson Cathy McGowan Ray Ventura Django Reinhardt Floris van Dyck
Were inspired by Madonna, Donald Trump and David Bowie
Madonna Donald Trump David Bowie
action argmin
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type painting
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional character
[[{'concept': 'painting'}, {'concept': 'fictional character'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) ?m WHERE { { ?h property:inspired_by ?m . ?m rdf:type ontology:common_name . ?h rdf:type ontology:painting } UNION { ?h property:inspired_by ?m . ?m rdf:type ontology:common_name . ?h rdf:type ontology:fictional_character } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?d WHERE { VALUES ( ?k ) { ( ontology:painting ) ( ontology:fictional_character ) } . ?a rdf:type ?k } GROUP BY ?d } . FILTER ( ?p = ?q ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P937
Q56061
USER
How many administrative territories did that person work ?
(Q5383,P937,c(Q56061))
['Q5383', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q5383 property:Q27067654 ?z . ?z rdf:type ontology:Q56061 }
['David Bowie', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:David_Bowie property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q22686
SYSTEM
Did you mean Donald Trump ?
(Q1744,P937,c(Q56061)) (Q22686,P937,c(Q56061)) (Q5383,P937,c(Q56061))
[ANSWER]
['Q1744', 'P937', {'concept': 'Q56061'}] ['Q22686', 'P937', {'concept': 'Q56061'}] ['Q5383', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q5383 property:Q27067654 ?z . ?z rdf:type ontology:Q56061 }
Did you mean Donald Trump ?
Donald Trump
['Madonna', 'work location', {'concept': 'administrative territorial entity'}] ['Donald Trump', 'work location', {'concept': 'administrative territorial entity'}] ['David Bowie', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:David_Bowie property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant David Bowie. Could you tell me the answer for that?
(Q5383,P937,c(Q56061))
Q5383
['Q5383', 'P937', {'concept': 'Q56061'}]
['David Bowie', 'work location', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
2
Q64 Q60
(Q5383,P937,c(Q56061))
[ANSWER]
['Q5383', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q5383 property:Q27067654 ?z . ?z rdf:type ontology:Q56061 }
Berlin New York City
2
['David Bowie', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:David_Bowie property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22686
P180
Q3305213
USER
Which painting depicts Donald Trump ?
(c(Q3305213),P180,Q22686)
action filter_type
action find_reverse
entity Q22686
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q22686']
SELECT DISTINCT ?o WHERE { ?o property:P180 resource:Q22686 . ?o rdf:type ontology:Q3305213 }
Donald Trump
action filter_type
action find_reverse
entity Donald Trump
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'Donald Trump']
SELECT DISTINCT ?o WHERE { ?o property:depicts resource:Donald_Trump . ?o rdf:type ontology:painting }
[]
painting
Q22330074
SYSTEM
Tronald Dump
Q22330074
(c(Q3305213),P180,Q22686)
action filter_type
action find_reverse
entity Q22686
relation P180
type Q3305213
[ANSWER] depicts Donald Trump
[{'concept': 'Q3305213'}, 'P180', 'Q22686']
SELECT DISTINCT ?o WHERE { ?o property:P180 resource:Q22686 . ?o rdf:type ontology:Q3305213 }
Tronald Dump
Tronald Dump depicts Donald Trump
Tronald Dump
action filter_type
action find_reverse
entity Donald Trump
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'Donald Trump']
SELECT DISTINCT ?o WHERE { ?o property:depicts resource:Donald_Trump . ?o rdf:type ontology:painting }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22686
P53
Q874405
USER
What dynasty does that person belong to ?
(Q22330074,P53,c(Q874405))
action filter_type
action find
entity Q22686
relation P53
type Q874405
['Q22330074', 'P53', {'concept': 'Q874405'}]
SELECT DISTINCT ?v WHERE { resource:Q22686 property:P53 ?v . ?v rdf:type ontology:Q874405 }
Donald Trump
action filter_type
action find
entity Donald Trump
relation noble family
type social group
['Tronald Dump', 'noble family', {'concept': 'social group'}]
SELECT DISTINCT ?v WHERE { resource:Donald_Trump property:noble_family ?v . ?v rdf:type ontology:social_group }
[]
social group
Q3999864
SYSTEM
Trump family
Q3999864
(Q22330074,P53,c(Q874405))
action filter_type
action find
entity Q22686
relation P53
type Q874405
That person belongs to [ANSWER]
['Q22330074', 'P53', {'concept': 'Q874405'}]
SELECT DISTINCT ?v WHERE { resource:Q22686 property:P53 ?v . ?v rdf:type ontology:Q874405 }
Trump family
That person belongs to Trump family
Trump family
action filter_type
action find
entity Donald Trump
relation noble family
type social group
['Tronald Dump', 'noble family', {'concept': 'social group'}]
SELECT DISTINCT ?v WHERE { resource:Donald_Trump property:noble_family ?v . ?v rdf:type ontology:social_group }
[]