Simple Question (Direct)
Simple Question
Q3132393
P106
Q12737077
USER
What does Henri de Verninac-Saint-Maur do for a living ?
(Q3132393,P106,c(Q12737077))
action filter_type
action find
entity Q3132393
relation P106
type Q12737077
['Q3132393', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q3132393 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Henri de Verninac-Saint-Maur
action filter_type
action find
entity Henri de Verninac-Saint-Maur
relation occupation
type occupation
['Henri de Verninac-Saint-Maur', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Henri_de_Verninac-Saint-Maur property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q3132393,P106,c(Q12737077))
action filter_type
action find
entity Q3132393
relation P106
type Q12737077
Henri de Verninac-Saint-Maur does a [ANSWER] for a living
['Q3132393', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q3132393 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
politician
Henri de Verninac-Saint-Maur does a politician for a living
politician
action filter_type
action find
entity Henri de Verninac-Saint-Maur
relation occupation
type occupation
['Henri de Verninac-Saint-Maur', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Henri_de_Verninac-Saint-Maur property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3132393
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Henri de Verninac-Saint-Maur ?
(Q3132393,P27,c(Q15617994))
action filter_type
action find
entity Q3132393
relation P27
type Q15617994
['Q3132393', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q3132393 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Henri de Verninac-Saint-Maur
action filter_type
action find
entity Henri de Verninac-Saint-Maur
relation country of citizenship
type designation for an administrative territorial entity
['Henri de Verninac-Saint-Maur', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Henri_de_Verninac-Saint-Maur property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3132393,P27,c(Q15617994))
action filter_type
action find
entity Q3132393
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Henri de Verninac-Saint-Maur
['Q3132393', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q3132393 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
France
France is the country of citizenship of Henri de Verninac-Saint-Maur
France
action filter_type
action find
entity Henri de Verninac-Saint-Maur
relation country of citizenship
type designation for an administrative territorial entity
['Henri de Verninac-Saint-Maur', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Henri_de_Verninac-Saint-Maur property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11534809
Q15617994
USER
And how about Sachiko Shibata?
(Q11534809,P27,c(Q15617994))
action filter_type
action find
entity Q11534809
relation P27
type Q15617994
['Q11534809', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q11534809 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Sachiko Shibata
action filter_type
action find
entity Sachiko Shibata
relation country of citizenship
type designation for an administrative territorial entity
['Sachiko Shibata', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Sachiko_Shibata property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q11534809,P27,c(Q15617994))
action filter_type
action find
entity Q11534809
relation P27
type Q15617994
[ANSWER]
['Q11534809', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q11534809 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Japan
Japan
action filter_type
action find
entity Sachiko Shibata
relation country of citizenship
type designation for an administrative territorial entity
['Sachiko Shibata', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Sachiko_Shibata property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P463
Q43229
USER
Which organizations were France a member of ?
(Q142,P463,c(Q43229))
action filter_type
action find
entity Q142
relation P463
type Q43229
['Q142', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?t WHERE { resource:Q142 property:P463 ?t . ?t rdf:type ontology:Q43229 }
France
action filter_type
action find
entity France
relation member of
type organization
['France', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?t WHERE { resource:France property:member_of ?t . ?t rdf:type ontology:organization }
[]
organization
Q42944 Q151991 Q7825
SYSTEM
European Organization for Nuclear Research, European Southern Observatory, World Trade Organization
Q340195 Q42944 Q191384 Q899770 Q1331152 Q41550 Q656801 Q151991 Q7825 Q161549 Q827525
(Q142,P463,c(Q43229))
action filter_type
action find
entity Q142
relation P463
type Q43229
[ANSWERS]
['Q142', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?t WHERE { resource:Q142 property:P463 ?t . ?t rdf:type ontology:Q43229 }
African Development Bank European Organization for Nuclear Research International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Open Government Partnership Organisation for Economic Co-operation and Development International Finance Corporation European Southern Observatory World Trade Organization European Coal and Steel Community International Development Association
Which organizations were France a member of
European Organization for Nuclear Research European Southern Observatory World Trade Organization
action filter_type
action find
entity France
relation member of
type organization
['France', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?t WHERE { resource:France property:member_of ?t . ?t rdf:type ontology:organization }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q142
Q35749
USER
And which parliament?
(Q142,P463,c(Q35749))
action filter_type
action find
entity Q142
relation P463
type Q35749
['Q142', 'P463', {'concept': 'Q35749'}]
SELECT DISTINCT ?h WHERE { resource:Q142 property:P463 ?h . ?h rdf:type ontology:Q35749 }
France
action filter_type
action find
entity France
relation member of
type parliament
['France', 'member of', {'concept': 'parliament'}]
SELECT DISTINCT ?h WHERE { resource:France property:member_of ?h . ?h rdf:type ontology:parliament }
[]
parliament
Q37470
SYSTEM
United Nations Security Council
Q37470
(Q142,P463,c(Q35749))
action filter_type
action find
entity Q142
relation P463
type Q35749
[ANSWER]
['Q142', 'P463', {'concept': 'Q35749'}]
SELECT DISTINCT ?h WHERE { resource:Q142 property:P463 ?h . ?h rdf:type ontology:Q35749 }
United Nations Security Council
United Nations Security Council
action filter_type
action find
entity France
relation member of
type parliament
['France', 'member of', {'concept': 'parliament'}]
SELECT DISTINCT ?h WHERE { resource:France property:member_of ?h . ?h rdf:type ontology:parliament }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q43229 Q62447
USER
How many aerodromes can be described as facility operator of atmost 1 organization ?
(c(Q62447),P137,c(Q43229))
action count
action atmost
action find_tuple_counts
relation P137
type Q62447
type Q43229
value 1
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?k ) WHERE { ?n property:P137 ?w . ?w rdf:type ontology:Q43229 . ?n rdf:type ontology:Q62447 } GROUP BY ?n } . FILTER ( ?k <= 1 ) }
action count
action atmost
action find_tuple_counts
relation operator
type aerodrome
type organization
value 1
[{'concept': 'aerodrome'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?k ) WHERE { ?n property:operator ?w . ?w rdf:type ontology:organization . ?n rdf:type ontology:aerodrome } GROUP BY ?n } . FILTER ( ?k <= 1 ) }
[]
organization aerodrome
SYSTEM
254
Q2449054 Q10546669 Q1345361 Q955757 Q656993 Q1344758 Q2559952 Q1432361 Q2901042 Q196087 Q2788843 Q4352578 Q4894757 Q76269 Q9001 Q1425566 Q1430731 Q821984 Q286872 Q221351 Q29863 Q1324587 Q1951782 Q2886464 Q2886452 Q2886466 Q289972 Q2627988 Q4087670 Q4810181 Q1360523 Q1413172 Q10682089 Q666704 Q10540702 Q10438216 Q12700144 Q1837190 Q652505 Q4651418 Q2886488 Q531178 Q10587493 Q3497722 Q1031590 Q10484117 Q1466205 Q4747210 Q2090101 Q667001 Q898928 Q7285421 Q973283 Q2886499 Q10518493 Q269294 Q1323139 Q1710539 Q844281 Q10500698 Q662933 Q18214071 Q1433183 Q528578 Q19356191 Q215327 Q849314 Q1130612 Q1083424 Q2886439 Q477677 Q2763148 Q1431173 Q4357886 Q837270 Q1420053 Q865475 Q1425537 Q2161272 Q1432445 Q7275617 Q1432282 Q478595 Q1432440 Q2386868 Q530071 Q1431809 Q932514 Q3887266 Q4156 Q4347508 Q2667407 Q1655907 Q7928149 Q8049558 Q2886509 Q12700166 Q2886500 Q1338960 Q505572 Q850269 Q2886504 Q2886505 Q504382 Q268457 Q1431971 Q1883124 Q1627015 Q662434 Q1310370 Q627080 Q690894 Q1431740 Q8995 Q3029774 Q598817 Q7275708 Q1432146 Q771340 Q31580 Q7969202 Q3504948 Q1141214 Q4993139 Q1656030 Q4350300 Q1332829 Q61066 Q938047 Q10426742 Q10726517 Q702035 Q2886512 Q254039 Q20987524 Q598197 Q18666272 Q39164 Q6744357 Q1431631 Q1322467 Q210559 Q623452 Q466786 Q466835 Q1126306 Q18214069 Q429304 Q18214087 Q53080 Q7433291 Q2279248 Q1430885 Q2673008 Q10516453 Q630645 Q1657287 Q10516024 Q1432525 Q584102 Q4992232 Q62143 Q3609556 Q9650446 Q502670 Q2985800 Q849366 Q12700153 Q1836709 Q1416280 Q178021 Q1142219 Q278667 Q537950 Q18214060 Q940576 Q18214066 Q18214064 Q2242841 Q1130231 Q186614 Q143224 Q1751264 Q153592 Q19828268 Q1432006 Q319654 Q2672950 Q430490 Q800126 Q6868051 Q1421504 Q20455825 Q2413018 Q3504365 Q263652 Q11295440 Q10711148 Q10430524 Q10542635 Q10697797 Q3314457 Q223416 Q5135044 Q1431349 Q182789 Q1432038 Q739238 Q10531819 Q5398131 Q483223 Q3017076 Q12694367 Q7359257 Q16502674 Q19803527 Q738719 Q1430865 Q2902141 Q2628568 Q5316185 Q18214062 Q1131604 Q635361 Q1061846 Q1836133 Q19826685 Q1431737 Q1411192 Q19406831 Q615917 Q3049018 Q1431549 Q177397 Q17542 Q619825 Q127958 Q973830 Q954725 Q2886483 Q854130 Q729886 Q3914124 Q2886471 Q2886476 Q10658636 Q2886449 Q59633 Q3312807 Q2886478 Q370924 Q10510856 Q1347310 Q285198
(c(Q62447),P137,c(Q43229))
action count
action atmost
action find_tuple_counts
relation P137
type Q62447
type Q43229
value 1
[ANSWER]
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?k ) WHERE { ?n property:P137 ?w . ?w rdf:type ontology:Q43229 . ?n rdf:type ontology:Q62447 } GROUP BY ?n } . FILTER ( ?k <= 1 ) }
Salak Airport Knislinge Airbase Cork Airport RAAF Base Amberley Palma de Mallorca Airport San Pablo Airport Alderney Airport Abruzzo Airport Bamenda Airport Kokkola-Pietarsaari Airport Bantayan Airport Aavahelukka Airfield Berry Airfield Oslo Airport, Fornebu Isle of Man Airport Portland International Airport Adisucipto International Airport Tenerife South Airport Mikkeli Airport Yaoundé Nsimalen International Airport Stockholm Bromma Airport Burgas Airport Aguenar–Hadj Bey Akhamok Airport Luxeuil Air Base Évreux-Fauville Air Base Reims-Champagne Air Base Geneva International Airport Halli Airport Eastern Sierra Regional Airport Kalajoki Airfield Luis Muñoz Marín International Airport Kemi-Tornio Airport Strängnäs-Malmby Airbase Monastir Habib Bourguiba International Airport Jokkmokk Airbase Byholma Airbase Farila Airbase Chabua Air Force Station Detroit Metropolitan Wayne County Airport AFB Makhado Nouméa Air Base Honolulu International Airport Moholm Airbase Sembawang Air Base Mariehamn Airport Eneryda Airbase Trivandrum International Airport Ammassivik Heliport Greater Natal International Airport Faro Airport Douala International Airport Raja Bhoj Airport Kuopio Airport Djibouti Air Base Hasslösa Airbase Saint Helena Airport Rovaniemi Airport Kubbe Airbase Gothenburg City Airport Fällfors Airbase Enontekiö Airport Nancy-Essey Air Base Vardø Airport, Svartnes Van Nuys Airport Abu al-Duhur Military Airbase Helsinki Airport Alicante Airport Gran Canaria Airport Incirlik Air Base Toulouse-Francazal Air Base Boryspil International Airport Lakselv Airport, Banak Dabolim Airport Ahmosuo Airfield Raadi Airfield RAF Brize Norton Santos Dumont Airport Djerba–Zarzis International Airport Garoua International Airport Pori Airport RAF Syerston Pajala Airport Tan Son Nhat International Airport Port Columbus International Airport Avord Air Base Kuusamo Airport Butzweilerhof Tenerife North Airport Bundaberg Airport Dong Hoi Airport Ylivieska Airfield Stornoway Airport Dr. Luis María Argaña International Airport Vidsel Air Base Yarrawonga Airport Rochefort Air Base Kosta Airbase Cayenne Air Base Orléans Air Base Coimbatore Airport Ivalo Airport Tours Air Base Ambérieu-en-Bugey Air Base Adnan Menderes Airport Sodankylä Airfield Luleå Airport Shek Kong Airfield Lubbock Preston Smith International Airport Helsinki-Malmi Airport Varkaus Airport Dombarovsky Málaga Airport Kiruna Airport Guernsey Airport Aappilattoq Heliport Bob Hope Airport RAF Wyton Nashville International Airport William P. Hobby Airport Faisalabad International Airport Wards Airfield Paya Lebar Air Base Tunis–Carthage International Airport Qasigiannguit Heliport Ben Guerir Air Base Pudasjärvi Airfield Soewondo Air Force Base Tribhuvan International Airport Ämari Air Base Airbase 90 Åmsele Airbase Tainan Airport Salon-de-Provence Air Base Lappeenranta Airport Baranovichi Airbase Bilbao Airport Ngerengere Air Force Base Bodø Airport Malmen Airbase Juanda International Airport Vaasa Airport Oslo Airport Houari Boumediene Airport Newark Liberty International Airport Washington Dulles International Airport Tampere-Pirkkala Airport Aix-Les-Milles Air Base Marrakesh Menara Airport Fort Lamy Air Base Piedras Negras International Airport Schwimmer Airfield Ngaoundéré Airport Atlantic City International Airport Lokpriya Gopinath Bordoloi International Airport Hallviken Airport Falcone–Borsellino Airport Bellingham International Airport Hagshult Airbase Pune Airport Shannon Airport Qeqertarsuaq Heliport Göviken Heliport Kymi Airfield Anápolis Airbase Chennai International Airport Gilgit Airport Smolensk North Airport Heden Airbase Chalgrove Airfield Agadir–Al Massira Airport Dublin Airport Jorge Chávez International Airport Rajiv Gandhi International Airport General Mitchell International Airport Châteauroux Air Base Thule Air Base Lyon-Bron Air Base Tours Air Base Tengah Air Base Turku Airport Domodedovo International Airport Jyväskylä Airport RAAF Base Townsville King Abdulaziz International Airport Joint Base Langley–Eustis Sultan Hasanuddin International Airport LaGuardia Airport Jizan Regional Airport Esenboğa International Airport Bagram Airfield Minneapolis–Saint Paul Joint Air Reserve Station Pittsburgh International Airport Manises Airport Tromsø Airport Kumlinge Airfield Sultan Aji Muhammad Sulaiman Airport Akunnaaq Heliport Uråsa Airbase Björka proving grounds Kalixfors Airbase Tierp Airbase Altamira Airport Orly Airport Narsarsuaq Air Base Fuerteventura Airport Vadsø Airport Metz-Nancy-Lorraine Airport Kajaani Airport Hässleholm Airfield Eskilstuna Airport Gimhae International Airport Naval Air Station Jacksonville Pathankot AB Airport Rogers Airfield Björkvik Airbase Cricklewood Aerodrome Paris–Le Bourget Airport Lanzarote Airport Balalae Airport Kauhava Airfield Durand Airfield Romilly Air Base Oulu Airport Fort Lauderdale–Hollywood International Airport Ngurah Rai International Airport Changi Air Base Lille-Wambrechies Air Base Kirkenes Airport, Høybuktmoen Julius Nyerere International Airport Niamey Air Base Gällivare Airport Nerlerit Inaat Airport Ibiza Airport Area 51 Dubbo City Airport Bertoua Airport Thessaloniki International Airport Cazaux Air Base Savonlinna Airport La Réunion Air Detachment Cape Town International Airport Trondheim Airport Hailuoto Airfield Istres Air Base Solenzara Air Base Råda Airbase Creil Air Base Svalbard Airport São José dos Campos Airport Nancy Air Base Joensuu Airport Gunnarn Airbase Kittilä Airport RAF Lakenheath
254
action count
action atmost
action find_tuple_counts
relation operator
type aerodrome
type organization
value 1
[{'concept': 'aerodrome'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?k ) WHERE { ?n property:operator ?w . ?w rdf:type ontology:organization . ?n rdf:type ontology:aerodrome } GROUP BY ?n } . FILTER ( ?k <= 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q953
P495
Q15617994 Q7725634 Q838948
USER
Which administrative territories are the countries of origin of approximately the same number of literary works or works of art as Zambia ?
(c(Q7725634)|c(Q838948),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q953
relation P495
type Q7725634
type Q838948
[[{'concept': 'Q7725634'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?a = ?k ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f property:P495 resource:Q953 . { VALUES ( ?q ) { ( ontology:Q7725634 ) ( ontology:Q838948 ) } . ?f rdf:type ?q } } } . { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?a ) WHERE { ?n rdf:type ?m . VALUES ( ?m ) { ( ontology:Q838948 ) ( ontology:Q7725634 ) } } GROUP BY ?j } }
Zambia
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
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 Zambia
relation country of origin
type literary work
type work of art
[[{'concept': 'literary work'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?a = ?k ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f property:country_of_origin resource:Zambia . { VALUES ( ?q ) { ( ontology:literary_work ) ( ontology:work_of_art ) } . ?f rdf:type ?q } } } . { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?a ) WHERE { ?n rdf:type ?m . VALUES ( ?m ) { ( ontology:work_of_art ) ( ontology:literary_work ) } } GROUP BY ?j } }
[]
designation for an administrative territorial entity literary work 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(Q7725634)|c(Q838948),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q953
relation P495
type Q7725634
type Q838948
[ANSWERS] are the countries of origin of approximately the same number of literary works or works of art as Zambia
[[{'concept': 'Q7725634'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?a = ?k ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f property:P495 resource:Q953 . { VALUES ( ?q ) { ( ontology:Q7725634 ) ( ontology:Q838948 ) } . ?f rdf:type ?q } } } . { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?a ) WHERE { ?n rdf:type ?m . VALUES ( ?m ) { ( ontology:Q838948 ) ( ontology:Q7725634 ) } } GROUP BY ?j } }
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 countries of origin of approximately the same number of literary works or works of art as 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 literary work
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 Zambia
relation country of origin
type literary work
type work of art
[[{'concept': 'literary work'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?a = ?k ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f property:country_of_origin resource:Zambia . { VALUES ( ?q ) { ( ontology:literary_work ) ( ontology:work_of_art ) } . ?f rdf:type ?q } } } . { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?a ) WHERE { ?n rdf:type ?m . VALUES ( ?m ) { ( ontology:work_of_art ) ( ontology:literary_work ) } } GROUP BY ?j } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4439879
P530
Q1048835
USER
Do Staryky have diplomatic relations with those administrative territories ?
(Q4439879,P530,Q155) (Q4439879,P530,Q230) (Q4439879,P530,Q159)
action is_in
entity prev_answer
action find
entity Q4439879
relation P530
['Q4439879', 'P530', 'Q155'] ['Q4439879', 'P530', 'Q230'] ['Q4439879', 'P530', 'Q159']
ASK WHERE { resource:Q4439879 property:P530 ?h . VALUES ( ?h ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } }
Staryky
action is_in
entity prev_answer
action find
entity Staryky
relation diplomatic relation
['Staryky', 'diplomatic relation', 'Brazil'] ['Staryky', 'diplomatic relation', 'Georgia'] ['Staryky', 'diplomatic relation', 'Russia']
ASK WHERE { resource:Staryky property:diplomatic_relation ?h . VALUES ( ?h ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } }
[]
political territorial entity
SYSTEM
NO
(Q4439879,P530,Q155) (Q4439879,P530,Q230) (Q4439879,P530,Q159)
action is_in
entity prev_answer
action find
entity Q4439879
relation P530
[ANSWER]
['Q4439879', 'P530', 'Q155'] ['Q4439879', 'P530', 'Q230'] ['Q4439879', 'P530', 'Q159']
ASK WHERE { resource:Q4439879 property:P530 ?h . VALUES ( ?h ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } }
No
action is_in
entity prev_answer
action find
entity Staryky
relation diplomatic relation
['Staryky', 'diplomatic relation', 'Brazil'] ['Staryky', 'diplomatic relation', 'Georgia'] ['Staryky', 'diplomatic relation', 'Russia']
ASK WHERE { resource:Staryky property:diplomatic_relation ?h . VALUES ( ?h ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q230 Q739 Q571444
P530
Q15617994
USER
Does Georgia have diplomatic relations with Colombia and Prisdorf ?
(Q230,P530,Q739) (Q230,P530,Q571444)
action is_in
entity Q230
action intersection
action find_reverse
entity Q739
relation P530
action find_reverse
entity Q571444
relation P530
['Q230', 'P530', 'Q739'] ['Q230', 'P530', 'Q571444']
ASK WHERE { resource:Q230 property:P530 resource:Q739 . resource:Q230 property:P530 resource:Q571444 }
Georgia Colombia Prisdorf
action is_in
entity Georgia
action intersection
action find_reverse
entity Colombia
relation diplomatic relation
action find_reverse
entity Prisdorf
relation diplomatic relation
['Georgia', 'diplomatic relation', 'Colombia'] ['Georgia', 'diplomatic relation', 'Prisdorf']
ASK WHERE { resource:Georgia property:diplomatic_relation resource:Colombia . resource:Georgia property:diplomatic_relation resource:Prisdorf }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q230,P530,Q739) (Q230,P530,Q571444)
action is_in
entity Q230
action intersection
action find_reverse
entity Q739
relation P530
action find_reverse
entity Q571444
relation P530
[ANSWER]
['Q230', 'P530', 'Q739'] ['Q230', 'P530', 'Q571444']
ASK WHERE { resource:Q230 property:P530 resource:Q739 . resource:Q230 property:P530 resource:Q571444 }
YES and NO respectively
action is_in
entity Georgia
action intersection
action find_reverse
entity Colombia
relation diplomatic relation
action find_reverse
entity Prisdorf
relation diplomatic relation
['Georgia', 'diplomatic relation', 'Colombia'] ['Georgia', 'diplomatic relation', 'Prisdorf']
ASK WHERE { resource:Georgia property:diplomatic_relation resource:Colombia . resource:Georgia property:diplomatic_relation resource:Prisdorf }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q811
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with approximately the same number of administrative territories as Nicaragua ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q811
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Q811 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?o = ?q ) }
Nicaragua
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Nicaragua
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Nicaragua property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o = ?q ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 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 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q811
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with approximately the same number of administrative territories as Nicaragua
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Q811 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?o = ?q ) }
Federated States of Micronesia Panama Costa Rica Peru Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal 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 Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein 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 Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
Georgia, Netherlands and Poland have diplomatic relationships with approximately the same number of administrative territories as Nicaragua
Georgia Netherlands Poland
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Nicaragua
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Nicaragua property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o = ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q702
P530
Q15617994 Q15617994
USER
And also tell me about Federated States of Micronesia?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q702
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?g ) WHERE { ?f rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 . ?n property:P530 ?f } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:Q702 property:P530 ?c . ?c rdf:type ontology:Q15617994 } } . FILTER ( ?g = ?b ) }
Federated States of Micronesia
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Federated States of Micronesia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?g ) WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n property:diplomatic_relation ?f } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:Federated_States_of_Micronesia property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g = ?b ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 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 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q702
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?g ) WHERE { ?f rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 . ?n property:P530 ?f } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:Q702 property:P530 ?c . ?c rdf:type ontology:Q15617994 } } . FILTER ( ?g = ?b ) }
Federated States of Micronesia Panama Costa Rica Peru Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal 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 Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein 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 Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
Georgia Netherlands Poland
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Federated States of Micronesia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?g ) WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n property:diplomatic_relation ?f } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:Federated_States_of_Micronesia property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g = ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q769
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic associations with greater number of administrative territories than Grenada ?
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q769
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?e ) WHERE { ?j property:P530 ?a . ?j rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Q769 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?e > ?o ) }
Grenada
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Grenada
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?e ) WHERE { ?j property:diplomatic_relation ?a . ?j rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Grenada property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e > ?o ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
7
Q40 Q183 Q408 Q35 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q769
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?e ) WHERE { ?j property:P530 ?a . ?j rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Q769 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?e > ?o ) }
Austria Germany Australia Denmark Canada New Zealand Jamaica
7
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Grenada
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?e ) WHERE { ?j property:diplomatic_relation ?a . ?j rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Grenada property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e > ?o ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P740
Q502895
USER
Which person originated at Brazil ?
(c(Q502895),P740,Q155)
action filter_type
action find_reverse
entity Q155
relation P740
type Q502895
[{'concept': 'Q502895'}, 'P740', 'Q155']
SELECT DISTINCT ?l WHERE { ?l property:P740 resource:Q155 . ?l rdf:type ontology:Q502895 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation location of formation
type common name
[{'concept': 'common name'}, 'location of formation', 'Brazil']
SELECT DISTINCT ?l WHERE { ?l property:location_of_formation resource:Brazil . ?l rdf:type ontology:common_name }
[]
common name
Q1295291
SYSTEM
Kristen Bjorn
Q1295291
(c(Q502895),P740,Q155)
action filter_type
action find_reverse
entity Q155
relation P740
type Q502895
[ANSWER] originated at Brazil
[{'concept': 'Q502895'}, 'P740', 'Q155']
SELECT DISTINCT ?l WHERE { ?l property:P740 resource:Q155 . ?l rdf:type ontology:Q502895 }
Kristen Bjorn
Kristen Bjorn originated at Brazil
Kristen Bjorn
action filter_type
action find_reverse
entity Brazil
relation location of formation
type common name
[{'concept': 'common name'}, 'location of formation', 'Brazil']
SELECT DISTINCT ?l WHERE { ?l property:location_of_formation resource:Brazil . ?l rdf:type ontology:common_name }
[]