Simple Question (Direct)
Simple Question
Q1290506
P641
Q349
USER
What did Jim Blair participate in ?
(Q1290506,P641,c(Q349))
action filter_type
action find
entity Q1290506
relation P641
type Q349
['Q1290506', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { resource:Q1290506 property:P641 ?v . ?v rdf:type ontology:Q349 }
Jim Blair
action filter_type
action find
entity Jim Blair
relation sport
type sport
['Jim Blair', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { resource:Jim_Blair property:sport ?v . ?v rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1290506,P641,c(Q349))
action filter_type
action find
entity Q1290506
relation P641
type Q349
Jim Blair participated in [ANSWER]
['Q1290506', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { resource:Q1290506 property:P641 ?v . ?v rdf:type ontology:Q349 }
association football
Jim Blair participated in association football
association football
action filter_type
action find
entity Jim Blair
relation sport
type sport
['Jim Blair', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { resource:Jim_Blair property:sport ?v . ?v rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1290506
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q1290506
relation P19
type Q56061
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q1290506 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Jim Blair
action filter_type
action find
entity Jim Blair
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Jim_Blair property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q5019036
SYSTEM
Calderbank
Q5019036
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q1290506
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q1290506 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Calderbank
Calderbank is the place of birth of that person
Calderbank
action filter_type
action find
entity Jim Blair
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Jim_Blair property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q682476
P3091
Q502895 Q3745054 Q502895
USER
How many people rides on a around the same number of people or horse breeds as Paul Estermann ?
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q682476
relation P3091
type Q502895
type Q3745054
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?e WHERE { ?n rdf:type ?v . VALUES ( ?v ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { resource:Q682476 property:P3091 ?l . { ?l rdf:type ?x . VALUES ( ?x ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } } } } . FILTER ( ?w = ?m ) }
Paul Estermann
action count
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Paul Estermann
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?e WHERE { ?n rdf:type ?v . VALUES ( ?v ) { ( ontology:common_name ) ( ontology:horse_breed ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { resource:Paul_Estermann property:mount ?l . { ?l rdf:type ?x . VALUES ( ?x ) { ( ontology:common_name ) ( ontology:horse_breed ) } } } } . FILTER ( ?w = ?m ) }
[]
common name horse breed common name
SYSTEM
88
Q2831786 Q2964761 Q2643622 Q1682742 Q451395 Q1311486 Q682476 Q1088130 Q527657 Q364671 Q3089727 Q919677 Q16208274 Q3400624 Q15782408 Q947032 Q3428317 Q131691 Q17350580 Q438197 Q2396962 Q19630218 Q3106094 Q958372 Q319522 Q78028 Q7647583 Q823503 Q147663 Q513487 Q494315 Q377345 Q5247967 Q8409 Q2831635 Q1710812 Q467676 Q1545318 Q34836 Q238769 Q745510 Q318626 Q608440 Q19839389 Q3134506 Q926771 Q3309932 Q517 Q1351428 Q62177 Q458399 Q2903241 Q529497 Q3380679 Q1337633 Q953867 Q364659 Q19880092 Q1119157 Q1581746 Q72502 Q25906137 Q6765126 Q15972334 Q6148833 Q1391424 Q2094373 Q5079900 Q1342822 Q76246 Q1691413 Q270476 Q272533 Q3074167 Q449891 Q1292304 Q1343527 Q690536 Q43958 Q3428878 Q886901 Q1261810 Q77560 Q3524341 Q3591324 Q9682 Q1633084 Q2420937
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q682476
relation P3091
type Q502895
type Q3745054
[ANSWER]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?e WHERE { ?n rdf:type ?v . VALUES ( ?v ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { resource:Q682476 property:P3091 ?l . { ?l rdf:type ?x . VALUES ( ?x ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } } } } . FILTER ( ?w = ?m ) }
Alberto Larraguibel Chris Kappler Alexandra Ledermann Janika Sprunger Fritz Thiedemann Mario Deslauriers Paul Estermann Maxime Guyon Margit Otto-Crépin Jean Teulère Frédéric Cottier Nicolas Touzaint Barbara Minneci Sir Harry Llewellyn, 3rd Baronet Ali Al Rumaihi Pierre Jonquères d'Oriola Torrance Fleischmann Arthur Wellesley, 1st Duke of Wellington Fernand Leredde Helen Langehanenberg Ron Turcotte Michel-Marcel Gougeon Gilles Bertrán de Balanda Piet Raijmakers Ulrich Kirchhoff Marco Kutscher Susan Blinks Uwe Sauer Zara Phillips Linda Algotsson Gerco Schröder Lester Piggott Debbie McDonald Alexander the Great Albert Voorn Richard Spooner Reiner Klimke Greg Best Ulysses S. Grant Isabell Werth Ludo Philippaerts Lars Nieberg John Whitaker Abdelkebir Ouaddar Hervé Godignon Earl Foster Thomson Michel Hécart Napoleon Eric Lamaze Hans Günter Winkler Laura Bechtolsheimer Bill Hartack Edwina Tops-Alexander Philippe Rozier Scott Brash Conrad Homfeld Cédric Lyard Lendon Gray Frankie Dettori Hans Peter Minderhoud Otto Becker Astier Nicolas Marion Coakes Natasha Baker Jan Ebeling Jos Lansink Rolf-Göran Bengtsson Charles Kurtsinger William Fox-Pitt Marcus Ehning Joseph Fargis Sara Algotsson Ostholt Charlotte Dujardin Florian Angot Beezie Madden Edward Gal Karin Rehbein Pius Schwizer El Cid Reynald Angot Blyth Tait Eddie Macken Michael Jung Thierry Jarnet Éric Raffin Elizabeth II Hubert Bourdy Thierry Pomel
88
action count
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Paul Estermann
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?e WHERE { ?n rdf:type ?v . VALUES ( ?v ) { ( ontology:common_name ) ( ontology:horse_breed ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { resource:Paul_Estermann property:mount ?l . { ?l rdf:type ?x . VALUES ( ?x ) { ( ontology:common_name ) ( ontology:horse_breed ) } } } } . FILTER ( ?w = ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q7934379
P3091
Q502895 Q3745054 Q502895
USER
And how about Virginia Leng?
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q7934379
relation P3091
type Q502895
type Q3745054
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?o ) WHERE { { ?x property:P3091 ?c . ?x rdf:type ontology:Q502895 . ?c rdf:type ontology:Q502895 } UNION { ?x property:P3091 ?c . ?c rdf:type ontology:Q3745054 . ?x rdf:type ontology:Q502895 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Q7934379 property:P3091 ?g . { { ?g rdf:type ontology:Q502895 } UNION { ?g rdf:type ontology:Q3745054 } } } } . FILTER ( ?o = ?y ) }
Virginia Leng
action count
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Virginia Leng
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?o ) WHERE { { ?x property:mount ?c . ?x rdf:type ontology:common_name . ?c rdf:type ontology:common_name } UNION { ?x property:mount ?c . ?c rdf:type ontology:horse_breed . ?x rdf:type ontology:common_name } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Virginia_Leng property:mount ?g . { { ?g rdf:type ontology:common_name } UNION { ?g rdf:type ontology:horse_breed } } } } . FILTER ( ?o = ?y ) }
[]
common name horse breed common name
SYSTEM
53
Q71451 Q64650 Q186164 Q7934379 Q262338 Q2965770 Q1038847 Q20240956 Q364502 Q3081121 Q25906162 Q355148 Q3035045 Q3351282 Q678324 Q151754 Q997380 Q84536 Q3056396 Q207535 Q2941011 Q3565906 Q942215 Q3385955 Q249233 Q364920 Q2162566 Q3573625 Q450267 Q2577320 Q4351964 Q317846 Q3501998 Q840001 Q3167944 Q6409976 Q3299860 Q19630255 Q444585 Q34479 Q312391 Q1061259 Q2041036 Q2966249 Q1739026 Q1081174 Q16104944 Q5908769 Q967780 Q488277 Q1332346 Q3147326 Q454614
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q7934379
relation P3091
type Q502895
type Q3745054
[ANSWER]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?o ) WHERE { { ?x property:P3091 ?c . ?x rdf:type ontology:Q502895 . ?c rdf:type ontology:Q502895 } UNION { ?x property:P3091 ?c . ?c rdf:type ontology:Q3745054 . ?x rdf:type ontology:Q502895 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Q7934379 property:P3091 ?g . { { ?g rdf:type ontology:Q502895 } UNION { ?g rdf:type ontology:Q3745054 } } } } . FILTER ( ?o = ?y ) }
Franke Sloothaak Ingrid Klimke Pippa Funnell Virginia Leng Nicole Uphoff Criquette Head-Maarek Carl Hester Arnaud Serre David O'Connor Kieren Fallon Thibaut Vallette Adelinde Cornelissen Dominique Boeuf Olivier Peslier Jorma Kontio Anne, Princess Royal Yutaka Take Hugo Simon Eric Saint-Martin Roland Cash Asmussen Walter Swinburn Jean-Claude Van Geenberghe Pierre Levesque Kristina Sprehe Bruce Davidson Ryan Moore Yves Dreux Nadine Capellmann Wilhelm Melliger Björn Goop Lü Bu Stéphane Pasquier Christophe Soumillon Jean-Michel Bazire Kimberly Severson Matthieu Abrivard Léopold Verroken Ulla Salzgeber Hirohito Philippe Leclerc de Hauteclocque Johnny Murtagh Christophe Lemaire Christophe Gallier Kent Farrington Gérald Mossé Michael Page Örjan Kihlström Franck Nivard Jan Tops Mark Todd Ian Stark Fritz Ligges
53
action count
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Virginia Leng
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?o ) WHERE { { ?x property:mount ?c . ?x rdf:type ontology:common_name . ?c rdf:type ontology:common_name } UNION { ?x property:mount ?c . ?c rdf:type ontology:horse_breed . ?x rdf:type ontology:common_name } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Virginia_Leng property:mount ?g . { { ?g rdf:type ontology:common_name } UNION { ?g rdf:type ontology:horse_breed } } } } . FILTER ( ?o = ?y ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1290506
P106
Q12737077
USER
Which occupation has Jim Blair as his/her 's career ?
(Q1290506,P106,c(Q12737077))
action filter_type
action find
entity Q1290506
relation P106
type Q12737077
['Q1290506', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q1290506 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Jim Blair
action filter_type
action find
entity Jim Blair
relation occupation
type occupation
['Jim Blair', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Jim_Blair property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1290506,P106,c(Q12737077))
action filter_type
action find
entity Q1290506
relation P106
type Q12737077
Player [ANSWER] has Jim Blair as his/her 's career
['Q1290506', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q1290506 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
association football player
Player association football player has Jim Blair as his/her 's career
association football player
action filter_type
action find
entity Jim Blair
relation occupation
type occupation
['Jim Blair', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Jim_Blair property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1290506
P27
Q15617994
USER
Which administrative territory is the native country of Jim Blair ?
(Q1290506,P27,c(Q15617994))
action filter_type
action find
entity Q1290506
relation P27
type Q15617994
['Q1290506', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1290506 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Jim Blair
action filter_type
action find
entity Jim Blair
relation country of citizenship
type designation for an administrative territorial entity
['Jim Blair', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Jim_Blair property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q1290506,P27,c(Q15617994))
action filter_type
action find
entity Q1290506
relation P27
type Q15617994
The [ANSWER] is the native country of Jim Blair
['Q1290506', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1290506 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
United Kingdom
The United Kingdom is the native country of Jim Blair
United Kingdom
action filter_type
action find
entity Jim Blair
relation country of citizenship
type designation for an administrative territorial entity
['Jim Blair', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Jim_Blair property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16186902
Q15617994
USER
And what about Eric Snookes?
(Q16186902,P27,c(Q15617994))
action filter_type
action find
entity Q16186902
relation P27
type Q15617994
['Q16186902', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q16186902 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Eric Snookes
action filter_type
action find
entity Eric Snookes
relation country of citizenship
type designation for an administrative territorial entity
['Eric Snookes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Eric_Snookes property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q16186902,P27,c(Q15617994))
action filter_type
action find
entity Q16186902
relation P27
type Q15617994
[ANSWER]
['Q16186902', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q16186902 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom
action filter_type
action find
entity Eric Snookes
relation country of citizenship
type designation for an administrative territorial entity
['Eric Snookes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Eric_Snookes property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic associations with atmost 47 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 47
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?f ) WHERE { ?g property:P530 ?n . ?g rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?f <= 47 ) }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 47
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?f ) WHERE { ?g property:diplomatic_relation ?n . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?f <= 47 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
158
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 47
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?f ) WHERE { ?g property:P530 ?n . ?g rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?f <= 47 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
158
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 47
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?f ) WHERE { ?g property:diplomatic_relation ?n . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?f <= 47 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q937857
P106
Q874405 Q20724701
USER
How many social groups or city or town in Armenias have the profession of association football player ?
(c(Q874405),P106,Q937857) (c(Q20724701),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q874405
action filter_type
action find_reverse
entity Q937857
relation P106
type Q20724701
[{'concept': 'Q874405'}, 'P106', 'Q937857'] [{'concept': 'Q20724701'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { { ?d rdf:type ontology:Q874405 . ?d property:P106 resource:Q937857 } UNION { ?d property:P106 resource:Q937857 . ?d rdf:type ontology:Q20724701 } }
association football player
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type social group
action filter_type
action find_reverse
entity association football player
relation occupation
type city or town in Armenia
[{'concept': 'social group'}, 'occupation', 'association football player'] [{'concept': 'city or town in Armenia'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { { ?d rdf:type ontology:social_group . ?d property:occupation resource:association_football_player } UNION { ?d property:occupation resource:association_football_player . ?d rdf:type ontology:city_or_town_in_Armenia } }
[]
social group city or town in Armenia
SYSTEM
2
Q3752378 Q2817360
(c(Q874405),P106,Q937857) (c(Q20724701),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q874405
action filter_type
action find_reverse
entity Q937857
relation P106
type Q20724701
[ANSWER]
[{'concept': 'Q874405'}, 'P106', 'Q937857'] [{'concept': 'Q20724701'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { { ?d rdf:type ontology:Q874405 . ?d property:P106 resource:Q937857 } UNION { ?d property:P106 resource:Q937857 . ?d rdf:type ontology:Q20724701 } }
Fratelli Céspedes Masis Voskanyan
2
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type social group
action filter_type
action find_reverse
entity association football player
relation occupation
type city or town in Armenia
[{'concept': 'social group'}, 'occupation', 'association football player'] [{'concept': 'city or town in Armenia'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { { ?d rdf:type ontology:social_group . ?d property:occupation resource:association_football_player } UNION { ?d property:occupation resource:association_football_player . ?d rdf:type ontology:city_or_town_in_Armenia } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P85
Q7725634
USER
Which is the national anthem of United Kingdom ?
(Q145,P85,c(Q7725634))
action filter_type
action find
entity Q145
relation P85
type Q7725634
['Q145', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q7725634 . resource:Q145 property:P85 ?p }
United Kingdom
action filter_type
action find
entity United Kingdom
relation anthem
type literary work
['United Kingdom', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:literary_work . resource:United_Kingdom property:anthem ?p }
[]
literary work
Q40807
SYSTEM
God Save the Queen
Q40807
(Q145,P85,c(Q7725634))
action filter_type
action find
entity Q145
relation P85
type Q7725634
The national anthem of United Kingdom is [ANSWER]
['Q145', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q7725634 . resource:Q145 property:P85 ?p }
God Save the Queen
The national anthem of United Kingdom is God Save the Queen
God Save the Queen
action filter_type
action find
entity United Kingdom
relation anthem
type literary work
['United Kingdom', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:literary_work . resource:United_Kingdom property:anthem ?p }
[]