Simple Question (Direct)
Simple Question
Q3266144
P27
Q15617994
USER
Which administrative territory is Ludovic Loustau a civilian of ?
(Q3266144,P27,c(Q15617994))
action filter_type
action find
entity Q3266144
relation P27
type Q15617994
['Q3266144', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q3266144 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Ludovic Loustau
action filter_type
action find
entity Ludovic Loustau
relation country of citizenship
type designation for an administrative territorial entity
['Ludovic Loustau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Ludovic_Loustau property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3266144,P27,c(Q15617994))
action filter_type
action find
entity Q3266144
relation P27
type Q15617994
[ANSWER] is Ludovic Loustau a civilian of
['Q3266144', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q3266144 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
France
France is Ludovic Loustau a civilian of
France
action filter_type
action find
entity Ludovic Loustau
relation country of citizenship
type designation for an administrative territorial entity
['Ludovic Loustau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Ludovic_Loustau property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3266144
P54
Q12973014
USER
Which sports teams are Ludovic Loustau a member of ?
(Q3266144,P54,c(Q12973014))
action filter_type
action find
entity Q3266144
relation P54
type Q12973014
['Q3266144', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?n WHERE { resource:Q3266144 property:P54 ?n . ?n rdf:type ontology:Q12973014 }
Ludovic Loustau
action filter_type
action find
entity Ludovic Loustau
relation member of sports team
type sports team
['Ludovic Loustau', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?n WHERE { resource:Ludovic_Loustau property:member_of_sports_team ?n . ?n rdf:type ontology:sports_team }
[]
sports team
Q1857064 Q1361000 Q518116
SYSTEM
RC Toulonnais, Montauban ,Stade Français,racing clubnarbonne FCC Auch, France national rugby union team
Q1857064 Q518116 Q1471265 Q1319827 Q1361000
(Q3266144,P54,c(Q12973014))
action filter_type
action find
entity Q3266144
relation P54
type Q12973014
[ANSWERS] are Ludovic Loustau a member of
['Q3266144', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?n WHERE { resource:Q3266144 property:P54 ?n . ?n rdf:type ontology:Q12973014 }
RC Toulonnais France national rugby union team USAP Perpignan US Dax Montauban ,Stade Français,racing clubnarbonne FCC Auch
RC Toulonnais, Montauban ,Stade Français,racing clubnarbonne FCC Auch and France national rugby union team are Ludovic Loustau a member of
RC Toulonnais Montauban ,Stade Français,racing clubnarbonne FCC Auch France national rugby union team
action filter_type
action find
entity Ludovic Loustau
relation member of sports team
type sports team
['Ludovic Loustau', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?n WHERE { resource:Ludovic_Loustau property:member_of_sports_team ?n . ?n rdf:type ontology:sports_team }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3167552
P54
Q502895
USER
Does Jean-Marie Arnal play for those sports teams ?
(Q3167552,P54,Q1857064) (Q3167552,P54,Q1361000) (Q3167552,P54,Q518116)
action is_in
entity prev_answer
action find
entity Q3167552
relation P54
['Q3167552', 'P54', 'Q1857064'] ['Q3167552', 'P54', 'Q1361000'] ['Q3167552', 'P54', 'Q518116']
ASK WHERE { VALUES ( ?t ) { ( resource:Q1857064 ) ( resource:Q518116 ) ( resource:Q1471265 ) } . resource:Q3167552 property:P54 ?t }
Jean-Marie Arnal
action is_in
entity prev_answer
action find
entity Jean-Marie Arnal
relation member of sports team
['Jean-Marie Arnal', 'member of sports team', 'RC Toulonnais'] ['Jean-Marie Arnal', 'member of sports team', 'Montauban ,Stade Français,racing clubnarbonne FCC Auch'] ['Jean-Marie Arnal', 'member of sports team', 'France national rugby union team']
ASK WHERE { VALUES ( ?t ) { ( resource:RC_Toulonnais ) ( resource:France_national_rugby_union_team ) ( resource:USAP_Perpignan ) } . resource:Jean-Marie_Arnal property:member_of_sports_team ?t }
[]
common name
SYSTEM
YES
(Q3167552,P54,Q1857064) (Q3167552,P54,Q1361000) (Q3167552,P54,Q518116)
action is_in
entity prev_answer
action find
entity Q3167552
relation P54
[ANSWER]
['Q3167552', 'P54', 'Q1857064'] ['Q3167552', 'P54', 'Q1361000'] ['Q3167552', 'P54', 'Q518116']
ASK WHERE { VALUES ( ?t ) { ( resource:Q1857064 ) ( resource:Q518116 ) ( resource:Q1471265 ) } . resource:Q3167552 property:P54 ?t }
Yes
action is_in
entity prev_answer
action find
entity Jean-Marie Arnal
relation member of sports team
['Jean-Marie Arnal', 'member of sports team', 'RC Toulonnais'] ['Jean-Marie Arnal', 'member of sports team', 'Montauban ,Stade Français,racing clubnarbonne FCC Auch'] ['Jean-Marie Arnal', 'member of sports team', 'France national rugby union team']
ASK WHERE { VALUES ( ?t ) { ( resource:RC_Toulonnais ) ( resource:France_national_rugby_union_team ) ( resource:USAP_Perpignan ) } . resource:Jean-Marie_Arnal property:member_of_sports_team ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P138
Q874405
USER
Which social group is France named after ?
(Q142,P138,c(Q874405))
action filter_type
action find
entity Q142
relation P138
type Q874405
['Q142', 'P138', {'concept': 'Q874405'}]
SELECT DISTINCT ?p WHERE { resource:Q142 property:P138 ?p . ?p rdf:type ontology:Q874405 }
France
action filter_type
action find
entity France
relation named after
type social group
['France', 'named after', {'concept': 'social group'}]
SELECT DISTINCT ?p WHERE { resource:France property:named_after ?p . ?p rdf:type ontology:social_group }
[]
social group
Q43482
SYSTEM
Franks
Q43482
(Q142,P138,c(Q874405))
action filter_type
action find
entity Q142
relation P138
type Q874405
France is named for [ANSWER]
['Q142', 'P138', {'concept': 'Q874405'}]
SELECT DISTINCT ?p WHERE { resource:Q142 property:P138 ?p . ?p rdf:type ontology:Q874405 }
Franks
France is named for Franks
Franks
action filter_type
action find
entity France
relation named after
type social group
['France', 'named after', {'concept': 'social group'}]
SELECT DISTINCT ?p WHERE { resource:France property:named_after ?p . ?p rdf:type ontology:social_group }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4433
Q874405
USER
And what about Zichyújfalu?
(Q4433,P138,c(Q874405))
action filter_type
action find
entity Q4433
relation P138
type Q874405
['Q4433', 'P138', {'concept': 'Q874405'}]
SELECT DISTINCT ?v WHERE { resource:Q4433 property:P138 ?v . ?v rdf:type ontology:Q874405 }
Zichyújfalu
action filter_type
action find
entity Zichyújfalu
relation named after
type social group
['Zichyújfalu', 'named after', {'concept': 'social group'}]
SELECT DISTINCT ?v WHERE { resource:Zichyújfalu property:named_after ?v . ?v rdf:type ontology:social_group }
[]
social group
Q572319
SYSTEM
Zichy family
Q572319
(Q4433,P138,c(Q874405))
action filter_type
action find
entity Q4433
relation P138
type Q874405
[ANSWER]
['Q4433', 'P138', {'concept': 'Q874405'}]
SELECT DISTINCT ?v WHERE { resource:Q4433 property:P138 ?v . ?v rdf:type ontology:Q874405 }
Zichy family
Zichy family
action filter_type
action find
entity Zichyújfalu
relation named after
type social group
['Zichyújfalu', 'named after', {'concept': 'social group'}]
SELECT DISTINCT ?v WHERE { resource:Zichyújfalu property:named_after ?v . ?v rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4433
P47
Q515
USER
Which city is next to the border of Zichyújfalu ?
(c(Q515),P47,Q4433)
action filter_type
action find
entity Q4433
relation P47
type Q515
[{'concept': 'Q515'}, 'P47', 'Q4433']
SELECT DISTINCT ?f WHERE { resource:Q4433 property:P47 ?f . ?f rdf:type ontology:Q515 }
Zichyújfalu
action filter_type
action find
entity Zichyújfalu
relation shares border with
type city
[{'concept': 'city'}, 'shares border with', 'Zichyújfalu']
SELECT DISTINCT ?f WHERE { resource:Zichyújfalu property:shares_border_with ?f . ?f rdf:type ontology:city }
[]
city
Q642031
SYSTEM
Gárdony
Q642031
(c(Q515),P47,Q4433)
action filter_type
action find
entity Q4433
relation P47
type Q515
[ANSWER] is next to the border of Zichyújfalu
[{'concept': 'Q515'}, 'P47', 'Q4433']
SELECT DISTINCT ?f WHERE { resource:Q4433 property:P47 ?f . ?f rdf:type ontology:Q515 }
Gárdony
Gárdony is next to the border of Zichyújfalu
Gárdony
action filter_type
action find
entity Zichyújfalu
relation shares border with
type city
[{'concept': 'city'}, 'shares border with', 'Zichyújfalu']
SELECT DISTINCT ?f WHERE { resource:Zichyújfalu property:shares_border_with ?f . ?f rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4433
P17
Q15617994
USER
Which administrative territory is Zichyújfalu a part of ?
(Q4433,P17,c(Q15617994))
action filter_type
action find
entity Q4433
relation P17
type Q15617994
['Q4433', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q4433 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Zichyújfalu
action filter_type
action find
entity Zichyújfalu
relation country
type designation for an administrative territorial entity
['Zichyújfalu', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Zichyújfalu property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q4433,P17,c(Q15617994))
action filter_type
action find
entity Q4433
relation P17
type Q15617994
[ANSWER] is Zichyújfalu a part of
['Q4433', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q4433 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Hungary
Hungary is Zichyújfalu a part of
Hungary
action filter_type
action find
entity Zichyújfalu
relation country
type designation for an administrative territorial entity
['Zichyújfalu', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Zichyújfalu property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q28
P463
Q874405
USER
Which organizations were that administrative territory a member of ?
(Q28,P463,c(Q874405))
action filter_type
action find
entity Q28
relation P463
type Q874405
['Q28', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?s WHERE { resource:Q28 property:P463 ?s . ?s rdf:type ontology:Q874405 }
Hungary
action filter_type
action find
entity Hungary
relation member of
type social group
['Hungary', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?s WHERE { resource:Hungary property:member_of ?s . ?s rdf:type ontology:social_group }
[]
social group
Q782942 Q8908
SYSTEM
Australia Group, Council of Europe
Q782942 Q8908
(Q28,P463,c(Q874405))
action filter_type
action find
entity Q28
relation P463
type Q874405
[ANSWERS] were that administrative territory a member of
['Q28', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?s WHERE { resource:Q28 property:P463 ?s . ?s rdf:type ontology:Q874405 }
Australia Group Council of Europe
Australia Group and Council of Europe were that administrative territory a member of
Australia Group Council of Europe
action filter_type
action find
entity Hungary
relation member of
type social group
['Hungary', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?s WHERE { resource:Hungary property:member_of ?s . ?s rdf:type ontology:social_group }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P36
Q56061 Q515 Q15617994
USER
How many administrative territories have exactly 1 administrative territories or cities as their administrative centre ?
(c(Q15617994),P36,c(Q56061)|c(Q515))
action count
action equal
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q515
value 1
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q515'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?p WHERE { { ?p rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q56061 . ?p property:P36 ?h } UNION { ?p property:P36 ?h . ?p rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q515 } } GROUP BY ?p } . FILTER ( ?r = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'city'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?p WHERE { { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:administrative_territorial_entity . ?p property:capital ?h } UNION { ?p property:capital ?h . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:city } } GROUP BY ?p } . FILTER ( ?r = 1 ) }
[]
administrative territorial entity city designation for an administrative territorial entity
SYSTEM
434
Q805 Q804 Q1815665 Q801 Q800 Q1098820 Q419 Q414 Q55 Q783 Q784 Q786 Q568833 Q1452650 Q2980110 Q4308116 Q17301635 Q399 Q398 Q1465069 Q1324549 Q1979 Q159 Q1664120 Q12526 Q1974 Q611074 Q2007299 Q1616549 Q1254171 Q979470 Q684030 Q1270648 Q3563282 Q1899307 Q30675 Q983 Q730 Q734 Q736 Q1280 Q1282 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q189 Q843 Q2007 Q184 Q1029 Q1028 Q1850485 Q1390630 Q1452 Q815731 Q31074 Q31075 Q96 Q1050 Q12175285 Q2629701 Q311803 Q12717 Q298 Q29937 Q115 Q114 Q117 Q30786 Q1270638 Q1788988 Q239502 Q1544445 Q466061 Q1515346 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q281435 Q34020 Q891165 Q696651 Q3528124 Q2719360 Q948 Q1243 Q945 Q3564819 Q3500767 Q855327 Q328134 Q1268811 Q1237 Q701 Q702 Q968630 Q705 Q707 Q4450475 Q2565377 Q668 Q1093 Q1090684 Q1263830 Q833 Q4055266 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q45 Q43 Q792 Q790 Q796 Q794 Q174280 Q1232680 Q889 Q884 Q881 Q231168 Q241 Q1965 Q242 Q1437719 Q1244497 Q29965 Q33 Q32 Q31 Q37 Q36 Q34 Q3361 Q39 Q38 Q302479 Q541095 Q2567535 Q3068 Q3389 Q30644 Q236 Q1886098 Q232 Q233 Q1777256 Q238 Q12549 Q129003 Q1763301 Q1101 Q1206596 Q511806 Q27495866 Q3139 Q902 Q1036 Q1037 Q1032 Q1030 Q1024985 Q1039 Q694 Q695 Q754 Q752 Q750 Q2562901 Q31068 Q220249 Q31067 Q31065 Q654849 Q1773268 Q30835 Q30831 Q574 Q1558632 Q894970 Q191 Q79 Q77 Q878 Q46130 Q2001115 Q3044651 Q3044714 Q3044715 Q2091235 Q23055454 Q12247340 Q2360973 Q30682 Q30683 Q1951 Q2236821 Q2006764 Q1952 Q669802 Q753795 Q1256 Q1250 Q452565 Q3305157 Q1480778 Q2567507 Q3044623 Q651394 Q3646838 Q2391254 Q3044781 Q2371735 Q712 Q711 Q710 Q717 Q3044777 Q12770 Q2465553 Q657 Q1789890 Q12538 Q954 Q1393469 Q953 Q2001966 Q795587 Q958 Q986 Q219 Q957825 Q2629652 Q826 Q822 Q689837 Q1142326 Q153136 Q2621010 Q1974486 Q153091 Q693658 Q769680 Q1508927 Q1948 Q30805 Q311794 Q12661 Q20 Q27 Q28 Q1366860 Q148 Q227 Q225 Q30650 Q223 Q30656 Q221 Q47261 Q311668 Q229 Q347 Q1410315 Q1989 Q60011 Q967 Q963 Q2921370 Q2921378 Q1991827 Q2429432 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q1008 Q3509886 Q2380910 Q1438 Q686 Q30832 Q760 Q817 Q810 Q811 Q813 Q18046648 Q819 Q2038939 Q29 Q617646 Q72670 Q12545 Q2309262 Q863 Q2023 Q869 Q2093352 Q30946 Q568751 Q334714 Q15116736 Q2150573 Q142 Q685048 Q29943 Q145 Q262 Q2009 Q12820 Q265 Q3342 Q842 Q2344570 Q378004 Q1150452 Q691368 Q1263 Q475035 Q2995277 Q2003 Q3240 Q2662372 Q2565339 Q686924 Q1429976 Q24089916 Q30669 Q1985120 Q30662 Q2629323 Q4628 Q455705 Q2564823 Q2043690 Q770 Q1856181 Q1077283 Q921 Q4712 Q928 Q929 Q858 Q423 Q424 Q851 Q29999 Q854 Q2226837 Q165763 Q1338277 Q1447 Q2360428 Q222 Q2565327 Q2588405 Q1045 Q1044 Q1042 Q1041 Q31070 Q3336 Q1984191 Q30797 Q1904 Q228 Q3462133 Q30815 Q1429761 Q153402 Q3207 Q894973 Q894972 Q894971 Q2617427 Q1053888 Q3044677 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q244 Q1090691 Q977 Q2218506 Q692290 Q974 Q971 Q970 Q4464271 Q2502354 Q30630 Q775 Q774 Q776 Q1019 Q773 Q772 Q1014 Q1016 Q1011 Q1013 Q678 Q2565367 Q8575586 Q1579364 Q31079 Q2629692 Q549746 Q695660
(c(Q15617994),P36,c(Q56061)|c(Q515))
action count
action equal
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q515
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q515'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?p WHERE { { ?p rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q56061 . ?p property:P36 ?h } UNION { ?p property:P36 ?h . ?p rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q515 } } GROUP BY ?p } . FILTER ( ?r = 1 ) }
Yemen Panama Znaur Israel Costa Rica Gênes Peru Argentina Netherlands Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Yovon District Murmansk Okrug Orihuela Governorate Armenia Bahrain Frise Uthukela District Municipality Prince Edward Island Russia Alfred Nzo District Municipality Gironde British Columbia Mopani District Municipality OR Tambo District Municipality Ivittuut Municipality Dr Ruth Segomotsi Mompati District Municipality Seine-et-Oise Principality of Serbia Sieg Rumi District Overberg District Municipality Minya Governorate Equatorial Guinea Suriname Guyana Ecuador Umbria Lazio John Taolo Gaetsewe District Municipality Lejweleputswa District Municipality Tuscany Marche Mauritania Sudan Mauritius Iceland Pakistan Northwest Territories Belarus Mozambique Morocco Dhaka District Ourthe Basilicata Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Swaziland Aravalli district Yevpatoria municipality Umgungundlovu District Municipality Bas-Rhin Chile Aswan Governorate Ethiopia Kenya Ghana Monufia Governorate Rhine Trasimène Kingdom of Galicia–Volhynia Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Samoa Principality of Wales Province of Brescia Isère Ruhr Maulvi Bazar District Niue Bojanala Platinum District Municipality Saxe-Eisenach Tibre Duchy of Luxembourg Tunisia Veneto Togo Hamadoni District Norak District Kouilou Department 6th of October Governorate Dyle Trentino-South Tyrol North Holland Federated States of Micronesia Taro Zeeland Flevoland Talitsky District Danghara District India Limburg Montserrat Frances Baard District Municipality Malaysia Abyei District Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Portugal Turkey El Salvador Haiti Iraq Iran San Juan de Jinotega Ithaque Afghanistan South Korea Vietnam Zuyderzée Cuba New Brunswick Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Asyut Governorate Finland Luxembourg Belgium Lithuania Poland Sweden Doubs Switzerland Italy Ems-Occidental Rhin-et-Moselle Pô Loire-Atlantique Finistère Damietta Governorate Montenegro Pixley ka Seme District Municipality Kazakhstan Malta Dzerzhinsky District, Kaluga Oblast San Marino Ille-et-Vilaine French Southern and Antarctic Lands Barisal District North Brabant Deux-Nèthes North Slope Borough Corse Alpes-Maritimes Bangladesh Uganda Rwanda Niger Namibia Cacadu District Municipality Sao Tomé and Príncipe South Holland Palau Trinidad and Tobago Groningen Bolivia West Coast District Municipality Dakahlia Governorate Eden District Municipality Ismailia Governorate Qena Governorate Joe Gqabi District Municipality ZF Mgcawu District Municipality Gharbia Governorate Red Sea Governorate East Timor Rome Bouches-de-la-Meuse Estonia Egypt Uruguay United Arab Emirates Rhône Tepic, Nayarit (municipality) Louverture Ouest Ozama Ugu District Municipality Alpes-Maritimes Afrin Nahiya Duchy of Carniola Matrouh Governorate Beni Suef Governorate Alberta Rhône-et-Loire Xhariep District Municipality Nova Scotia Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Mella Comilla District Arno Cibao Ramensky District Los Guayos Municipality Farkhor District Sud Saky municipality Fiji Mongolia Kiribati Venezuela Nord Somme Shapsugsky National District Chad West Rand District Municipality Haute-Garonne Zimbabwe Jemmapes Zambia Company rule in India Escuintla South Sudan Eritrea Bulgaria Yssel-Supérieur Yalta municipality Maldives Lebanon Spanish Sahara Seine Habsburg Empire Principality of Vitebsk Cape Winelands District Municipality Duchy of Prussia Izabal Department Bornholm Méditerranée Manitoba Cairo Governorate iLembe District Municipality Nord Norway Ireland Hungary Escaut People's Republic of China Azerbaijan Bosnia and Herzegovina New Valley Governorate Greenland Faiyum Governorate Republic of Macedonia Duchy of Bavaria UThungulu District Municipality Cyprus Liechtenstein Fezile Dabi District Municipality Saskatchewan Kars Oblast Burundi Botswana Bouches-de-l'Èbre-Montserrat Bouches-de-l'Èbre Karelian National Okrug Sirajganj District Liamone Sarre Lombardy Piedmont Mali Bhutan Angola Guinea-Bissau Guinea Gambia Kuban Oblast Cameroon Côte d'Ivoire Sègre-Ter Duchy of Zaslawye Campania Vanuatu Giza Governorate Saint Lucia Kuwait Jordan Nicaragua Kyrgyzstan department Stad en Landen of Groningen Laos Sedibeng District Municipality Spain Namakwa District Municipality Batumi Oblast Hérault Zululand District Municipality Tajikistan Nunavut Thailand Sylhet District Kafr el-Sheikh Governorate Mont-Tonnerre Duchy of Athens Jaén District Unterelsaß France Simplon Alexandria Governorate United Kingdom Algeria Yukon Yvelines Uzbekistan Côte-d'Or Oman Rangpur District Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Dzau district Newfoundland and Labrador Bouches-du-Rhône Principality of Minsk Vose' District Mer-Égée Mymensingh District Pars Sohag Governorate Dinajpur District North Sinai Governorate Armyansk municipality Faroe Islands Amathole District Municipality Panj District Gali Municipality Friesland Nkangala District Municipality Chris Hani District Municipality Brunei Duchy of Burgundy Philippines Central African Republic Syria North Korea Cambodia Saudi Arabia Kingdom of the Netherlands Sri Lanka Umzinyathi District Municipality Waldeck Sambre-et-Meuse Apulia Tijuana Municipality Albania Muminobod District Shahrtuz District Somalia Sierra Leone Seychelles Senegal Suez Governorate Corse-du-Sud Ngaka Modiri Molema District Municipality Luxor Governorate Ontario Andorra Saxe-Coburg and Gotha South Sinai Governorate Patuakhali District Roer Aude Bouches-du-Rhin Bouches-de-l'Yssel Bouches-de-l'Escaut Ayn Central Karoo District Municipality Samaná Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Barbados Ter Djibouti Kineshemsky District Capricorn District Municipality Democratic Republic of the Congo Republic of the Congo Comoros Principality of Trubetsk Principality of Goroden Beheira Governorate Gelderland Guatemala Utrecht Madagascar Overijssel Drenthe Liberia Libya Cape Verde Lesotho Tonga Vakhsh District Umayyad Caliphate Lys Port Said Governorate Simferopol municipality Sisonke District Municipality Guatemala Department
434
action count
action equal
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'city'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?p WHERE { { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:administrative_territorial_entity . ?p property:capital ?h } UNION { ?p property:capital ?h . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:city } } GROUP BY ?p } . FILTER ( ?r = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P127
Q874405 Q2001305 Q43229
USER
How many social groups are the owners of exactly 2 television channels and organizations ?
(c(Q2001305)|c(Q43229),P127,c(Q874405))
action count
action equal
action union
action find_reverse_tuple_counts
relation P127
type Q874405
type Q2001305
action find_reverse_tuple_counts
relation P127
type Q874405
type Q43229
value 2
[[{'concept': 'Q2001305'}, {'concept': 'Q43229'}], 'P127', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?r ) WHERE { { ?j rdf:type ontology:Q2001305 . ?h rdf:type ontology:Q874405 . ?j property:P127 ?h } UNION { ?j rdf:type ontology:Q43229 . ?h rdf:type ontology:Q874405 . ?j property:P127 ?h } } GROUP BY ?h } . FILTER ( ?r = 2 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation owned by
type social group
type television channel
action find_reverse_tuple_counts
relation owned by
type social group
type organization
value 2
[[{'concept': 'television channel'}, {'concept': 'organization'}], 'owned by', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?r ) WHERE { { ?j rdf:type ontology:television_channel . ?h rdf:type ontology:social_group . ?j property:owned_by ?h } UNION { ?j rdf:type ontology:organization . ?h rdf:type ontology:social_group . ?j property:owned_by ?h } } GROUP BY ?h } . FILTER ( ?r = 2 ) }
[]
social group television channel organization
SYSTEM
4
Q7392048 Q1674127 Q2873039 Q3117438
(c(Q2001305)|c(Q43229),P127,c(Q874405))
action count
action equal
action union
action find_reverse_tuple_counts
relation P127
type Q874405
type Q2001305
action find_reverse_tuple_counts
relation P127
type Q874405
type Q43229
value 2
[ANSWER]
[[{'concept': 'Q2001305'}, {'concept': 'Q43229'}], 'P127', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?r ) WHERE { { ?j rdf:type ontology:Q2001305 . ?h rdf:type ontology:Q874405 . ?j property:P127 ?h } UNION { ?j rdf:type ontology:Q43229 . ?h rdf:type ontology:Q874405 . ?j property:P127 ?h } } GROUP BY ?h } . FILTER ( ?r = 2 ) }
SOGEPA Islamic Republic of Iran Broadcasting Autostrade per l'Italia Groupe Holder
4
action count
action equal
action union
action find_reverse_tuple_counts
relation owned by
type social group
type television channel
action find_reverse_tuple_counts
relation owned by
type social group
type organization
value 2
[[{'concept': 'television channel'}, {'concept': 'organization'}], 'owned by', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?r ) WHERE { { ?j rdf:type ontology:television_channel . ?h rdf:type ontology:social_group . ?j property:owned_by ?h } UNION { ?j rdf:type ontology:organization . ?h rdf:type ontology:social_group . ?j property:owned_by ?h } } GROUP BY ?h } . FILTER ( ?r = 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3263457 Q3167552
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Jean-Marie Arnal or Louis de Gallois ?
OR((Q3167552,P27,c(Q15617994)), (Q3263457,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3167552
relation P27
action find
entity Q3263457
relation P27
type Q15617994
{'OR': [['Q3167552', 'P27', {'concept': 'Q15617994'}], ['Q3263457', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q3167552 property:P27 ?e } UNION { resource:Q3263457 property:P27 ?e } } . ?e rdf:type ontology:Q15617994 }
Louis de Gallois Jean-Marie Arnal
action filter_type
action union
action find
entity Jean-Marie Arnal
relation country of citizenship
action find
entity Louis de Gallois
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jean-Marie Arnal', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Louis de Gallois', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Jean-Marie_Arnal property:country_of_citizenship ?e } UNION { resource:Louis_de_Gallois property:country_of_citizenship ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
OR((Q3167552,P27,c(Q15617994)), (Q3263457,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3167552
relation P27
action find
entity Q3263457
relation P27
type Q15617994
[ANSWER] is the countries of citizenship of Jean-Marie Arnal or Louis de Gallois
{'OR': [['Q3167552', 'P27', {'concept': 'Q15617994'}], ['Q3263457', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q3167552 property:P27 ?e } UNION { resource:Q3263457 property:P27 ?e } } . ?e rdf:type ontology:Q15617994 }
France
France is the countries of citizenship of Jean-Marie Arnal or Louis de Gallois
France
action filter_type
action union
action find
entity Jean-Marie Arnal
relation country of citizenship
action find
entity Louis de Gallois
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jean-Marie Arnal', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Louis de Gallois', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Jean-Marie_Arnal property:country_of_citizenship ?e } UNION { resource:Louis_de_Gallois property:country_of_citizenship ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P6
Q502895
USER
What people are that administrative territory the head of goverment of ?
(Q142,P6,c(Q502895))
action filter_type
action find
entity Q142
relation P6
type Q502895
['Q142', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q142 property:P6 ?r . ?r rdf:type ontology:Q502895 }
France
action filter_type
action find
entity France
relation head of government
type common name
['France', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:France property:head_of_government ?r . ?r rdf:type ontology:common_name }
[]
common name
Q10287 Q7711
SYSTEM
Manuel Valls, Jean-Marc Ayrault
Q10287 Q7711
(Q142,P6,c(Q502895))
action filter_type
action find
entity Q142
relation P6
type Q502895
[ANSWERS] are that administrative territory the head of goverment of
['Q142', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q142 property:P6 ?r . ?r rdf:type ontology:Q502895 }
Manuel Valls Jean-Marc Ayrault
Manuel Valls and Jean-Marc Ayrault are that administrative territory the head of goverment of
Manuel Valls Jean-Marc Ayrault
action filter_type
action find
entity France
relation head of government
type common name
['France', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:France property:head_of_government ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q484186
Q502895
USER
And also tell me about Granvin?
(Q484186,P6,c(Q502895))
action filter_type
action find
entity Q484186
relation P6
type Q502895
['Q484186', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q484186 property:P6 ?x . ?x rdf:type ontology:Q502895 }
Granvin
action filter_type
action find
entity Granvin
relation head of government
type common name
['Granvin', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Granvin property:head_of_government ?x . ?x rdf:type ontology:common_name }
[]
common name
Q11977137
SYSTEM
Ingebjørg Winjum
Q11977137
(Q484186,P6,c(Q502895))
action filter_type
action find
entity Q484186
relation P6
type Q502895
[ANSWER]
['Q484186', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q484186 property:P6 ?x . ?x rdf:type ontology:Q502895 }
Ingebjørg Winjum
Ingebjørg Winjum
action filter_type
action find
entity Granvin
relation head of government
type common name
['Granvin', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Granvin property:head_of_government ?x . ?x rdf:type ontology:common_name }
[]