Simple Question (Direct)
Simple Question
Q5593335
P21
Q290
USER
Which sex does Graham Ward belong to ?
(Q5593335,P21,c(Q290))
action filter_type
action find
entity Q5593335
relation P21
type Q290
['Q5593335', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q5593335 property:P21 ?z . ?z rdf:type ontology:Q290 }
Graham Ward
action filter_type
action find
entity Graham Ward
relation gender
type sex
['Graham Ward', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Graham_Ward property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5593335,P21,c(Q290))
action filter_type
action find
entity Q5593335
relation P21
type Q290
Graham Ward belongs to [ANSWER]
['Q5593335', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q5593335 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
Graham Ward belongs to male
male
action filter_type
action find
entity Graham Ward
relation gender
type sex
['Graham Ward', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Graham_Ward property:gender ?z . ?z rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5593335
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q5593335
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q5593335 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Graham Ward
action filter_type
action find
entity Graham Ward
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Graham_Ward property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q5593335
relation P106
type Q12737077
Player [ANSWER] is the profession of that person
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q5593335 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of that person
association football player
action filter_type
action find
entity Graham Ward
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Graham_Ward property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5593335
P19
Q515
USER
Which city was that person born at ?
(Q937857,P19,c(Q515))
action filter_type
action find
entity Q5593335
relation P19
type Q515
['Q937857', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { resource:Q5593335 property:P19 ?j . ?j rdf:type ontology:Q515 }
Graham Ward
action filter_type
action find
entity Graham Ward
relation place of birth
type city
['association football player', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { resource:Graham_Ward property:place_of_birth ?j . ?j rdf:type ontology:city }
[]
city
Q1761
SYSTEM
Dublin
Q1761
(Q937857,P19,c(Q515))
action filter_type
action find
entity Q5593335
relation P19
type Q515
That person was born in [ANSWER]
['Q937857', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { resource:Q5593335 property:P19 ?j . ?j rdf:type ontology:Q515 }
Dublin
That person was born in Dublin
Dublin
action filter_type
action find
entity Graham Ward
relation place of birth
type city
['association football player', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { resource:Graham_Ward property:place_of_birth ?j . ?j rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5593335
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q1761,P27,c(Q15617994))
action filter_type
action find
entity Q5593335
relation P27
type Q15617994
['Q1761', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q5593335 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Graham Ward
action filter_type
action find
entity Graham Ward
relation country of citizenship
type designation for an administrative territorial entity
['Dublin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Graham_Ward property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q27
SYSTEM
Ireland
Q27
(Q1761,P27,c(Q15617994))
action filter_type
action find
entity Q5593335
relation P27
type Q15617994
[ANSWER] is that person an inhabitant of
['Q1761', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q5593335 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Ireland
Ireland is that person an inhabitant of
Ireland
action filter_type
action find
entity Graham Ward
relation country of citizenship
type designation for an administrative territorial entity
['Dublin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Graham_Ward property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27
P37
Q34770
USER
What is the official language of that administrative territory ?
(Q27,P37,c(Q34770))
action filter_type
action find
entity Q27
relation P37
type Q34770
['Q27', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q27 property:P37 ?x . ?x rdf:type ontology:Q34770 }
Ireland
action filter_type
action find
entity Ireland
relation official language
type language
['Ireland', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Ireland property:official_language ?x . ?x rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q27,P37,c(Q34770))
action filter_type
action find
entity Q27
relation P37
type Q34770
The official language of that administrative territory is [ANSWER]
['Q27', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q27 property:P37 ?x . ?x rdf:type ontology:Q34770 }
English
The official language of that administrative territory is English
English
action filter_type
action find
entity Ireland
relation official language
type language
['Ireland', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Ireland property:official_language ?x . ?x rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P282
Q9779 Q8192 Q34770
USER
How many languages utilizes approximately the same number of alphabets and writing systems as the writing system as that language ?
(c(Q34770),P282,c(Q9779)|c(Q8192))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q1860
relation P282
type Q9779
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?b WHERE { VALUES ( ?k ) { ( ontology:Q9779 ) ( ontology:Q8192 ) } . ?p rdf:type ?k } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { { ?l rdf:type ontology:Q9779 } UNION { ?l rdf:type ontology:Q8192 } } . resource:Q1860 property:P282 ?l } } . FILTER ( ?z = ?h ) }
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity English
relation writing system
type alphabet
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?b WHERE { VALUES ( ?k ) { ( ontology:alphabet ) ( ontology:writing_system ) } . ?p rdf:type ?k } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { { ?l rdf:type ontology:alphabet } UNION { ?l rdf:type ontology:writing_system } } . resource:English property:writing_system ?l } } . FILTER ( ?z = ?h ) }
[]
alphabet writing system language
SYSTEM
49
Q7102906 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q36741 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q18130932 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q2705672 Q33879 Q7362035 Q36795 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q20972034 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q36790 Q1860 Q36116 Q36751 Q29977 Q837985 Q447117 Q7511561 Q33982
(c(Q34770),P282,c(Q9779)|c(Q8192))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q1860
relation P282
type Q9779
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?b WHERE { VALUES ( ?k ) { ( ontology:Q9779 ) ( ontology:Q8192 ) } . ?p rdf:type ?k } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { { ?l rdf:type ontology:Q9779 } UNION { ?l rdf:type ontology:Q8192 } } . resource:Q1860 property:P282 ?l } } . FILTER ( ?z = ?h ) }
Orizaba Nahuatl Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Polabian Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Traditional Chinese Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Paeonian language Pangasinan language Roman Khowar Tartessian Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Classic Greek Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish Sumerian English Middle Irish Phrygian language Gaulish Middle High German Old Egyptian Sierra Puebla Nahuatl Low Prussian
49
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity English
relation writing system
type alphabet
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?b WHERE { VALUES ( ?k ) { ( ontology:alphabet ) ( ontology:writing_system ) } . ?p rdf:type ?k } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { { ?l rdf:type ontology:alphabet } UNION { ?l rdf:type ontology:writing_system } } . resource:English property:writing_system ?l } } . FILTER ( ?z = ?h ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P110
Q502895 Q571 Q2342494
USER
Which people illustrated approximately 13 books and collectables ?
(c(Q571)|c(Q2342494),P110,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q571
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
value 13
[[{'concept': 'Q571'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?z = 13 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?r WHERE { VALUES ( ?d ) { ( ontology:Q2342494 ) ( ontology:Q571 ) } . ?l rdf:type ?d } GROUP BY ?r } }
action approx
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type book
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
value 13
[[{'concept': 'book'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?z = 13 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?r WHERE { VALUES ( ?d ) { ( ontology:collectable ) ( ontology:book ) } . ?l rdf:type ?d } GROUP BY ?r } }
[]
common name book collectable
Q560015 Q309945 Q841310
SYSTEM
Hugh Lofting, Peyo, Garth Williams
Q560015 Q6104584 Q201157 Q7609173 Q841310 Q309945 Q5231938 Q5233345 Q101951 Q2737410 Q273322
(c(Q571)|c(Q2342494),P110,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q571
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
value 13
[ANSWERS] illustrated approximately 13 books and collectables
[[{'concept': 'Q571'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?z = 13 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?r WHERE { VALUES ( ?d ) { ( ontology:Q2342494 ) ( ontology:Q571 ) } . ?l rdf:type ?d } GROUP BY ?r } }
Hugh Lofting J. Allen St. John George Roux Stephen Fabian Garth Williams Peyo David Burroughs Mattingly David Elliot Pauline Baynes Hablot Knight Browne Eva Eriksson
Hugh Lofting, Peyo and Garth Williams illustrated approximately 13 books and collectables
Hugh Lofting Peyo Garth Williams
action approx
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type book
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
value 13
[[{'concept': 'book'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?z = 13 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?r WHERE { VALUES ( ?d ) { ( ontology:collectable ) ( ontology:book ) } . ?l rdf:type ?d } GROUP BY ?r } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q309945
P50
Q571
USER
Which books have that person as their author ?
(c(Q571),P50,Q309945)
action filter_type
action find_reverse
entity Q309945
relation P50
type Q571
[{'concept': 'Q571'}, 'P50', 'Q309945']
SELECT DISTINCT ?r WHERE { ?r property:P50 resource:Q309945 . ?r rdf:type ontology:Q571 }
Peyo
action filter_type
action find_reverse
entity Peyo
relation author
type book
[{'concept': 'book'}, 'author', 'Peyo']
SELECT DISTINCT ?r WHERE { ?r property:author resource:Peyo . ?r rdf:type ontology:book }
[]
book
Clarification for simple ques.
Q841310
SYSTEM
Did you mean Garth Williams ?
Q560015 Q309945 Q841310
(c(Q571),P50,Q560015) (c(Q571),P50,Q309945) (c(Q571),P50,Q841310)
[ANSWER]
[{'concept': 'Q571'}, 'P50', 'Q560015'] [{'concept': 'Q571'}, 'P50', 'Q309945'] [{'concept': 'Q571'}, 'P50', 'Q841310']
SELECT DISTINCT ?r WHERE { ?r property:P50 resource:Q309945 . ?r rdf:type ontology:Q571 }
Hugh Lofting Peyo Garth Williams
Did you mean Garth Williams ?
Garth Williams
[{'concept': 'book'}, 'author', 'Hugh Lofting'] [{'concept': 'book'}, 'author', 'Peyo'] [{'concept': 'book'}, 'author', 'Garth Williams']
SELECT DISTINCT ?r WHERE { ?r property:author resource:Peyo . ?r rdf:type ontology:book }
[]
Simple Question (Coreferenced)
USER
No, I meant Peyo. Could you tell me the answer for that?
(c(Q571),P50,Q309945)
Q309945
[{'concept': 'Q571'}, 'P50', 'Q309945']
[{'concept': 'book'}, 'author', 'Peyo']
[]
Q29181 Q796400 Q631510
SYSTEM
King Smurf, Baby Smurf, The Smurfs and the Howlibird
Q796400 Q28840 Q1098226 Q768850 Q648733 Q631510 Q1028803 Q2861533 Q301671 Q3069927 Q1584349 Q630682 Q633160 Q29181 Q3209031 Q621774 Q630695
(c(Q571),P50,Q309945)
action filter_type
action find_reverse
entity Q309945
relation P50
type Q571
[ANSWERS] have that person as their author
[{'concept': 'Q571'}, 'P50', 'Q309945']
SELECT DISTINCT ?r WHERE { ?r property:P50 resource:Q309945 . ?r rdf:type ontology:Q571 }
Baby Smurf Flute Smurfs The Aerosmurf Finance Smurf The Olympic Smurfs The Smurfs and the Howlibird The Smurflings The Moonstone (Johan and Peewit) The Smurfette The Egg and the Smurfs The Strange Awakening of Lazy Smurf Schtroumpf Vert et Vert Schtroumpf Smurf Soup King Smurf The Black Arrow (Johan and Peewit) The Astrosmurf The Smurf Apprentice
King Smurf, Baby Smurf and The Smurfs and the Howlibird have that person as their author
King Smurf Baby Smurf The Smurfs and the Howlibird
action filter_type
action find_reverse
entity Peyo
relation author
type book
[{'concept': 'book'}, 'author', 'Peyo']
SELECT DISTINCT ?r WHERE { ?r property:author resource:Peyo . ?r rdf:type ontology:book }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q364920
P3091
Q3745054 Q502895 Q502895
USER
How many people use greater number of horse breeds and people as steed than Bruce Davidson ?
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action count
action filter_multi_types
action find
entity Q364920
relation P3091
type Q3745054
type Q502895
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?h ) WHERE { { ?u property:P3091 ?d . ?u rdf:type ontology:Q502895 . ?d rdf:type ontology:Q3745054 } UNION { ?u property:P3091 ?d . ?u rdf:type ontology:Q502895 . ?d rdf:type ontology:Q502895 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Q364920 property:P3091 ?n . { { ?n rdf:type ontology:Q3745054 } UNION { ?n rdf:type ontology:Q502895 } } } } . FILTER ( ?h > ?c ) }
Bruce Davidson
action count
action greater
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
action count
action filter_multi_types
action find
entity Bruce Davidson
relation mount
type horse breed
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?h ) WHERE { { ?u property:mount ?d . ?u rdf:type ontology:common_name . ?d rdf:type ontology:horse_breed } UNION { ?u property:mount ?d . ?u rdf:type ontology:common_name . ?d rdf:type ontology:common_name } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Bruce_Davidson property:mount ?n . { { ?n rdf:type ontology:horse_breed } UNION { ?n rdf:type ontology:common_name } } } } . FILTER ( ?h > ?c ) }
[]
horse breed common name common name
SYSTEM
113
Q2831786 Q2120529 Q2964761 Q2643622 Q69084 Q1682742 Q451395 Q1311486 Q682476 Q358777 Q1088130 Q527657 Q364671 Q235022 Q3089727 Q919677 Q16208274 Q3400624 Q15782408 Q3087038 Q947032 Q3428317 Q2057115 Q131691 Q17350580 Q14912896 Q438197 Q3591240 Q3169911 Q2396962 Q19630218 Q3106094 Q958372 Q319522 Q724288 Q78028 Q7647583 Q823503 Q147663 Q513487 Q494315 Q377345 Q5247967 Q538006 Q8409 Q2831635 Q952736 Q1710812 Q467676 Q1545318 Q34836 Q238769 Q745510 Q318626 Q608440 Q19839389 Q2287454 Q3134506 Q926771 Q3309932 Q517 Q1351428 Q62177 Q458399 Q2903241 Q529497 Q3380679 Q1617291 Q1337633 Q953867 Q364659 Q19880092 Q1119157 Q1581746 Q60968 Q72502 Q25906137 Q6765126 Q15972334 Q6148833 Q1391424 Q2094373 Q5079900 Q1277320 Q6369922 Q1985582 Q1342822 Q76246 Q1691413 Q288267 Q270476 Q272533 Q3074167 Q1930899 Q449891 Q1292304 Q1343527 Q690536 Q175930 Q43958 Q3428878 Q673136 Q886901 Q1261810 Q77560 Q62253 Q3308301 Q1538882 Q3524341 Q3591324 Q9682 Q1633084 Q2420937
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action count
action filter_multi_types
action find
entity Q364920
relation P3091
type Q3745054
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?h ) WHERE { { ?u property:P3091 ?d . ?u rdf:type ontology:Q502895 . ?d rdf:type ontology:Q3745054 } UNION { ?u property:P3091 ?d . ?u rdf:type ontology:Q502895 . ?d rdf:type ontology:Q502895 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Q364920 property:P3091 ?n . { { ?n rdf:type ontology:Q3745054 } UNION { ?n rdf:type ontology:Q502895 } } } } . FILTER ( ?h > ?c ) }
Alberto Larraguibel Pénélope Leprevost Chris Kappler Alexandra Ledermann Paul Schockemöhle Janika Sprunger Fritz Thiedemann Mario Deslauriers Paul Estermann Yves Saint-Martin Maxime Guyon Margit Otto-Crépin Jean Teulère Anky van Grunsven Frédéric Cottier Nicolas Touzaint Barbara Minneci Sir Harry Llewellyn, 3rd Baronet Ali Al Rumaihi Freddy Head Pierre Jonquères d'Oriola Torrance Fleischmann Patrice Delaveau Arthur Wellesley, 1st Duke of Wellington Fernand Leredde Bassem Hassan Mohammed Helen Langehanenberg Éric Levallois Jean-René Gougeon Ron Turcotte Michel-Marcel Gougeon Gilles Bertrán de Balanda Piet Raijmakers Ulrich Kirchhoff Rodrigo Pessoa Marco Kutscher Susan Blinks Uwe Sauer Zara Phillips Linda Algotsson Gerco Schröder Lester Piggott Debbie McDonald Pat Eddery Alexander the Great Albert Voorn Nelson Pessoa Richard Spooner Reiner Klimke Greg Best Ulysses S. Grant Isabell Werth Ludo Philippaerts Lars Nieberg John Whitaker Abdelkebir Ouaddar Simon Delestre Hervé Godignon Earl Foster Thomson Michel Hécart Napoleon Eric Lamaze Hans Günter Winkler Laura Bechtolsheimer Bill Hartack Edwina Tops-Alexander Philippe Rozier Pierre Durand, Jr. Scott Brash Conrad Homfeld Cédric Lyard Lendon Gray Frankie Dettori Hans Peter Minderhoud Ludger Beerbaum Otto Becker Astier Nicolas Marion Coakes Natasha Baker Jan Ebeling Jos Lansink Rolf-Göran Bengtsson Charles Kurtsinger Roger-Yves Bost Karen O'Connor Nick Skelton William Fox-Pitt Marcus Ehning Joseph Fargis Éric Navet Sara Algotsson Ostholt Charlotte Dujardin Florian Angot Michel Robert Beezie Madden Edward Gal Karin Rehbein Pius Schwizer Ian Millar El Cid Reynald Angot Steve Guerdat Blyth Tait Eddie Macken Michael Jung Meredith Michaels-Beerbaum Michael Kinane Kevin Staut Thierry Jarnet Éric Raffin Elizabeth II Hubert Bourdy Thierry Pomel
113
action count
action greater
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
action count
action filter_multi_types
action find
entity Bruce Davidson
relation mount
type horse breed
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?h ) WHERE { { ?u property:mount ?d . ?u rdf:type ontology:common_name . ?d rdf:type ontology:horse_breed } UNION { ?u property:mount ?d . ?u rdf:type ontology:common_name . ?d rdf:type ontology:common_name } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Bruce_Davidson property:mount ?n . { { ?n rdf:type ontology:horse_breed } UNION { ?n rdf:type ontology:common_name } } } } . FILTER ( ?h > ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q3400624
P3091
Q3745054 Q502895 Q502895
USER
And also tell me about Sir Harry Llewellyn, 3rd Baronet?
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action count
action filter_multi_types
action find
entity Q3400624
relation P3091
type Q3745054
type Q502895
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Q3400624 property:P3091 ?s . { ?s rdf:type ?c . VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } } } } . FILTER ( ?h > ?o ) . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?h ) WHERE { { ?q property:P3091 ?g . ?q rdf:type ontology:Q502895 . ?g rdf:type ontology:Q3745054 } UNION { ?q rdf:type ontology:Q502895 . ?g rdf:type ontology:Q502895 . ?q property:P3091 ?g } } GROUP BY ?q } }
Sir Harry Llewellyn, 3rd Baronet
action count
action greater
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
action count
action filter_multi_types
action find
entity Sir Harry Llewellyn, 3rd Baronet
relation mount
type horse breed
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Sir_Harry_Llewellyn,_3rd_Baronet property:mount ?s . { ?s rdf:type ?c . VALUES ( ?c ) { ( ontology:common_name ) ( ontology:horse_breed ) } } } } . FILTER ( ?h > ?o ) . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?h ) WHERE { { ?q property:mount ?g . ?q rdf:type ontology:common_name . ?g rdf:type ontology:horse_breed } UNION { ?q rdf:type ontology:common_name . ?g rdf:type ontology:common_name . ?q property:mount ?g } } GROUP BY ?q } }
[]
horse breed common name common name
SYSTEM
25
Q2120529 Q69084 Q358777 Q235022 Q3087038 Q2057115 Q14912896 Q3591240 Q3169911 Q724288 Q538006 Q952736 Q2287454 Q1617291 Q60968 Q1277320 Q6369922 Q1985582 Q288267 Q1930899 Q175930 Q673136 Q62253 Q3308301 Q1538882
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action count
action filter_multi_types
action find
entity Q3400624
relation P3091
type Q3745054
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Q3400624 property:P3091 ?s . { ?s rdf:type ?c . VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } } } } . FILTER ( ?h > ?o ) . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?h ) WHERE { { ?q property:P3091 ?g . ?q rdf:type ontology:Q502895 . ?g rdf:type ontology:Q3745054 } UNION { ?q rdf:type ontology:Q502895 . ?g rdf:type ontology:Q502895 . ?q property:P3091 ?g } } GROUP BY ?q } }
Pénélope Leprevost Paul Schockemöhle Yves Saint-Martin Anky van Grunsven Freddy Head Patrice Delaveau Bassem Hassan Mohammed Éric Levallois Jean-René Gougeon Rodrigo Pessoa Pat Eddery Nelson Pessoa Simon Delestre Pierre Durand, Jr. Ludger Beerbaum Roger-Yves Bost Karen O'Connor Nick Skelton Éric Navet Michel Robert Ian Millar Steve Guerdat Meredith Michaels-Beerbaum Michael Kinane Kevin Staut
25
action count
action greater
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
action count
action filter_multi_types
action find
entity Sir Harry Llewellyn, 3rd Baronet
relation mount
type horse breed
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Sir_Harry_Llewellyn,_3rd_Baronet property:mount ?s . { ?s rdf:type ?c . VALUES ( ?c ) { ( ontology:common_name ) ( ontology:horse_breed ) } } } } . FILTER ( ?h > ?o ) . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?h ) WHERE { { ?q property:mount ?g . ?q rdf:type ontology:common_name . ?g rdf:type ontology:horse_breed } UNION { ?q rdf:type ontology:common_name . ?g rdf:type ontology:common_name . ?q property:mount ?g } } GROUP BY ?q } }
[]