Simple Question (Direct)
Simple Question
Q4679960
P21
Q290
USER
Which sex does Adam Webster belong to ?
(Q4679960,P21,c(Q290))
action filter_type
action find
entity Q4679960
relation P21
type Q290
['Q4679960', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q4679960 property:P21 ?h . ?h rdf:type ontology:Q290 }
Adam Webster
action filter_type
action find
entity Adam Webster
relation gender
type sex
['Adam Webster', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Adam_Webster property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4679960,P21,c(Q290))
action filter_type
action find
entity Q4679960
relation P21
type Q290
Adam Webster belongs to [ANSWER]
['Q4679960', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q4679960 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
Adam Webster belongs to male
male
action filter_type
action find
entity Adam Webster
relation gender
type sex
['Adam Webster', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Adam_Webster property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4679960
P106
Q12737077
USER
Which occupation is the profession of Adam Webster ?
(Q4679960,P106,c(Q12737077))
action filter_type
action find
entity Q4679960
relation P106
type Q12737077
['Q4679960', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q4679960 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Adam Webster
action filter_type
action find
entity Adam Webster
relation occupation
type occupation
['Adam Webster', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Adam_Webster property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q4679960,P106,c(Q12737077))
action filter_type
action find
entity Q4679960
relation P106
type Q12737077
The [ANSWER] is the profession of Adam Webster
['Q4679960', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q4679960 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
association football player
The association football player is the profession of Adam Webster
association football player
action filter_type
action find
entity Adam Webster
relation occupation
type occupation
['Adam Webster', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Adam_Webster property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4679960
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q4679960
relation P27
type Q15617994
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q4679960 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Adam Webster
action filter_type
action find
entity Adam Webster
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Adam_Webster property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q4679960
relation P27
type Q15617994
[ANSWER] is that person an inhabitant of
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q4679960 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is that person an inhabitant of
United Kingdom
action filter_type
action find
entity Adam Webster
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Adam_Webster property:country_of_citizenship ?e . ?e 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 are known to have diplomatic connections with atmost 12 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 12
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?d ) WHERE { ?t property:P530 ?z . ?t rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?t } . FILTER ( ?d <= 12 ) }
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 12
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?d ) WHERE { ?t property:diplomatic_relation ?z . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . FILTER ( ?d <= 12 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 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 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 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 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 12
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?d ) WHERE { ?t property:P530 ?z . ?t rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?t } . FILTER ( ?d <= 12 ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines 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 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 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 United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
148
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 12
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?d ) WHERE { ?t property:diplomatic_relation ?z . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . FILTER ( ?d <= 12 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q918784 Q145
P530 P27
Q15617994
USER
Which administrative territories holds diplomatic relationship with United Kingdom and are MC Solaar an inhabitant of ?
AND((Q145,P530,c(Q15617994)), (Q918784,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q145
relation P530
action find
entity Q918784
relation P27
type Q15617994
{'AND': [['Q145', 'P530', {'concept': 'Q15617994'}], ['Q918784', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q918784 property:P27 ?t . resource:Q145 property:P530 ?t }
MC Solaar United Kingdom
action filter_type
action intersection
action find
entity United Kingdom
relation diplomatic relation
action find
entity MC Solaar
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['MC Solaar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:MC_Solaar property:country_of_citizenship ?t . resource:United_Kingdom property:diplomatic_relation ?t }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
AND((Q145,P530,c(Q15617994)), (Q918784,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q145
relation P530
action find
entity Q918784
relation P27
type Q15617994
[ANSWER] holds diplomatic relationship with United Kingdom and are MC Solaar an inhabitant of
{'AND': [['Q145', 'P530', {'concept': 'Q15617994'}], ['Q918784', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q918784 property:P27 ?t . resource:Q145 property:P530 ?t }
France
France holds diplomatic relationship with United Kingdom and are MC Solaar an inhabitant of
France
action filter_type
action intersection
action find
entity United Kingdom
relation diplomatic relation
action find
entity MC Solaar
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['MC Solaar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:MC_Solaar property:country_of_citizenship ?t . resource:United_Kingdom property:diplomatic_relation ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q918784
P69
Q41176
USER
Which building is the alma mater of that person ?
(Q142,P69,c(Q41176))
action filter_type
action find
entity Q918784
relation P69
type Q41176
['Q142', 'P69', {'concept': 'Q41176'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q41176 . resource:Q918784 property:P69 ?e }
MC Solaar
action filter_type
action find
entity MC Solaar
relation educated at
type building
['France', 'educated at', {'concept': 'building'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:building . resource:MC_Solaar property:educated_at ?e }
[]
building
Q3269101
SYSTEM
Lycée Français du Caire
Q3269101
(Q142,P69,c(Q41176))
action filter_type
action find
entity Q918784
relation P69
type Q41176
[ANSWER] is the alma mater of that person
['Q142', 'P69', {'concept': 'Q41176'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q41176 . resource:Q918784 property:P69 ?e }
Lycée Français du Caire
Lycée Français du Caire is the alma mater of that person
Lycée Français du Caire
action filter_type
action find
entity MC Solaar
relation educated at
type building
['France', 'educated at', {'concept': 'building'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:building . resource:MC_Solaar property:educated_at ?e }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that building located in ?
(Q3269101,P17,c(Q15617994))
action count
action filter_type
action find
entity Q3269101
relation P17
type Q15617994
['Q3269101', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Q3269101 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Lycée Français du Caire
relation country
type designation for an administrative territorial entity
['Lycée Français du Caire', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Lycée_Français_du_Caire property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q79
(Q3269101,P17,c(Q15617994))
action count
action filter_type
action find
entity Q3269101
relation P17
type Q15617994
[ANSWER]
['Q3269101', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Q3269101 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Egypt
1
action count
action filter_type
action find
entity Lycée Français du Caire
relation country
type designation for an administrative territorial entity
['Lycée Français du Caire', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Lycée_Français_du_Caire property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16525287 Q4679960
P19
Q56061
USER
Which administrative territories are the places of birth of Adam Webster or Alex Panteliodis ?
OR((Q4679960,P19,c(Q56061)), (Q16525287,P19,c(Q56061)))
action filter_type
action union
action find
entity Q4679960
relation P19
action find
entity Q16525287
relation P19
type Q56061
{'OR': [['Q4679960', 'P19', {'concept': 'Q56061'}], ['Q16525287', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . { { resource:Q4679960 property:P19 ?u } UNION { resource:Q16525287 property:P19 ?u } } }
Alex Panteliodis Adam Webster
action filter_type
action union
action find
entity Adam Webster
relation place of birth
action find
entity Alex Panteliodis
relation place of birth
type administrative territorial entity
{'OR': [['Adam Webster', 'place of birth', {'concept': 'administrative territorial entity'}], ['Alex Panteliodis', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . { { resource:Adam_Webster property:place_of_birth ?u } UNION { resource:Alex_Panteliodis property:place_of_birth ?u } } }
[]
administrative territorial entity
Q41262 Q49255
SYSTEM
Nottingham, Tampa
Q41262 Q49255
OR((Q4679960,P19,c(Q56061)), (Q16525287,P19,c(Q56061)))
action filter_type
action union
action find
entity Q4679960
relation P19
action find
entity Q16525287
relation P19
type Q56061
[ANSWERS] are the places of birth of Adam Webster or Alex Panteliodis
{'OR': [['Q4679960', 'P19', {'concept': 'Q56061'}], ['Q16525287', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . { { resource:Q4679960 property:P19 ?u } UNION { resource:Q16525287 property:P19 ?u } } }
Nottingham Tampa
Nottingham and Tampa are the places of birth of Adam Webster or Alex Panteliodis
Nottingham Tampa
action filter_type
action union
action find
entity Adam Webster
relation place of birth
action find
entity Alex Panteliodis
relation place of birth
type administrative territorial entity
{'OR': [['Adam Webster', 'place of birth', {'concept': 'administrative territorial entity'}], ['Alex Panteliodis', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . { { resource:Adam_Webster property:place_of_birth ?u } UNION { resource:Alex_Panteliodis property:place_of_birth ?u } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P19
Q502895
USER
How many people were born at that administrative territory ?
(c(Q502895),P19,Q49255)
[{'concept': 'Q502895'}, 'P19', 'Q49255']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q7681665 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'place of birth', 'Tampa']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Tampa . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q41262
SYSTEM
Did you mean Nottingham ?
(c(Q502895),P19,Q41262) (c(Q502895),P19,Q49255)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q41262'] [{'concept': 'Q502895'}, 'P19', 'Q49255']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q7681665 . ?z rdf:type ontology:Q502895 }
Did you mean Nottingham ?
Nottingham
[{'concept': 'common name'}, 'place of birth', 'Nottingham'] [{'concept': 'common name'}, 'place of birth', 'Tampa']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Tampa . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Tampa. Could you tell me the answer for that?
(c(Q502895),P19,Q49255)
Q49255
[{'concept': 'Q502895'}, 'P19', 'Q49255']
[{'concept': 'common name'}, 'place of birth', 'Tampa']
[]
SYSTEM
299
Q4352705 Q3643677 Q7934390 Q110477 Q18159215 Q1701065 Q3718946 Q19877775 Q14954842 Q2748741 Q3113247 Q3813990 Q3052118 Q6166666 Q2737865 Q6193793 Q2477119 Q16199296 Q435675 Q374124 Q18688093 Q2340386 Q5040118 Q682224 Q16187046 Q14125736 Q3886207 Q7409699 Q521080 Q5058439 Q5393320 Q16832562 Q777164 Q17284961 Q1976946 Q619281 Q229975 Q4266744 Q8008856 Q2924885 Q432044 Q16525287 Q5835827 Q3098626 Q3783494 Q19609770 Q6969295 Q2328967 Q6200169 Q3431876 Q7340648 Q5907886 Q5681584 Q7933793 Q2726999 Q381841 Q443295 Q6220292 Q17285309 Q729508 Q16196039 Q3618476 Q16729645 Q6346752 Q519908 Q7821930 Q15616057 Q4220050 Q342862 Q16218463 Q20631141 Q372297 Q7327085 Q6038553 Q4874248 Q291726 Q442019 Q5264771 Q4662283 Q1130414 Q390257 Q18011668 Q938595 Q947525 Q17985532 Q18637391 Q35709 Q440269 Q7647640 Q389550 Q16214610 Q7918929 Q2346435 Q3938452 Q2258870 Q1041532 Q3076581 Q5884959 Q7823723 Q1439540 Q23872223 Q310108 Q5340079 Q524800 Q7488918 Q15298957 Q831136 Q2997256 Q7808412 Q346490 Q5608668 Q7331219 Q16105703 Q3435637 Q3074460 Q3307996 Q5443784 Q18637336 Q18158444 Q19668356 Q196166 Q3857469 Q3470478 Q5233993 Q3181700 Q5549805 Q3162977 Q6756312 Q7128915 Q2311342 Q547571 Q371049 Q5560899 Q15830733 Q7306931 Q3364764 Q7690167 Q3497882 Q235784 Q615887 Q16204950 Q470045 Q6411347 Q18217449 Q6774941 Q4351931 Q7819478 Q7149397 Q24577399 Q6529244 Q6307346 Q5523910 Q6198932 Q3299472 Q721521 Q23016541 Q2877898 Q15241424 Q4764227 Q6483471 Q6483473 Q4754748 Q10430505 Q24817952 Q15428949 Q5307174 Q7347396 Q23762085 Q22931790 Q4733456 Q7705017 Q7145589 Q17541955 Q4730854 Q8021794 Q5186460 Q20669190 Q20744668 Q7116737 Q4353828 Q18637184 Q4895172 Q3434278 Q4107473 Q1809575 Q2397678 Q24005740 Q3430505 Q23310555 Q601923 Q16730065 Q7325360 Q4772849 Q8011795 Q7441327 Q13562283 Q12068195 Q16237395 Q301818 Q362876 Q3705469 Q3243189 Q3459087 Q6209559 Q518609 Q17302809 Q721634 Q3723000 Q727645 Q4823160 Q16221760 Q16233411 Q4823143 Q7408299 Q18686645 Q606022 Q1748008 Q4319673 Q18619029 Q14469383 Q4001149 Q7367715 Q499649 Q4933375 Q6161227 Q16615942 Q649548 Q6211089 Q559273 Q16206209 Q13562803 Q889130 Q1102269 Q255129 Q16233633 Q21468932 Q3984632 Q1928449 Q31221 Q362969 Q2696934 Q5224124 Q5372229 Q875502 Q3809985 Q7147577 Q445855 Q446704 Q1076161 Q13562986 Q6791010 Q3180024 Q16187031 Q3294056 Q652847 Q6418596 Q178112 Q6833633 Q5444739 Q5085543 Q515040 Q7027737 Q16268853 Q17279906 Q16015294 Q2633260 Q2861291 Q5901863 Q2376714 Q234556 Q3528617 Q6834229 Q459055 Q6116692 Q3307478 Q7528321 Q3809534 Q3807470 Q3481377 Q1364479 Q15979652 Q11305387 Q238029 Q4733532 Q6135606 Q1276910 Q3108505 Q257442 Q139649 Q5173574 Q267685 Q16092686 Q2032420 Q3674951 Q676861 Q3530912 Q289426 Q3856197 Q3959061
(c(Q502895),P19,Q49255)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q49255']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q7681665 . ?z rdf:type ontology:Q502895 }
Don Garlits Brandon Barker Virginia M. Hernandez Covington Cannonball Adderley Ramik Wilson John Mercer Brooke Eddie McMillan Anthony Chickillo K.E. on the Track Ryan Raburn Graham Godfrey Katrina Colleton Santo Trafficante Jay Gruden Luis Gonzalez Jim Brady Thomas Youngblood Dan Bilzerian Lauren C. Mayhew Adrian R'Mante Matt Jones Mike Awesome Carl Everett Ray Fernandez John Dingfelder Dentarius Locke Orson Charles Sammy Arena Dick Slater Celph Titled Ernest Ivy Thomas, Jr. Danielle Trzcinski Joe Gyau Ricky Gallon Rachel Specter Terry Butler Brittany Snow Baldomero Lopez William F. Poe Brian Dunn Maxine Alex Panteliodis Erin Stern Gary Sheffield Harry Douglas Jay Bowie Nathan Purdee David Gail Jimmy Garvin Greg Gall Rob Whitehurst Omid Khansari Rich Monteleone Virgil Miller Newton Fred McGriff Carter Jenkins Michael Roof John Baillie McIntosh Aaron Scott Moorhead Dean Malenko Wanda Guyton Anthony Allen Vernon Hargreaves III Kahagas James Oscar Davis III Tony Booth J. D. Mesnard Thomas Kidd Joseph Kittinger Greg Foisie Keisha Grey Aric Almirola Richard King Joe Payne Baya M. Harrison Jr. Morgan Pressel Dreama Walker Desmond Mullen Aaron Murray Sylvester James Gates Bob McLeod Emma Rayne Lyle Jeremy Hall Robert Gant Brandt Andersen Mychal Givens Avy Scott Damu Cherry Susan C. Bucklew Race Imboden Jason Schultz Velia Martínez Janet Echelman Robert Vito Tarence Kinsey Chris Ray Dan Spivey Grant Brandell Tony Zappone Megan Romano Chris Jones Gilbert Arenas Edna McGriff Chris Colwill Shannon Magrane Toney Mack Beth Hirsch Corey Brown Tino Martinez Thomas Burnett Swann Gridlok Rick Barrio Dill H. Lee Moffitt Robert Lado Floyd Youmans Steve Jay Ferdie Pacheco Jarell Eddie Jimmy Steele Kota Sky Titus O'Neil Mike Williams Sam Dyson David Galloway John Hart Geraldine Walther Jason Michaels Marcelino Huerta Pam Bondi David Heath Paul Mazurkiewicz Brutus Beefcake Gilbert F. Casellas Dominique Young Unique Reena Ninan Steve Swanson Taylor Trensch Stefan Logan Brooke Bennett Steve Garvey Karen Castor Dentel Aja King Coleman Robert L. Summerlin Martin Baron Lamar Crowson Tommy Gómez Paul Blaine Henrie Julie Sondra Decker Les Blank Julian Lane Garrett Johnson Jim Wilkes Matt Hires Hughie Thomasson Karen Deal Catherine Parks Julian Green Angus R. Goss Lance McCullers Lance McCullers, Jr. Andre Caldwell Joey Valenti Matt Lopez Tony Pizzo Drew Fickett Robert Marve Johnny Charro Bo Rucker Allyn K. Capron, Sr. Terry Smiljanich Patricia Gaffney Charles Mendez Allan Medina Willie Rose Cristobal Krusen Chaz Green Dani Rylan Ozzie Timmons Nick Zimmerman Adam Bilzerian Bert Kreischer Robbie Crouch Ted Washington Lazzaro Oertli Dave Magadan Billy Scott Richard Barone Skylar Stecker Big E Langston Paul D. Irving Richard E. Council Anthony Joseph Arduengo III William Haze Sean O'Neal Kelli Stargel Frank Sanchez Cooter Brown Aaron Carter Shawn Pyfrom Denisha Crawford Kevin Cash S. J. Green Joe Donoho Sam Gibbons Jordan Clarkson Denny Hamlin Elinor Ross Jim Neidhart Austin Krajicek J. W. Grant Adam Morgan Austin Idol Sam Washington Bob Henriquez Wes Brisco Mike Pinera Nikitas Bob Hall Tommy Curtis Tyler Riggs Rose Ferlita Nat Adderley Bob McNair Jarvis Giles Tiras Wade Jerome James Joe Malenko Glen Benton Torrey Davis Jo Dragotta Matthew Stafford Terry Balsamo Leslie Carter Preston Tucker Anthony Burns Terrell McClain Slim Whitman Evelyn Brent Bob Martinez Tony La Russa Darnell King Emily Janss Doug Hammond Jonte Green Patrick S. Hunter Heather Bratton Amber Smith Dwight Gooden Lauren Drain Matthew Nelson Joe Clermond Janet Cruz Mark Dickson Ralph Santolla Kitty Piercy David Sanborn Michael Prysner Fernando González Charlie Souza Matt Joyce Nick Pittsinger Carvie Upshaw Charles Bradley Lawrence Singleton Steve Keirn Arik Marshall Horace Hogan Jessica Sierra Brooke Hogan Tim Crews Michael Scionti Hope Portocarrero Jackie Trail Woody Austin Sir Mawn Wilson J. P. Rodrigues Javier Arenas Shane Robinson Lem Davis Declan Farmer Salvatore Jude Urso Joanna García Alma Cuervo James Harrell Mike De Palmer KJ-52 Sarah Paulson Zachary Stevens Cory Doyne Butterfly McQueen Thomas Gallen Leilani Kai China Soul Lou Piniella Tom Walker Charles Rebozo Michael Jenkins Shaler Halimon
299
[{'concept': 'common name'}, 'place of birth', 'Tampa']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Tampa . ?z rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q878
P495
Q15617994 Q201658 Q838948
USER
Which administrative territories are the origins of around the same number of film genres or works of art as United Arab Emirates ?
(c(Q201658)|c(Q838948),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q878
relation P495
type Q201658
type Q838948
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?r WHERE { VALUES ( ?j ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } . ?q rdf:type ?j } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:P495 resource:Q878 . { { ?m rdf:type ontology:Q201658 } UNION { ?m rdf:type ontology:Q838948 } } } } . FILTER ( ?y = ?z ) }
United Arab Emirates
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity United Arab Emirates
relation country of origin
type film genre
type work of art
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?r WHERE { VALUES ( ?j ) { ( ontology:film_genre ) ( ontology:work_of_art ) } . ?q rdf:type ?j } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:country_of_origin resource:United_Arab_Emirates . { { ?m rdf:type ontology:film_genre } UNION { ?m rdf:type ontology:work_of_art } } } } . FILTER ( ?y = ?z ) }
[]
designation for an administrative territorial entity film genre work of art
Q155 Q230 Q159
SYSTEM
Brazil, Georgia, Russia
Q805 Q804 Q801 Q800 Q1462 Q419 Q414 Q55 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q201658)|c(Q838948),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q878
relation P495
type Q201658
type Q838948
[ANSWERS] are the origins of around the same number of film genres or works of art as United Arab Emirates
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?r WHERE { VALUES ( ?j ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } . ?q rdf:type ?j } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:P495 resource:Q878 . { { ?m rdf:type ontology:Q201658 } UNION { ?m rdf:type ontology:Q838948 } } } } . FILTER ( ?y = ?z ) }
Yemen Panama Israel Costa Rica Sardinia Peru Argentina Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland 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 Chile 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 Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
Brazil, Georgia and Russia are the origins of around the same number of film genres or works of art as United Arab Emirates
Brazil Georgia Russia
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity United Arab Emirates
relation country of origin
type film genre
type work of art
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?r WHERE { VALUES ( ?j ) { ( ontology:film_genre ) ( ontology:work_of_art ) } . ?q rdf:type ?j } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:country_of_origin resource:United_Arab_Emirates . { { ?m rdf:type ontology:film_genre } UNION { ?m rdf:type ontology:work_of_art } } } } . FILTER ( ?y = ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q55
P495
Q15617994 Q201658 Q838948
USER
And also tell me about Netherlands?
(c(Q201658)|c(Q838948),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q55
relation P495
type Q201658
type Q838948
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) ?w WHERE { VALUES ( ?m ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } . ?k rdf:type ?m } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:P495 resource:Q55 . { ?s rdf:type ?d . VALUES ( ?d ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } } } } . FILTER ( ?g = ?a ) }
Netherlands
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Netherlands
relation country of origin
type film genre
type work of art
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) ?w WHERE { VALUES ( ?m ) { ( ontology:film_genre ) ( ontology:work_of_art ) } . ?k rdf:type ?m } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:country_of_origin resource:Netherlands . { ?s rdf:type ?d . VALUES ( ?d ) { ( ontology:film_genre ) ( ontology:work_of_art ) } } } } . FILTER ( ?g = ?a ) }
[]
designation for an administrative territorial entity film genre work of art
Q155 Q230 Q159
SYSTEM
Brazil, Georgia, Russia
Q805 Q804 Q801 Q800 Q1462 Q419 Q414 Q55 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q201658)|c(Q838948),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q55
relation P495
type Q201658
type Q838948
[ANSWERS]
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) ?w WHERE { VALUES ( ?m ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } . ?k rdf:type ?m } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:P495 resource:Q55 . { ?s rdf:type ?d . VALUES ( ?d ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } } } } . FILTER ( ?g = ?a ) }
Yemen Panama Israel Costa Rica Sardinia Peru Argentina Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland 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 Chile 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 Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
Brazil Georgia Russia
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Netherlands
relation country of origin
type film genre
type work of art
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) ?w WHERE { VALUES ( ?m ) { ( ontology:film_genre ) ( ontology:work_of_art ) } . ?k rdf:type ?m } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:country_of_origin resource:Netherlands . { ?s rdf:type ?d . VALUES ( ?d ) { ( ontology:film_genre ) ( ontology:work_of_art ) } } } } . FILTER ( ?g = ?a ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P495
Q502895 Q19861951
USER
How many people and types of food or dish have that administrative territory as their place of origin ?
(c(Q502895),P495,Q230) (c(Q19861951),P495,Q230) (c(Q502895),P495,Q155) (c(Q19861951),P495,Q155) (c(Q502895),P495,Q230) (c(Q19861951),P495,Q230) (c(Q502895),P495,Q159) (c(Q19861951),P495,Q159)
[{'concept': 'Q502895'}, 'P495', 'Q230'] [{'concept': 'Q19861951'}, 'P495', 'Q230'] [{'concept': 'Q502895'}, 'P495', 'Q155'] [{'concept': 'Q19861951'}, 'P495', 'Q155'] [{'concept': 'Q502895'}, 'P495', 'Q230'] [{'concept': 'Q19861951'}, 'P495', 'Q230'] [{'concept': 'Q502895'}, 'P495', 'Q159'] [{'concept': 'Q19861951'}, 'P495', 'Q159']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:P495 resource:Q5547323 } UNION { ?y property:P495 resource:Q5547323 } UNION { ?z property:P495 resource:Q21475816 } UNION { ?y property:P495 resource:Q21475816 } UNION { ?z property:P495 resource:Q5547323 } UNION { ?y property:P495 resource:Q5547323 } UNION { ?z property:P495 resource:Q24058892 } UNION { ?y property:P495 resource:Q24058892 } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q19861951 }
[{'concept': 'common name'}, 'country of origin', 'Georgia'] [{'concept': 'type of food or dish'}, 'country of origin', 'Georgia'] [{'concept': 'common name'}, 'country of origin', 'Brazil'] [{'concept': 'type of food or dish'}, 'country of origin', 'Brazil'] [{'concept': 'common name'}, 'country of origin', 'Georgia'] [{'concept': 'type of food or dish'}, 'country of origin', 'Georgia'] [{'concept': 'common name'}, 'country of origin', 'Russia'] [{'concept': 'type of food or dish'}, 'country of origin', 'Russia']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:country_of_origin resource:Georgia } UNION { ?y property:country_of_origin resource:Georgia } UNION { ?z property:country_of_origin resource:Brazil } UNION { ?y property:country_of_origin resource:Brazil } UNION { ?z property:country_of_origin resource:Georgia } UNION { ?y property:country_of_origin resource:Georgia } UNION { ?z property:country_of_origin resource:Russia } UNION { ?y property:country_of_origin resource:Russia } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:type_of_food_or_dish }
[]
common name type of food or dish
Quantitative|Count|Mult. entity type|Clarification
Q155
SYSTEM
Did you mean Brazil ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:P495 resource:Q5547323 } UNION { ?y property:P495 resource:Q5547323 } UNION { ?z property:P495 resource:Q21475816 } UNION { ?y property:P495 resource:Q21475816 } UNION { ?z property:P495 resource:Q5547323 } UNION { ?y property:P495 resource:Q5547323 } UNION { ?z property:P495 resource:Q24058892 } UNION { ?y property:P495 resource:Q24058892 } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q19861951 }
Did you mean Brazil ?
Brazil
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:country_of_origin resource:Georgia } UNION { ?y property:country_of_origin resource:Georgia } UNION { ?z property:country_of_origin resource:Brazil } UNION { ?y property:country_of_origin resource:Brazil } UNION { ?z property:country_of_origin resource:Georgia } UNION { ?y property:country_of_origin resource:Georgia } UNION { ?z property:country_of_origin resource:Russia } UNION { ?y property:country_of_origin resource:Russia } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:type_of_food_or_dish }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Georgia. Could you tell me the answer for that?
(c(Q502895),P495,Q230) (c(Q19861951),P495,Q230) (c(Q502895),P495,Q155) (c(Q19861951),P495,Q155) (c(Q502895),P495,Q230) (c(Q19861951),P495,Q230) (c(Q502895),P495,Q159) (c(Q19861951),P495,Q159)
Q230
[{'concept': 'Q502895'}, 'P495', 'Q230'] [{'concept': 'Q19861951'}, 'P495', 'Q230'] [{'concept': 'Q502895'}, 'P495', 'Q155'] [{'concept': 'Q19861951'}, 'P495', 'Q155'] [{'concept': 'Q502895'}, 'P495', 'Q230'] [{'concept': 'Q19861951'}, 'P495', 'Q230'] [{'concept': 'Q502895'}, 'P495', 'Q159'] [{'concept': 'Q19861951'}, 'P495', 'Q159']
[{'concept': 'common name'}, 'country of origin', 'Georgia'] [{'concept': 'type of food or dish'}, 'country of origin', 'Georgia'] [{'concept': 'common name'}, 'country of origin', 'Brazil'] [{'concept': 'type of food or dish'}, 'country of origin', 'Brazil'] [{'concept': 'common name'}, 'country of origin', 'Georgia'] [{'concept': 'type of food or dish'}, 'country of origin', 'Georgia'] [{'concept': 'common name'}, 'country of origin', 'Russia'] [{'concept': 'type of food or dish'}, 'country of origin', 'Russia']
[]
SYSTEM
1 people and 1 types of food or dish
Q2735867 Q1858518
(c(Q502895),P495,Q230) (c(Q19861951),P495,Q230) (c(Q502895),P495,Q155) (c(Q19861951),P495,Q155) (c(Q502895),P495,Q230) (c(Q19861951),P495,Q230) (c(Q502895),P495,Q159) (c(Q19861951),P495,Q159)
[ANSWER]
[{'concept': 'Q502895'}, 'P495', 'Q230'] [{'concept': 'Q19861951'}, 'P495', 'Q230'] [{'concept': 'Q502895'}, 'P495', 'Q155'] [{'concept': 'Q19861951'}, 'P495', 'Q155'] [{'concept': 'Q502895'}, 'P495', 'Q230'] [{'concept': 'Q19861951'}, 'P495', 'Q230'] [{'concept': 'Q502895'}, 'P495', 'Q159'] [{'concept': 'Q19861951'}, 'P495', 'Q159']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:P495 resource:Q5547323 } UNION { ?y property:P495 resource:Q5547323 } UNION { ?z property:P495 resource:Q21475816 } UNION { ?y property:P495 resource:Q21475816 } UNION { ?z property:P495 resource:Q5547323 } UNION { ?y property:P495 resource:Q5547323 } UNION { ?z property:P495 resource:Q24058892 } UNION { ?y property:P495 resource:Q24058892 } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q19861951 }
Dimitri Amilakhvari Lobio
1 people and 1 types of food or dish
[{'concept': 'common name'}, 'country of origin', 'Georgia'] [{'concept': 'type of food or dish'}, 'country of origin', 'Georgia'] [{'concept': 'common name'}, 'country of origin', 'Brazil'] [{'concept': 'type of food or dish'}, 'country of origin', 'Brazil'] [{'concept': 'common name'}, 'country of origin', 'Georgia'] [{'concept': 'type of food or dish'}, 'country of origin', 'Georgia'] [{'concept': 'common name'}, 'country of origin', 'Russia'] [{'concept': 'type of food or dish'}, 'country of origin', 'Russia']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:country_of_origin resource:Georgia } UNION { ?y property:country_of_origin resource:Georgia } UNION { ?z property:country_of_origin resource:Brazil } UNION { ?y property:country_of_origin resource:Brazil } UNION { ?z property:country_of_origin resource:Georgia } UNION { ?y property:country_of_origin resource:Georgia } UNION { ?z property:country_of_origin resource:Russia } UNION { ?y property:country_of_origin resource:Russia } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:type_of_food_or_dish }
[]