Simple Question (Direct)
Simple Question
Q3813268
P21
Q290
USER
Which sex does Rafael Pérez y Pérez have ?
(Q3813268,P21,c(Q290))
action filter_type
action find
entity Q3813268
relation P21
type Q290
['Q3813268', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q3813268 property:P21 ?s . ?s rdf:type ontology:Q290 }
Rafael Pérez y Pérez
action filter_type
action find
entity Rafael Pérez y Pérez
relation gender
type sex
['Rafael Pérez y Pérez', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Rafael_Pérez_y_Pérez property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3813268,P21,c(Q290))
action filter_type
action find
entity Q3813268
relation P21
type Q290
Rafael Pérez y Pérez has a [ANSWER]
['Q3813268', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q3813268 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
Rafael Pérez y Pérez has a male
male
action filter_type
action find
entity Rafael Pérez y Pérez
relation gender
type sex
['Rafael Pérez y Pérez', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Rafael_Pérez_y_Pérez property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3813268
P136
Q1792379
USER
What can be considered as category for Rafael Pérez y Pérez ?
(Q3813268,P136,c(Q1792379))
action filter_type
action find
entity Q3813268
relation P136
type Q1792379
['Q3813268', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?t WHERE { resource:Q3813268 property:P136 ?t . ?t rdf:type ontology:Q1792379 }
Rafael Pérez y Pérez
action filter_type
action find
entity Rafael Pérez y Pérez
relation genre
type art genre
['Rafael Pérez y Pérez', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?t WHERE { resource:Rafael_Pérez_y_Pérez property:genre ?t . ?t rdf:type ontology:art_genre }
[]
art genre
Q8261
SYSTEM
novel
Q8261
(Q3813268,P136,c(Q1792379))
action filter_type
action find
entity Q3813268
relation P136
type Q1792379
General [ANSWER] can be considered as category for Rafael Pérez y Pérez
['Q3813268', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?t WHERE { resource:Q3813268 property:P136 ?t . ?t rdf:type ontology:Q1792379 }
novel
General novel can be considered as category for Rafael Pérez y Pérez
novel
action filter_type
action find
entity Rafael Pérez y Pérez
relation genre
type art genre
['Rafael Pérez y Pérez', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?t WHERE { resource:Rafael_Pérez_y_Pérez property:genre ?t . ?t rdf:type ontology:art_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8261
P101
Q502895
USER
Who works in the domain of that art genre ?
(c(Q502895),P101,Q8261)
action filter_type
action find_reverse
entity Q8261
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q8261']
SELECT DISTINCT ?x WHERE { ?x property:P101 resource:Q8261 . ?x rdf:type ontology:Q502895 }
novel
action filter_type
action find_reverse
entity novel
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'novel']
SELECT DISTINCT ?x WHERE { ?x property:field_of_work resource:novel . ?x rdf:type ontology:common_name }
[]
common name
Q16857297 Q27679413
SYSTEM
Charlotte Anne Eaton, Kiran Manral
Q16857297 Q27679413
(c(Q502895),P101,Q8261)
action filter_type
action find_reverse
entity Q8261
relation P101
type Q502895
[ANSWERS] work in the domain of that art genre
[{'concept': 'Q502895'}, 'P101', 'Q8261']
SELECT DISTINCT ?x WHERE { ?x property:P101 resource:Q8261 . ?x rdf:type ontology:Q502895 }
Charlotte Anne Eaton Kiran Manral
Charlotte Anne Eaton and Kiran Manral work in the domain of that art genre
Charlotte Anne Eaton Kiran Manral
action filter_type
action find_reverse
entity novel
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'novel']
SELECT DISTINCT ?x WHERE { ?x property:field_of_work resource:novel . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8261
P170
Q12737077
USER
Who is the creator of novel ?
(Q8261,P170,c(Q12737077))
action filter_type
action find
entity Q8261
relation P170
type Q12737077
['Q8261', 'P170', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q8261 property:P170 ?e . ?e rdf:type ontology:Q12737077 }
novel
action filter_type
action find
entity novel
relation creator
type occupation
['novel', 'creator', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:novel property:creator ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q6625963
SYSTEM
novelist
Q6625963
(Q8261,P170,c(Q12737077))
action filter_type
action find
entity Q8261
relation P170
type Q12737077
The creator of novel is a [ANSWER]
['Q8261', 'P170', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q8261 property:P170 ?e . ?e rdf:type ontology:Q12737077 }
novelist
The creator of novel is a novelist
novelist
action filter_type
action find
entity novel
relation creator
type occupation
['novel', 'creator', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:novel property:creator ?e . ?e rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q9332 Q1792379
USER
Which art genres express atleast 1 occupations or behaviors ?
(c(Q1792379),P180,c(Q12737077)|c(Q9332))
action atleast
action union
action find_tuple_counts
relation P180
type Q1792379
type Q12737077
action find_tuple_counts
relation P180
type Q1792379
type Q9332
value 1
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q12737077'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?i WHERE { { ?i property:P180 ?g . ?i rdf:type ontology:Q1792379 . ?g rdf:type ontology:Q9332 } UNION { ?i property:P180 ?g . ?i rdf:type ontology:Q1792379 . ?g rdf:type ontology:Q12737077 } } GROUP BY ?i } . FILTER ( ?n >= 1 ) }
action atleast
action union
action find_tuple_counts
relation depicts
type art genre
type occupation
action find_tuple_counts
relation depicts
type art genre
type behavior
value 1
[{'concept': 'art genre'}, 'depicts', [{'concept': 'occupation'}, {'concept': 'behavior'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?i WHERE { { ?i property:depicts ?g . ?i rdf:type ontology:art_genre . ?g rdf:type ontology:behavior } UNION { ?i property:depicts ?g . ?i rdf:type ontology:art_genre . ?g rdf:type ontology:occupation } } GROUP BY ?i } . FILTER ( ?n >= 1 ) }
[]
occupation behavior art genre
Q26267230 Q22915045 Q659396
SYSTEM
Portrait of a king of marksmen (presumably Jacobus Albertus de Backer), Zinc sculptures of the Pori town hall, equestrian statue
Q26267230 Q22915045 Q659396 Q1339864
(c(Q1792379),P180,c(Q12737077)|c(Q9332))
action atleast
action union
action find_tuple_counts
relation P180
type Q1792379
type Q12737077
action find_tuple_counts
relation P180
type Q1792379
type Q9332
value 1
[ANSWERS] express atleast 1 occupations or behaviors
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q12737077'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?i WHERE { { ?i property:P180 ?g . ?i rdf:type ontology:Q1792379 . ?g rdf:type ontology:Q9332 } UNION { ?i property:P180 ?g . ?i rdf:type ontology:Q1792379 . ?g rdf:type ontology:Q12737077 } } GROUP BY ?i } . FILTER ( ?n >= 1 ) }
Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) Zinc sculptures of the Pori town hall equestrian statue sports film
Portrait of a king of marksmen (presumably Jacobus Albertus de Backer), Zinc sculptures of the Pori town hall and equestrian statue express atleast 1 occupations or behaviors
Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) Zinc sculptures of the Pori town hall equestrian statue
action atleast
action union
action find_tuple_counts
relation depicts
type art genre
type occupation
action find_tuple_counts
relation depicts
type art genre
type behavior
value 1
[{'concept': 'art genre'}, 'depicts', [{'concept': 'occupation'}, {'concept': 'behavior'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?i WHERE { { ?i property:depicts ?g . ?i rdf:type ontology:art_genre . ?g rdf:type ontology:behavior } UNION { ?i property:depicts ?g . ?i rdf:type ontology:art_genre . ?g rdf:type ontology:occupation } } GROUP BY ?i } . FILTER ( ?n >= 1 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P170
Q502895
USER
How many people are the creators of that art genre ?
(Q26267230,P170,c(Q502895))
['Q26267230', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q26267230 property:Q2500638 ?z . ?z rdf:type ontology:Q502895 }
['Portrait of a king of marksmen (presumably Jacobus Albertus de Backer)', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Portrait_of_a_king_of_marksmen_(presumably_Jacobus_Albertus_de_Backer) property:creator ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q26267230
SYSTEM
Did you mean Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) ?
(Q26267230,P170,c(Q502895)) (Q22915045,P170,c(Q502895)) (Q659396,P170,c(Q502895))
[ANSWER]
['Q26267230', 'P170', {'concept': 'Q502895'}] ['Q22915045', 'P170', {'concept': 'Q502895'}] ['Q659396', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q26267230 property:Q2500638 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) ?
Portrait of a king of marksmen (presumably Jacobus Albertus de Backer)
['Portrait of a king of marksmen (presumably Jacobus Albertus de Backer)', 'creator', {'concept': 'common name'}] ['Zinc sculptures of the Pori town hall', 'creator', {'concept': 'common name'}] ['equestrian statue', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Portrait_of_a_king_of_marksmen_(presumably_Jacobus_Albertus_de_Backer) property:creator ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q26267230,P170,c(Q502895))
['Q26267230', 'P170', {'concept': 'Q502895'}]
['Portrait of a king of marksmen (presumably Jacobus Albertus de Backer)', 'creator', {'concept': 'common name'}]
[]
SYSTEM
1
Q4233718
(Q26267230,P170,c(Q502895))
[ANSWER]
['Q26267230', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q26267230 property:Q2500638 ?z . ?z rdf:type ontology:Q502895 }
anonymous
1
['Portrait of a king of marksmen (presumably Jacobus Albertus de Backer)', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Portrait_of_a_king_of_marksmen_(presumably_Jacobus_Albertus_de_Backer) property:creator ?z . ?z rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q4770723
P1028
Q502895 Q1792379
USER
Which people made a donation for lesser number of art genres than A. Conger Goodyear ?
(c(Q1792379),P1028,c(Q502895))
action less
action find_reverse_tuple_counts
relation P1028
type Q502895
type Q1792379
action count
action filter_type
action find_reverse
entity Q4770723
relation P1028
type Q1792379
[{'concept': 'Q1792379'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:P1028 ?a . ?a rdf:type ontology:Q502895 . ?d rdf:type ontology:Q1792379 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:P1028 resource:Q4770723 . ?b rdf:type ontology:Q1792379 } } . FILTER ( ?j < ?v ) }
A. Conger Goodyear
action less
action find_reverse_tuple_counts
relation donated by
type common name
type art genre
action count
action filter_type
action find_reverse
entity A. Conger Goodyear
relation donated by
type art genre
[{'concept': 'art genre'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:donated_by ?a . ?a rdf:type ontology:common_name . ?d rdf:type ontology:art_genre } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:donated_by resource:A._Conger_Goodyear . ?b rdf:type ontology:art_genre } } . FILTER ( ?j < ?v ) }
[]
common name art genre
Q22686 Q134817 Q2677
SYSTEM
Donald Trump, Abdul Hamid II, Wilhelm II
Q43720 Q3133098 Q26459473 Q2637616 Q676301 Q23016142 Q26359798 Q27450423 Q1699735 Q26459024 Q26262410 Q213963 Q222458 Q5407510 Q1461924 Q26270023 Q26208057 Q17305789 Q4785964 Q23828909 Q18718742 Q2172853 Q2677 Q18529818 Q18681578 Q52930 Q23719193 Q26155343 Q26254144 Q7240564 Q382439 Q164500 Q2667 Q51056 Q18691655 Q272476 Q18711324 Q18676928 Q26262436 Q77210 Q37134 Q26290195 Q26289878 Q23055273 Q1460119 Q2914083 Q453523 Q26262301 Q26266175 Q134817 Q984 Q15433875 Q26262414 Q18676673 Q26270295 Q22815714 Q165568 Q26154073 Q8479 Q170398 Q15525738 Q365930 Q26262395 Q27431382 Q237463 Q233198 Q16018042 Q7459175 Q62196 Q12322315 Q18674610 Q747341 Q18681522 Q150652 Q26260039 Q19754058 Q27450503 Q22925473 Q26270343 Q27230873 Q3174202 Q7183322 Q95946 Q452811 Q876414 Q438322 Q26262455 Q18674603 Q6968011 Q26289675 Q764443 Q26266139 Q6688106 Q11919354 Q183226 Q4233718 Q154912 Q159416 Q26313983 Q18713952 Q269412 Q26282942 Q26520314 Q26492743 Q26254109 Q26216791 Q16860467 Q9013205 Q20683951 Q26207985 Q57538 Q207384 Q43922 Q1373397 Q26254138 Q1377426 Q26218064 Q6712648 Q18711061 Q26160551 Q9439 Q2551 Q26260093 Q1348898 Q22686 Q26689742 Q22829116 Q26476068 Q1106973 Q21125090 Q26266192 Q152935 Q18691646 Q26266198 Q26415672 Q26254121 Q57986 Q2594 Q589876 Q26262463 Q5088246 Q26262467 Q5396194 Q6141615 Q7399967 Q4924916
(c(Q1792379),P1028,c(Q502895))
action less
action find_reverse_tuple_counts
relation P1028
type Q502895
type Q1792379
action count
action filter_type
action find_reverse
entity Q4770723
relation P1028
type Q1792379
[ANSWERS] made a donation for lesser number of art genres than A. Conger Goodyear
[{'concept': 'Q1792379'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:P1028 ?a . ?a rdf:type ontology:Q502895 . ?d rdf:type ontology:Q1792379 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:P1028 resource:Q4770723 . ?b rdf:type ontology:Q1792379 } } . FILTER ( ?j < ?v ) }
Pius IX Henry Sugimoto Mrs. Rodney Davis Dowdell Albert M. Bender John VI of Portugal Barry Toubin Bob and Bonnie Hartman Stuart P. Feld John D. Rockefeller III Revell McCallum Loren F. Taylor Wilhelm Hoegner Frederick Stanley, 16th Earl of Derby Eugene McDermott Friedrich Schiedel Mrs. Randall Hanna Frederick Baekeland Claudia DeMonte Archer Milton Huntington Walter R. Heyneman Faye Bleicher-Berger Rudolf Hanauer Wilhelm II James Chance Carolann Smurthwaite Gustav III of Sweden Mildred Anna Williams Garo Antreasian Ted G. Decker Prentis Cobb Hale Jan Zamoyski Princess Victoria Melita of Saxe-Coburg and Gotha Paul von Hindenburg Franz Joseph I of Austria Orme Lewis Countess Palatine Elisabeth Auguste of Sulzbach Margaret Miller Carl S. Dentzel Clay Lockett Otto Grotewohl Frederick William III of Prussia Arthur Keating Sam Patania Lawrence K. Miller Henner Löffler Martin Hägglund Stanisław Żółkiewski Frederick R. Pleasants Joan Teer Jacobson Abdul Hamid II Miles Franklin Peter Becker Thomas R. Taylor Bryant M. Hanley, Jr. Terry Etherton Donald D. Harrington John XXII Sally Anderson Peter the Great William I of Württemberg Gerald Murphy Hussein Kamel of Egypt David Berg Vivian Hotchkiss Eleonora Gonzaga Therese of Saxe-Hildburghausen Arthur I. Appleton Seymour H. Knox II Peter Harry Carstensen Knud Højgaard Edward Marcus Edwin Binney Robert R. Rosenbaum Wilhelm I of Germany Gregory Kondos Otto Kallir Albert P. Strietmann Percy Moore Turner Riva Yares Charles F. Olney Jan Radlica Philip Campbell Curtis Ferdinand Mülhens Jakub Zadzik Reinhold Klika Herbert W. Ladd Faith Holsaert Nancy Hamon Natalia Clovis Ruth Corbett Cross August Wegmann Carlos Carulo Louis S. Cates Enric Serra Auqué Charles IV of Spain anonymous Olav V of Norway Naser al-Din Shah Qajar Roger J. Welter Everett F. Drumright George V Joel Coplin Dorothy C. Walker Susan S. Small Alma A. Konigslow Margarita Berg Onofre Garí i Torrent Josep Maria Garrut i Romà Walter P. Chrysler Jr. Martin and Nancy Melzer John of Saxony Alexander I of Yugoslavia Leo XIII James H. Clark Mr. and Mrs. Arthur W. Rogers Jerzy Ossoliński Michael Berman M. H. de Young William A. Small, Jr. Jack Balas Queen Victoria Johannes Rau Dennis J. Friedman Theodore M. Davis Donald Trump Frances M. Weidman Lorenz Anderman Arthur B. Adams Baldomero Giménez Rudolf Meimberg Margaret Kirkpatrick George II of Greece Thelma Kieckhefer Dan Leach Agnes Griffen Matthew Blacharski Frederick Augustus II of Saxony Theodor Heuss Mikołaj Kamieniecki John Rein Chauncey McCormick Laurence L. Shaw Erwin S. Barrie Madanjeet Singh Saidie May Blanchette Ferry Rockefeller
Donald Trump, Abdul Hamid II and Wilhelm II made a donation for lesser number of art genres than A. Conger Goodyear
Donald Trump Abdul Hamid II Wilhelm II
action less
action find_reverse_tuple_counts
relation donated by
type common name
type art genre
action count
action filter_type
action find_reverse
entity A. Conger Goodyear
relation donated by
type art genre
[{'concept': 'art genre'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:donated_by ?a . ?a rdf:type ontology:common_name . ?d rdf:type ontology:art_genre } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:donated_by resource:A._Conger_Goodyear . ?b rdf:type ontology:art_genre } } . FILTER ( ?j < ?v ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q22686 Q2411384
P793
Q1656682
USER
How many events are Donald Trump or Hôtel des Monnaies associated with ?
(Q22686,P793,c(Q1656682)) (Q2411384,P793,c(Q1656682))
action count
action union
action filter_type
action find
entity Q22686
relation P793
type Q1656682
action filter_type
action find
entity Q2411384
relation P793
type Q1656682
['Q22686', 'P793', {'concept': 'Q1656682'}] ['Q2411384', 'P793', {'concept': 'Q1656682'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?u property:P793 ?o . VALUES ( ?u ) { ( resource:Q22686 ) ( resource:Q2411384 ) } }
Donald Trump Hôtel des Monnaies
action count
action union
action filter_type
action find
entity Donald Trump
relation significant event
type event
action filter_type
action find
entity Hôtel des Monnaies
relation significant event
type event
['Donald Trump', 'significant event', {'concept': 'event'}] ['Hôtel des Monnaies', 'significant event', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?u property:significant_event ?o . VALUES ( ?u ) { ( resource:Donald_Trump ) ( resource:Hôtel_des_Monnaies ) } }
[]
event
SYSTEM
2
Q18752057 Q27824398
(Q22686,P793,c(Q1656682)) (Q2411384,P793,c(Q1656682))
action count
action union
action filter_type
action find
entity Q22686
relation P793
type Q1656682
action filter_type
action find
entity Q2411384
relation P793
type Q1656682
[ANSWER]
['Q22686', 'P793', {'concept': 'Q1656682'}] ['Q2411384', 'P793', {'concept': 'Q1656682'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?u property:P793 ?o . VALUES ( ?u ) { ( resource:Q22686 ) ( resource:Q2411384 ) } }
cornerstone laying ceremony inauguration of Donald Trump
2
action count
action union
action filter_type
action find
entity Donald Trump
relation significant event
type event
action filter_type
action find
entity Hôtel des Monnaies
relation significant event
type event
['Donald Trump', 'significant event', {'concept': 'event'}] ['Hôtel des Monnaies', 'significant event', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?u property:significant_event ?o . VALUES ( ?u ) { ( resource:Donald_Trump ) ( resource:Hôtel_des_Monnaies ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q95074
USER
How many fictional characters had atleast 4 people as the dubbing artist ?
(c(Q95074),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q95074
type Q502895
value 4
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { FILTER ( ?n >= 4 ) . { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?n ) WHERE { ?s property:P725 ?h . ?s rdf:type ontology:Q95074 . ?h rdf:type ontology:Q502895 } GROUP BY ?s } }
action count
action atleast
action find_tuple_counts
relation voice actor
type fictional character
type common name
value 4
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { FILTER ( ?n >= 4 ) . { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?n ) WHERE { ?s property:voice_actor ?h . ?s rdf:type ontology:fictional_character . ?h rdf:type ontology:common_name } GROUP BY ?s } }
[]
common name fictional character
SYSTEM
3
Q3471289 Q12400 Q2340460
(c(Q95074),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q95074
type Q502895
value 4
[ANSWER]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { FILTER ( ?n >= 4 ) . { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?n ) WHERE { ?s property:P725 ?h . ?s rdf:type ontology:Q95074 . ?h rdf:type ontology:Q502895 } GROUP BY ?s } }
Samurai Goroh Samus Aran Captain Falcon
3
action count
action atleast
action find_tuple_counts
relation voice actor
type fictional character
type common name
value 4
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { FILTER ( ?n >= 4 ) . { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?n ) WHERE { ?s property:voice_actor ?h . ?s rdf:type ontology:fictional_character . ?h rdf:type ontology:common_name } GROUP BY ?s } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q4770723 Q199
P40
Q502895
USER
How many people have A. Conger Goodyear or 1 as a child ?
(c(Q502895),P40,Q4770723) (c(Q502895),P40,Q199)
action count
action union
action filter_type
action find_reverse
entity Q4770723
relation P40
type Q502895
action filter_type
action find_reverse
entity Q199
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q4770723'] [{'concept': 'Q502895'}, 'P40', 'Q199']
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { ?z property:P40 resource:Q4770723 . ?z rdf:type ontology:Q502895 } UNION { ?z property:P40 resource:Q199 . ?z rdf:type ontology:Q502895 } }
A. Conger Goodyear 1
action count
action union
action filter_type
action find_reverse
entity A. Conger Goodyear
relation child
type common name
action filter_type
action find_reverse
entity 1
relation child
type common name
[{'concept': 'common name'}, 'child', 'A. Conger Goodyear'] [{'concept': 'common name'}, 'child', '1']
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { ?z property:child resource:A._Conger_Goodyear . ?z rdf:type ontology:common_name } UNION { ?z property:child resource:1 . ?z rdf:type ontology:common_name } }
[]
common name
SYSTEM
2
Q49287 Q21069997
(c(Q502895),P40,Q4770723) (c(Q502895),P40,Q199)
action count
action union
action filter_type
action find_reverse
entity Q4770723
relation P40
type Q502895
action filter_type
action find_reverse
entity Q199
relation P40
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q4770723'] [{'concept': 'Q502895'}, 'P40', 'Q199']
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { ?z property:P40 resource:Q4770723 . ?z rdf:type ontology:Q502895 } UNION { ?z property:P40 resource:Q199 . ?z rdf:type ontology:Q502895 } }
Rebecca Adlington Charles W. Goodyear
2
action count
action union
action filter_type
action find_reverse
entity A. Conger Goodyear
relation child
type common name
action filter_type
action find_reverse
entity 1
relation child
type common name
[{'concept': 'common name'}, 'child', 'A. Conger Goodyear'] [{'concept': 'common name'}, 'child', '1']
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { ?z property:child resource:A._Conger_Goodyear . ?z rdf:type ontology:common_name } UNION { ?z property:child resource:1 . ?z rdf:type ontology:common_name } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1056953
P725
Q502895 Q6619679
USER
How many fictional humanoids did more number of people do the dubbing for than Minsc ?
(c(Q6619679),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q1056953
relation P725
type Q6619679
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q1056953 property:P725 ?z . ?z rdf:type ontology:Q6619679 } } . FILTER ( ?d > ?w ) . { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?d ) WHERE { ?p property:P725 ?b . ?p rdf:type ontology:Q6619679 . ?b rdf:type ontology:Q502895 } GROUP BY ?p } }
Minsc
action count
action greater
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Minsc
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Minsc property:voice_actor ?z . ?z rdf:type ontology:fictional_humanoid } } . FILTER ( ?d > ?w ) . { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?d ) WHERE { ?p property:voice_actor ?b . ?p rdf:type ontology:fictional_humanoid . ?b rdf:type ontology:common_name } GROUP BY ?p } }
[]
common name fictional humanoid
SYSTEM
20
Q15707554 Q11609133 Q15726751 Q11479883 Q994344 Q11677249 Q718965 Q3784876 Q1148698 Q11382982 Q18073923 Q18156023 Q6989902 Q11514862 Q15726744 Q601978 Q19796729 Q931 Q15711517 Q716636
(c(Q6619679),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q1056953
relation P725
type Q6619679
[ANSWER]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q1056953 property:P725 ?z . ?z rdf:type ontology:Q6619679 } } . FILTER ( ?d > ?w ) . { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?d ) WHERE { ?p property:P725 ?b . ?p rdf:type ontology:Q6619679 . ?b rdf:type ontology:Q502895 } GROUP BY ?p } }
Apple Bloom Sayaka Miki Diamond Tiara Mami Tomoe Ezio Auditore da Firenze Madoka Kaname Hinata Hyuga Henrietta Ai Haibara Kyoko Sakura Sunset Shimmer Maud Pie Neku Sakuraba Homura Akemi Silver Spoon Kyon Michelle Naruto Uzumaki Granny Smith Mr. Burns
20
action count
action greater
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Minsc
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Minsc property:voice_actor ?z . ?z rdf:type ontology:fictional_humanoid } } . FILTER ( ?d > ?w ) . { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?d ) WHERE { ?p property:voice_actor ?b . ?p rdf:type ontology:fictional_humanoid . ?b rdf:type ontology:common_name } GROUP BY ?p } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q3784876
P725
Q502895 Q6619679
USER
And how about Henrietta?
(c(Q6619679),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q3784876
relation P725
type Q6619679
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?t ) WHERE { ?q property:P725 ?g . ?q rdf:type ontology:Q6619679 . ?g rdf:type ontology:Q502895 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { ?j rdf:type ontology:Q6619679 . resource:Q3784876 property:P725 ?j } } . FILTER ( ?t > ?y ) }
Henrietta
action count
action greater
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Henrietta
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?t ) WHERE { ?q property:voice_actor ?g . ?q rdf:type ontology:fictional_humanoid . ?g rdf:type ontology:common_name } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { ?j rdf:type ontology:fictional_humanoid . resource:Henrietta property:voice_actor ?j } } . FILTER ( ?t > ?y ) }
[]
common name fictional humanoid
SYSTEM
11
Q15707554 Q11609133 Q15726751 Q11479883 Q994344 Q11677249 Q11382982 Q18073923 Q11514862 Q931 Q15711517
(c(Q6619679),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q3784876
relation P725
type Q6619679
[ANSWER]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?t ) WHERE { ?q property:P725 ?g . ?q rdf:type ontology:Q6619679 . ?g rdf:type ontology:Q502895 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { ?j rdf:type ontology:Q6619679 . resource:Q3784876 property:P725 ?j } } . FILTER ( ?t > ?y ) }
Apple Bloom Sayaka Miki Diamond Tiara Mami Tomoe Ezio Auditore da Firenze Madoka Kaname Kyoko Sakura Sunset Shimmer Homura Akemi Naruto Uzumaki Granny Smith
11
action count
action greater
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Henrietta
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?t ) WHERE { ?q property:voice_actor ?g . ?q rdf:type ontology:fictional_humanoid . ?g rdf:type ontology:common_name } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { ?j rdf:type ontology:fictional_humanoid . resource:Henrietta property:voice_actor ?j } } . FILTER ( ?t > ?y ) }
[]