Simple Question (Direct)
Simple Question
Q1689197
P641
Q349
USER
Which sport was Petar Filipović a part of ?
(Q1689197,P641,c(Q349))
action filter_type
action find
entity Q1689197
relation P641
type Q349
['Q1689197', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q1689197 property:P641 ?c . ?c rdf:type ontology:Q349 }
Petar Filipović
action filter_type
action find
entity Petar Filipović
relation sport
type sport
['Petar Filipović', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Petar_Filipović property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1689197,P641,c(Q349))
action filter_type
action find
entity Q1689197
relation P641
type Q349
The [ANSWER] was Petar Filipović a part of
['Q1689197', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q1689197 property:P641 ?c . ?c rdf:type ontology:Q349 }
association football
The association football was Petar Filipović a part of
association football
action filter_type
action find
entity Petar Filipović
relation sport
type sport
['Petar Filipović', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Petar_Filipović property:sport ?c . ?c rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1689197
P19
Q486972
USER
Which human settlement was Petar Filipović born at ?
(Q1689197,P19,c(Q486972))
action filter_type
action find
entity Q1689197
relation P19
type Q486972
['Q1689197', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?p WHERE { resource:Q1689197 property:P19 ?p . ?p rdf:type ontology:Q486972 }
Petar Filipović
action filter_type
action find
entity Petar Filipović
relation place of birth
type human settlement
['Petar Filipović', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?p WHERE { resource:Petar_Filipović property:place_of_birth ?p . ?p rdf:type ontology:human_settlement }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q1689197,P19,c(Q486972))
action filter_type
action find
entity Q1689197
relation P19
type Q486972
Petar Filipović was born in [ANSWER]
['Q1689197', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?p WHERE { resource:Q1689197 property:P19 ?p . ?p rdf:type ontology:Q486972 }
Hamburg
Petar Filipović was born in Hamburg
Hamburg
action filter_type
action find
entity Petar Filipović
relation place of birth
type human settlement
['Petar Filipović', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?p WHERE { resource:Petar_Filipović property:place_of_birth ?p . ?p rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1689197
P21
Q290
USER
Which sex does Petar Filipović belong to ?
(Q1689197,P21,c(Q290))
action filter_type
action find
entity Q1689197
relation P21
type Q290
['Q1689197', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q1689197 property:P21 ?l . ?l rdf:type ontology:Q290 }
Petar Filipović
action filter_type
action find
entity Petar Filipović
relation gender
type sex
['Petar Filipović', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Petar_Filipović property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1689197,P21,c(Q290))
action filter_type
action find
entity Q1689197
relation P21
type Q290
Petar Filipović belongs to [ANSWER]
['Q1689197', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q1689197 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
Petar Filipović belongs to male
male
action filter_type
action find
entity Petar Filipović
relation gender
type sex
['Petar Filipović', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Petar_Filipović property:gender ?l . ?l rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q733799
P1376
Q7275 Q486972
USER
Which states have approximately the same number of human settlements as their capital as Kingdom of the Hwicce ?
(c(Q486972),P1376,c(Q7275))
action approx
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action count
action filter_type
action find
entity Q733799
relation P1376
type Q7275
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?p ) WHERE { ?b property:P1376 ?l . ?l rdf:type ontology:Q7275 . ?b rdf:type ontology:Q486972 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Q733799 property:P1376 ?i . ?i rdf:type ontology:Q7275 } } . FILTER ( ?p = ?a ) }
Kingdom of the Hwicce
action approx
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action count
action filter_type
action find
entity Kingdom of the Hwicce
relation capital of
type state
[{'concept': 'human settlement'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?p ) WHERE { ?b property:capital_of ?l . ?l rdf:type ontology:state . ?b rdf:type ontology:human_settlement } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Kingdom_of_the_Hwicce property:capital_of ?i . ?i rdf:type ontology:state } } . FILTER ( ?p = ?a ) }
[]
state human settlement
Q33946 Q15180 Q980
SYSTEM
Czechoslovakia, Soviet Union, Bavaria
Q230791 Q1193822 Q178665 Q46652 Q7559152 Q568523 Q18285930 Q788071 Q207162 Q572222 Q1275158 Q3456417 Q152855 Q174193 Q855044 Q466581 Q110888 Q1471995 Q1295806 Q975405 Q1688151 Q457167 Q1483643 Q827040 Q797527 Q190513 Q889374 Q2308237 Q486181 Q775550 Q210198 Q31454 Q834486 Q2006542 Q186096 Q133356 Q215530 Q912043 Q501684 Q164079 Q588672 Q2564694 Q62623 Q171150 Q282475 Q1789596 Q184536 Q203493 Q523380 Q980 Q1574107 Q746443 Q252580 Q3446210 Q317078 Q332005 Q874954 Q172579 Q867782 Q798431 Q1269910 Q188553 Q536476 Q877875 Q1068408 Q1150344 Q330362 Q8146595 Q267584 Q310293 Q15864 Q1362278 Q1269234 Q1067513 Q402145 Q255931 Q2342822 Q863279 Q1468426 Q71092 Q3177715 Q15180 Q800236 Q698089 Q83821 Q27260 Q249578 Q16410 Q215643 Q212278 Q210542 Q223936 Q8735 Q13107370 Q8733 Q156038 Q7405 Q761370 Q2114397 Q208404 Q467627 Q1796239 Q321371 Q1152445 Q220110 Q2670639 Q2412900 Q1414395 Q756895 Q190025 Q229411 Q49697 Q153660 Q1771831 Q1069905 Q105313 Q44642 Q6500954 Q38872 Q107299 Q546282 Q274488 Q11876909 Q541455 Q646374 Q241748 Q577867 Q210163 Q842931 Q858841 Q476757 Q1274468 Q427703 Q2301372 Q216632 Q202687 Q207272 Q889394 Q151148 Q1796198 Q2419932 Q234197 Q2668600 Q273025 Q149747 Q27306 Q1123960 Q617218 Q1132786 Q167360 Q1186434 Q954585 Q150069 Q1811029 Q551375 Q762943 Q1998866 Q106577 Q146246 Q1108445 Q153080 Q473433 Q651377 Q161885 Q526507 Q191077 Q468814 Q174306 Q1617495 Q1194765 Q1154540 Q157367 Q28322 Q760893 Q1539360 Q2305208 Q550374 Q1152126 Q652560 Q1639475 Q1636212 Q503623 Q124943 Q1311219 Q19831559 Q1048918 Q12548 Q25227 Q870517 Q19901436 Q623751 Q726798 Q736936 Q783489 Q2444884 Q28428 Q1479952 Q303421 Q449639 Q1143524 Q2086556 Q26988 Q16949002 Q618399 Q180573 Q1923401 Q42585 Q170468 Q600018 Q323904 Q1117051 Q1135255 Q1477220 Q624887 Q269864 Q199841 Q335088 Q325461 Q583038 Q199442 Q860407 Q13706 Q146761 Q200262 Q1296908 Q156020 Q431575 Q769782 Q216786 Q497777 Q878319 Q7251405 Q582861 Q206411 Q179293 Q26472 Q158725 Q139315 Q26273 Q139319 Q832554 Q870055 Q3271735 Q160440 Q752662 Q1668970 Q320930 Q211853 Q213638 Q2340665 Q1538311 Q2657134 Q2414171 Q218023 Q2162698 Q1077630 Q849623 Q1149230 Q324470 Q551067 Q2264735 Q28511 Q796583 Q139670 Q1136259 Q1138904 Q28456 Q1183649 Q209065 Q21203 Q10988528 Q631210 Q402580 Q7352 Q2086608 Q733799 Q9903 Q178913 Q131964 Q83274 Q62589 Q83572 Q4948 Q836169 Q234009 Q28208 Q903779 Q941881 Q55502 Q1319681 Q713750 Q2552742 Q220167 Q1115291 Q147909 Q319881 Q1709185 Q894030 Q38060 Q37024 Q62519 Q668294 Q83286 Q210036 Q3755547 Q1255614 Q76048 Q914898 Q844250 Q181254 Q738144 Q207521 Q2396442 Q1658411 Q28025 Q142417 Q11704201 Q2428714 Q49326 Q1406298 Q14934927 Q1057118 Q157734 Q2088324 Q11909456 Q580188 Q1415585 Q170174 Q699871 Q175276 Q177076 Q7318 Q844910 Q146328 Q248452 Q552157 Q1508143 Q170770 Q30623 Q940821 Q248572 Q697084 Q225890 Q5157575 Q213586 Q3456373 Q217196 Q16624774 Q154195 Q266923 Q173082 Q285658 Q150061 Q170588 Q165154 Q11196 Q842091 Q70972 Q187684 Q1143164 Q1324889 Q146713 Q1164500 Q427941 Q161036 Q2314907 Q2184 Q697837 Q774783 Q994451 Q105092 Q3185305 Q178038 Q1148907 Q179876 Q206279 Q1469100 Q25279 Q1078602 Q48685 Q2378381 Q747314 Q320925 Q202775 Q1471373 Q374521 Q491507 Q1044536 Q1333032 Q940741 Q289577 Q2593459 Q150058 Q571453 Q4461035 Q33946 Q762084 Q271570 Q307069 Q28278 Q2579852 Q107380 Q206696 Q544630 Q180114 Q431731 Q36704 Q62454 Q112558 Q1198071 Q889884 Q698239 Q1142179 Q1192067 Q4453003 Q2372248 Q4453007 Q829356 Q1062422 Q764697 Q853477 Q505503 Q169705 Q212439 Q1751495 Q738264 Q153015 Q846670 Q386496 Q696241 Q696242 Q152420 Q11774 Q4843701 Q422065 Q1479726 Q467864 Q76236 Q209857 Q2712121 Q212056 Q13426199 Q964024 Q877155 Q777981 Q2365048 Q4274522 Q154853 Q1148042 Q770776 Q230407 Q1549254 Q49683 Q7314513 Q75613 Q1192936 Q2109946 Q71747 Q676184 Q128938 Q837136 Q3041595 Q146597 Q1072362 Q484104 Q680997 Q93180 Q28573 Q949268 Q1986139 Q151536 Q188586 Q211274 Q61292 Q6412664 Q671899 Q7314469 Q80211 Q12490507 Q862304 Q1029847 Q6415938 Q5148517 Q41304 Q648297 Q149805
(c(Q486972),P1376,c(Q7275))
action approx
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action count
action filter_type
action find
entity Q733799
relation P1376
type Q7275
[ANSWERS] have approximately the same number of human settlements as their capital as Kingdom of the Hwicce
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?p ) WHERE { ?b property:P1376 ?l . ?l rdf:type ontology:Q7275 . ?b rdf:type ontology:Q486972 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Q733799 property:P1376 ?i . ?i rdf:type ontology:Q7275 } } . FILTER ( ?p = ?a ) }
Kingdom of Scotland Wuyue Mitanni Malacca sultanate Somali Republic Nobatia German Empire of 1848/1849 Talysh-Mughan Autonomous Republic Bourbon Restoration County of Horne Elymais Republic of Saint-Malo Kingdom of Tungning United Kingdom of Great Britain and Ireland Bhopal State Hoysala Empire Kingdom of Essex Former Qin Lower Yafa Sultanate of Rum Kingdom of Thomond West Ukrainian People's Republic Nakhon Si Thammarat Kingdom Nanyue British Togoland Khanate of Sibir Warsangali Sultanate Ahom kingdom Samanid dynasty Adamawa Emirate Erivan Khanate Kingdom of Libya Federation of South Arabia Dominion of Pakistan Tsardom of Russia Ukrainian Soviet Socialist Republic Kingdom of Ireland Jin Kingdom of Gomma Kingdom of Hanover Hammadid dynasty Powys Fadog Kalmar Union Kingdom of Hungary Kingdom of Kartli-Kakheti Croatia in personal union with Hungary Mali Empire Kingdom of Romania Republic of Central Lithuania Bavaria Han Zhao Golden Ambrosian Republic Duchy of Modena and Reggio Kingdom of Pamplona Pskov Republic Principality of Achaea Principality of Theodoro Kingdom of Italy Kingdom of Funan Republic of Dahomey Republic of Madawaska Batavian Republic Toucouleur Empire Palmyrene Empire Kuru Kingdom Johor Sultanate Commonwealth of England Upingtonia Yemen Arab Republic Saar Protectorate United Kingdom of the Netherlands United States of Stellaland Stellaland Injuids Mataram Sultanate Hariphunchai West Pakistan Sukhothai Kingdom Limmu-Ennarea Second French Empire Pagaruyung Kingdom Soviet Union Bahawalpur State Grand Duchy of Würzburg Bijapur Sultanate Samma dynasty Ghaznavid Empire People's Republic of Hungary Indo-Greek Kingdom Kingdom of Holland Second Brazilian Republic Kingdom of Italy Medes Principality of Serbia Qing dynasty Duchy of Courland and Semigallia Sui dynasty Aro Confederacy Yogyakarta Sultanate Kingdom of Armenia Durrani Empire Kingdom of Seville Bosporan Kingdom Aerican Empire Rohan Powys Wenwynwyn Republic of Salé Republic of South Maluku Kediri Federal Republic of Central America Delhi Sultanate Liu Song dynasty Italian Social Republic Kruševo Republic Cheng Han Kingdom of Wessex Federation of Arab Republics Zaire Prussia Kingdom of Northumbria Xia Eastern Wu State of Brazil Anglo-Egyptian Sudan French India Kingdom of Serbia Kingdom of Poland Astrakhan Khanate East Pakistan Kingdom of Croatia Democratic Republic of Afghanistan Republic of Bosnia and Herzegovina Free State of Schaumburg-Lippe Kingdom of Toledo Mali Federation Songhai Empire Second Polish Republic Portuguese Mozambique Chola dynasty Kingdom of Córdoba Kingdom of Redonda Srivijaya Taifa of Niebla Gallic Empire Adiabene Kingdom of Prussia Conch Republic Yamhad Ouaddai Empire First Portuguese Republic Muang Phuan Kingdom of Brycheiniog United Suvadive Republic Finnish Socialist Workers' Republic Grand Duchy of Westarctica County of Holland Czech and Slovak Federal Republic Neustria Francia Kievan Rus' East Francia Ammon Shunga Empire Kingdom of Great Britain Later Shu Kingdom of Yugoslavia Dahomey Republic of Genoa Kingdom of Jaén Kamarupa Later Jin Dynasty Brandenburg-Prussia Balhae Jolof Empire Northern Liang Soviet Russia South African Republic People's Republic of the Congo West Indies Federation Mountainous Republic of the Northern Caucasus Karabakh Khanate Gold Coast Kingdom of Egypt Jaffna kingdom Oldenburg Suebic Kingdom of Galicia Holy Roman Empire Netherlands Antilles Odrysian kingdom Suriname Kingdom of Bernicia Tulunids Lu Later Liang dynasty Tibet Baekje Kadamba Dynasty Kingdom of Galicia Alodia Northern Qi Kakatiya dynasty Cook Islands Lordship of Brecknock Republic of the Congo South Vietnam Zunghar Khanate Kingdom of Bohemia United Arab Republic Kingdom of Hungary Portuguese India Kingdom of Illyria Chinese Soviet Republic Somali Democratic Republic Neo-Babylonian Empire Socialist Republic of Serbia South Yemen Armenian Kingdom of Cilicia Kingdom of Thessalonica Ostrogothic Kingdom Kingdom of Aragon Kahlur State Principality of Sealand Hatay State Kingdom of Navarre Kathiri State of the Teutonic Order Idrisid dynasty Kingdom of Powys Champa First Spanish Republic Serbian Despotate Protectorate of Peru Marinid dynasty Democratic Republic of Azerbaijan Kingdom of Castile Kingdom of Dali Tanganyika Territory Dʿmt Sint Maarten Russian Republic Argentine Confederation Kingdom of Laos Kingdom of Arles Crimean Khanate Hafsid dynasty Western Qin Cao Wei Republic of Serbian Krajina Kingdom of Cyprus Basutoland Travancore-Cochin Kingdom of Albania First Brazilian Republic Orange Free State Duchy of Bohemia Septinsular Republic Oyo Empire Western Yan Kara Koyunlu Northern Zhou Arthedain Buyeo kingdom Kingdom of Kongo Democratic Republic of Armenia Southwestern Somalia Kingdom of Afghanistan Silla Deccan sultanates Kingdom of Greece Aruba Second East Turkestan Republic Nogai Horde Medang Kingdom Jin dynasty Western Satraps Kingdom of the Hwicce Ming imperium empire of Trebizond Austrian Empire Hatay Union between Sweden and Norway Sikh Empire Republic of Venice Qasim Khanate Magadha Goryeo United Kingdom of Portugal, Brazil and the Algarves Netherlands New Guinea Kingdom of Jerusalem Qi West Germany Northland State Lydenburg Republic Thonburi Kingdom Kingdom of Bulgaria Republic of Taiwan Kingdom of Spain under Joseph Bonaparte Bornu Empire Gaul Serbia and Montenegro Finnish Democratic Republic Kamerun Socialist Federal Republic of Yugoslavia Chechen Republic of Ichkeria Kingdom of Italy Indo-Parthian Kingdom Congo Free State Kingdom of Khotan Lordship of Ireland Empire of Nicea United Provinces of the Río de la Plata Abyssinia Kingdom of Galicia and Lodomeria Kingdom of Sarawak Ryukyu Kingdom Kingdom of Valencia Taifa of Arjona Sena dynasty Majapahit Serbian Empire Murrawarri Republic Chenla Kingdom Muscat and Oman Colonial Brazil Bit Agusi Mutawakkilite Kingdom of Yemen Islamic State of Afghanistan Papal States Taebong Kingdom of León Caucasian Albania Nazi Germany Pandyan Dynasty Commonwealth of the Philippines British North America Nieuwe Republiek Ukrainian State Grand Duchy of Moscow Manchukuo People's Democratic Republic of Ethiopia Sultanate of Maguindanao Duchy of Oldenburg Kingdom of Strathclyde Griqualand East Gondor Republic of Brescia Crown of Castile Kingdom of Nicoya Kingdom of Bavaria Kingdom of Mysore Dacia First Mexican Empire Republic of Ararat Republic of Texas Kingdom of Sardinia Republika Srpska Duchy of Normandy Kingdom of France Despotate of Epirus Western Wei Germiyanids Arab Federation Kingdom of Murcia Islamic Emirate of Afghanistan Free State of Prussia Later Zhao Russian Soviet Federative Socialist Republic Mengjiang Sovereign Principality of the United Netherlands Western Liang Kingdom of Mercia Kingdom of Israel Second Spanish Republic State of Katanga Kingdom of England Waalo Karamanids Curaçao Kingdom of Nepal Judah State of Aden Bechuanaland Protectorate Shu Han Qu'aiti Saloum Bahmani Sultanate Egypt Eyalet Spain under the Restoration Elmet Republic of Hungary Himyarite Kingdom Provisional Government of Hawaii Travancore Former Shu Akkadian empire Czechoslovakia Bamana Empire Kingdom of Araucanía and Patagonia Eastern Wei Provisional Government of the Republic of Korea Taurida Soviet Socialist Republic History of Lippe Helvetic Republic Republic of Maryland Ayyubid dynasty Tanganyika Yugoslavia Chen dynasty Republic of Saugeais Southern Han Kingdom of Rwanda Hubaekje Orange River Colony Min Tashkent State Free State of Oldenburg Tashkent Khanate Kingdom of Makuria Konbaung Dynasty Taifa of Orihuela Lan Xang Cochinchina Xia dynasty Cossack Hetmanate Slovak Socialist Republic Los Altos, Central America Kingdom of Saxony Danishmends Kingdom of Montenegro Khanate of Kokand Reorganized National Government of China Guelders Gupta Empire Libyan Arab Jamahiriya Sultanate of Sulu Federation of Malaya People's Socialist Republic of Albania Lithuanian–Belorussian Soviet Socialist Republic Kingdom of Lombardy–Venetia Republic of Connaught Mongolian People's Republic Republic of China Moldavian Democratic Republic Chera Dynasty Duchy of the Archipelago Adal Sultanate Tyrconnell Diauehi Qutb Shahi dynasty Dutch Gold Coast Kingdom of Israel Principality of Seborga Grand Duchy of Lithuania Republic of South Carolina Almoravid dynasty Kingdom of Burundi Principality of Galilee Duchy of Brittany Kingdom of Sussex Shang dynasty Kingdom of Deheubarth Republic of Iraq Zand dynasty Provisional Revolutionary Government of the Republic of South Vietnam United States Army Military Government in Korea Principality of Lower Pannonia Seleucid Empire Inca Nanda Empire Parthian Empire Novgorod Republic Kingdom of Sicily People's Republic of Poland Far Eastern Republic Realm of Stefan Dragutin Duchy of Teschen Republic of Georgia Lithuanian Soviet Socialist Republic Rashidun Caliphate Kara-Khitan Khanate Natalia Republic Emirate of Dhala Colony and Protectorate of Nigeria Weimar Republic Free State of Brunswick Kingdom of Iraq
Czechoslovakia, Soviet Union and Bavaria have approximately the same number of human settlements as their capital as Kingdom of the Hwicce
Czechoslovakia Soviet Union Bavaria
action approx
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action count
action filter_type
action find
entity Kingdom of the Hwicce
relation capital of
type state
[{'concept': 'human settlement'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?p ) WHERE { ?b property:capital_of ?l . ?l rdf:type ontology:state . ?b rdf:type ontology:human_settlement } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Kingdom_of_the_Hwicce property:capital_of ?i . ?i rdf:type ontology:state } } . FILTER ( ?p = ?a ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q5372 Q2736
P641
Q502895
USER
Which people are associated with playing association football and basketball ?
AND((c(Q502895),P641,Q2736), (c(Q502895),P641,Q5372))
action filter_type
action intersection
action find_reverse
entity Q2736
relation P641
action find_reverse
entity Q5372
relation P641
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P641', 'Q2736'], [{'concept': 'Q502895'}, 'P641', 'Q5372']]}
SELECT DISTINCT ?l WHERE { ?l property:P641 resource:Q2736 . ?l property:P641 resource:Q5372 . ?l rdf:type ontology:Q502895 }
basketball association football
action filter_type
action intersection
action find_reverse
entity association football
relation sport
action find_reverse
entity basketball
relation sport
type common name
{'AND': [[{'concept': 'common name'}, 'sport', 'association football'], [{'concept': 'common name'}, 'sport', 'basketball']]}
SELECT DISTINCT ?l WHERE { ?l property:sport resource:association_football . ?l property:sport resource:basketball . ?l rdf:type ontology:common_name }
[]
common name
Q1467424 Q2565532 Q956917 Q1365204 Q733490 Q3707229 Q716480 Q2455369 Q198027 Q3660015
SYSTEM
Some of them are José Agosto, Alex Garcia, Guilherme Giovannoni, Marcus Thornton, Vasilis Konstantinou, Diego Pinheiro, Marcelinho Huertas, Rafael Araújo, Vítor Benite, Olivinha
Q716480 Q733490 Q1653116 Q6370536 Q956917 Q975550 Q331223 Q2565532 Q3808717 Q1365204 Q3707229 Q2607044 Q2455369 Q1760441 Q3660015 Q58335 Q3810734 Q198027 Q3809957 Q1467424
AND((c(Q502895),P641,Q2736), (c(Q502895),P641,Q5372))
action filter_type
action intersection
action find_reverse
entity Q2736
relation P641
action find_reverse
entity Q5372
relation P641
type Q502895
[ANSWERS] are associated with playing association football and basketball
{'AND': [[{'concept': 'Q502895'}, 'P641', 'Q2736'], [{'concept': 'Q502895'}, 'P641', 'Q5372']]}
SELECT DISTINCT ?l WHERE { ?l property:P641 resource:Q2736 . ?l property:P641 resource:Q5372 . ?l rdf:type ontology:Q502895 }
Marcelinho Huertas Vasilis Konstantinou Marcus Vinicius Urban Toledo dos Reis Karim Abdul Guilherme Giovannoni Jamison Brewer Apostolos Nikolaidis Alex Garcia Joe Troy Smith Marcus Thornton Diego Pinheiro Marcus Vinicius de Souza Rafael Araújo Andre Bambú Quirino Olivinha Leandro Barbosa João Vianna Vítor Benite Jonathan Tavernari José Agosto
José Agosto, Alex Garcia, Guilherme Giovannoni, Marcus Thornton, Vasilis Konstantinou, Diego Pinheiro, Marcelinho Huertas, Rafael Araújo, Vítor Benite and Olivinha are associated with playing association football and basketball
José Agosto Alex Garcia Guilherme Giovannoni Marcus Thornton Vasilis Konstantinou Diego Pinheiro Marcelinho Huertas Rafael Araújo Vítor Benite Olivinha
action filter_type
action intersection
action find_reverse
entity association football
relation sport
action find_reverse
entity basketball
relation sport
type common name
{'AND': [[{'concept': 'common name'}, 'sport', 'association football'], [{'concept': 'common name'}, 'sport', 'basketball']]}
SELECT DISTINCT ?l WHERE { ?l property:sport resource:association_football . ?l property:sport resource:basketball . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P194
Q1752346 Q11204 Q7275
USER
How many states have atmost 1 assemblies or legislatures as their representative body ?
(c(Q7275),P194,c(Q1752346)|c(Q11204))
action count
action atmost
action union
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action find_tuple_counts
relation P194
type Q7275
type Q11204
value 1
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) ?o WHERE { { ?o property:P194 ?z . ?o rdf:type ontology:Q7275 . ?z rdf:type ontology:Q1752346 } UNION { ?o property:P194 ?z . ?o rdf:type ontology:Q7275 . ?z rdf:type ontology:Q11204 } } GROUP BY ?o } . FILTER ( ?e <= 1 ) }
action count
action atmost
action union
action find_tuple_counts
relation legislative body
type state
type assembly
action find_tuple_counts
relation legislative body
type state
type legislature
value 1
[{'concept': 'state'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) ?o WHERE { { ?o property:legislative_body ?z . ?o rdf:type ontology:state . ?z rdf:type ontology:assembly } UNION { ?o property:legislative_body ?z . ?o rdf:type ontology:state . ?z rdf:type ontology:legislature } } GROUP BY ?o } . FILTER ( ?e <= 1 ) }
[]
assembly legislature state
SYSTEM
107
Q241748 Q211853 Q774783 Q105092 Q70802 Q842931 Q476757 Q152115 Q121932 Q7318 Q18285930 Q179876 Q207162 Q207272 Q25279 Q174193 Q965174 Q1078602 Q201038 Q233263 Q330988 Q27306 Q208545 Q533558 Q167360 Q1044536 Q21203 Q1811029 Q209062 Q204920 Q2006542 Q133356 Q215530 Q488521 Q161885 Q328818 Q191077 Q2638486 Q903779 Q16957 Q1649871 Q55502 Q62623 Q171150 Q842794 Q71747 Q1789596 Q1423581 Q203493 Q147909 Q980 Q58202 Q150981 Q518101 Q16410 Q83286 Q1277557 Q330362 Q1062422 Q15864 Q212439 Q844250 Q303421 Q2396442 Q178038 Q28025 Q153015 Q386496 Q83618 Q71092 Q217230 Q170072 Q964024 Q146328 Q487829 Q58296 Q371334 Q4948 Q156038 Q824489 Q49683 Q7314513 Q2342822 Q199841 Q1140152 Q615902 Q1077630 Q12557 Q217196 Q491559 Q23541302 Q154195 Q368986 Q1775277 Q285658 Q156020 Q70972 Q497777 Q12548 Q7314469 Q26273 Q1054184 Q427941 Q487687 Q161036 Q41304 Q216173
(c(Q7275),P194,c(Q1752346)|c(Q11204))
action count
action atmost
action union
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action find_tuple_counts
relation P194
type Q7275
type Q11204
value 1
[ANSWER]
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) ?o WHERE { { ?o property:P194 ?z . ?o rdf:type ontology:Q7275 . ?z rdf:type ontology:Q1752346 } UNION { ?o property:P194 ?z . ?o rdf:type ontology:Q7275 . ?z rdf:type ontology:Q11204 } } GROUP BY ?o } . FILTER ( ?e <= 1 ) }
Kingdom of Serbia Republic of Serbian Krajina Sovereign Principality of the United Netherlands Kingdom of Mercia French Third Republic East Pakistan Democratic Republic of Afghanistan Duchy of Warsaw People's Republic of Bulgaria Nazi Germany German Empire of 1848/1849 Kingdom of England Bourbon Restoration Second Polish Republic Curaçao United Kingdom of Great Britain and Ireland Coalition Provisional Authority Kingdom of Nepal Roman Kingdom Second Republic of South Korea Democratic Kampuchea Kingdom of Prussia Socialist Republic of Bosnia and Herzegovina Kingdom of Croatia-Slavonia First Portuguese Republic Spain under the Restoration Aruba Finnish Socialist Workers' Republic Socialist Republic of Croatia Crown of Aragon Dominion of Pakistan Ukrainian Soviet Socialist Republic Kingdom of Ireland Fourth Republic of South Korea Kingdom of Great Britain Kingdom of Kent Kingdom of Yugoslavia Kingdom of Cambodia United Kingdom of Portugal, Brazil and the Algarves East Germany Kingdom of Poland Kingdom of Jerusalem Kalmar Union Kingdom of Hungary Socialist Republic of Romania Duchy of Brittany Croatia in personal union with Hungary Italian Regency of Carnaro Kingdom of Romania Kingdom of Bulgaria Bavaria July Monarchy North German Confederation First Republic of Austria People's Republic of Hungary Socialist Federal Republic of Yugoslavia Democratic Federal Yugoslavia Commonwealth of England Konbaung Dynasty United Kingdom of the Netherlands Cossack Hetmanate Lordship of Ireland Kingdom of Galicia Kingdom of Galicia and Lodomeria Second Spanish Republic Ryukyu Kingdom Kingdom of Saxony Kingdom of Montenegro Maratha Empire Second French Empire Empire of Brazil Dutch Republic Moldavian Democratic Republic Commonwealth of the Philippines Chagatai Khanate French Republic Second Mexican Empire Republic of Venice Duchy of Courland and Semigallia Estado Novo Grand Duchy of Lithuania Republic of South Carolina West Pakistan South Yemen Irish Republic Kingdom of Finland Septinsular Republic Mongol Empire Crown of Castile First Republic of South Korea Kaluga Soviet Republic Kingdom of Bavaria Republic of Mississippi Dominion of India First Mexican Empire State of the Teutonic Order Kingdom of France First Spanish Republic Holy Roman Empire Republic of Georgia Sint Maarten Khmer Republic Islamic Emirate of Afghanistan Third Republic of South Korea Free State of Prussia Weimar Republic Free City of Danzig
107
action count
action atmost
action union
action find_tuple_counts
relation legislative body
type state
type assembly
action find_tuple_counts
relation legislative body
type state
type legislature
value 1
[{'concept': 'state'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) ?o WHERE { { ?o property:legislative_body ?z . ?o rdf:type ontology:state . ?z rdf:type ontology:assembly } UNION { ?o property:legislative_body ?z . ?o rdf:type ontology:state . ?z rdf:type ontology:legislature } } GROUP BY ?o } . FILTER ( ?e <= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q980
P1071
Q3546121
USER
Which type of cheese has Bavaria as its final place of assembly ?
(c(Q3546121),P1071,Q980)
action filter_type
action find_reverse
entity Q980
relation P1071
type Q3546121
[{'concept': 'Q3546121'}, 'P1071', 'Q980']
SELECT DISTINCT ?d WHERE { ?d property:P1071 resource:Q980 . ?d rdf:type ontology:Q3546121 }
Bavaria
action filter_type
action find_reverse
entity Bavaria
relation location of final assembly
type type of cheese
[{'concept': 'type of cheese'}, 'location of final assembly', 'Bavaria']
SELECT DISTINCT ?d WHERE { ?d property:location_of_final_assembly resource:Bavaria . ?d rdf:type ontology:type_of_cheese }
[]
type of cheese
Q2329767
SYSTEM
Cambozola
Q2329767
(c(Q3546121),P1071,Q980)
action filter_type
action find_reverse
entity Q980
relation P1071
type Q3546121
[ANSWER] has Bavaria as its final place of assembly
[{'concept': 'Q3546121'}, 'P1071', 'Q980']
SELECT DISTINCT ?d WHERE { ?d property:P1071 resource:Q980 . ?d rdf:type ontology:Q3546121 }
Cambozola
Cambozola has Bavaria as its final place of assembly
Cambozola
action filter_type
action find_reverse
entity Bavaria
relation location of final assembly
type type of cheese
[{'concept': 'type of cheese'}, 'location of final assembly', 'Bavaria']
SELECT DISTINCT ?d WHERE { ?d property:location_of_final_assembly resource:Bavaria . ?d rdf:type ontology:type_of_cheese }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2329767
P186
Q27643250
USER
Which food ingredient is used to construct that type of cheese ?
(Q2329767,P186,c(Q27643250))
action filter_type
action find
entity Q2329767
relation P186
type Q27643250
['Q2329767', 'P186', {'concept': 'Q27643250'}]
SELECT DISTINCT ?h WHERE { resource:Q2329767 property:P186 ?h . ?h rdf:type ontology:Q27643250 }
Cambozola
action filter_type
action find
entity Cambozola
relation material used
type food ingredient
['Cambozola', 'material used', {'concept': 'food ingredient'}]
SELECT DISTINCT ?h WHERE { resource:Cambozola property:material_used ?h . ?h rdf:type ontology:food_ingredient }
[]
food ingredient
Q10988133
SYSTEM
cow milk
Q10988133
(Q2329767,P186,c(Q27643250))
action filter_type
action find
entity Q2329767
relation P186
type Q27643250
[ANSWER] is used to construct that type of cheese
['Q2329767', 'P186', {'concept': 'Q27643250'}]
SELECT DISTINCT ?h WHERE { resource:Q2329767 property:P186 ?h . ?h rdf:type ontology:Q27643250 }
cow milk
Cow milk is used to construct that type of cheese
cow milk
action filter_type
action find
entity Cambozola
relation material used
type food ingredient
['Cambozola', 'material used', {'concept': 'food ingredient'}]
SELECT DISTINCT ?h WHERE { resource:Cambozola property:material_used ?h . ?h rdf:type ontology:food_ingredient }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q5398426
USER
How many television series had around 3 people as the dubbing artist ?
(c(Q5398426),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q5398426
type Q502895
value 3
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?j ) WHERE { ?y property:P725 ?m . ?y rdf:type ontology:Q5398426 . ?m rdf:type ontology:Q502895 } GROUP BY ?y } . FILTER ( ?j = 3 ) }
action count
action approx
action find_tuple_counts
relation voice actor
type television series
type common name
value 3
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?j ) WHERE { ?y property:voice_actor ?m . ?y rdf:type ontology:television_series . ?m rdf:type ontology:common_name } GROUP BY ?y } . FILTER ( ?j = 3 ) }
[]
common name television series
SYSTEM
232
Q2564733 Q602721 Q15148562 Q1317227 Q2583218 Q1149942 Q1723828 Q184352 Q7445961 Q487695 Q2349865 Q3211469 Q483557 Q95063 Q2633652 Q483803 Q2791605 Q1314527 Q1107025 Q1107521 Q7480931 Q483724 Q494804 Q483547 Q1141789 Q844599 Q582630 Q1837327 Q24045770 Q199073 Q752495 Q15574647 Q539284 Q425550 Q182476 Q1060695 Q1191236 Q2318266 Q133532 Q482551 Q900553 Q602434 Q1132147 Q1202916 Q1816558 Q1055370 Q486623 Q492884 Q211183 Q3271710 Q482796 Q1335290 Q488467 Q2030675 Q1135764 Q1834 Q182662 Q7094371 Q2855268 Q3565008 Q498079 Q2539006 Q645307 Q5356268 Q2522289 Q11320196 Q2607852 Q1191938 Q1159317 Q736163 Q3980545 Q698229 Q696524 Q9385099 Q1523630 Q482802 Q642944 Q701372 Q1058984 Q865498 Q2539030 Q1580513 Q488438 Q854973 Q482872 Q484259 Q1143991 Q11255631 Q862850 Q696986 Q5158632 Q1052846 Q483375 Q431930 Q699819 Q170019 Q268512 Q1339165 Q921440 Q1141838 Q1554117 Q1367069 Q1348627 Q494610 Q5364072 Q596883 Q2390297 Q385129 Q2756199 Q536416 Q987783 Q185012 Q6941258 Q8916464 Q137002 Q10890355 Q5653026 Q11519613 Q717382 Q11179499 Q810437 Q2088696 Q1087664 Q484518 Q11387159 Q482865 Q611650 Q1091743 Q1309696 Q944258 Q484515 Q1188003 Q11332238 Q493744 Q368608 Q709673 Q540497 Q830771 Q868899 Q2482070 Q199224 Q1778816 Q713975 Q116122 Q1013388 Q333687 Q1317129 Q482466 Q1186628 Q724155 Q1141816 Q632746 Q1514362 Q1194085 Q11621483 Q606180 Q2566529 Q708174 Q2626017 Q1073660 Q776574 Q483585 Q4251500 Q7447123 Q275676 Q196214 Q1750516 Q2663915 Q2584248 Q7820714 Q495919 Q143830 Q1350885 Q764135 Q1617849 Q485199 Q614495 Q838203 Q608660 Q703031 Q664845 Q2083163 Q1657773 Q1200040 Q700203 Q1202553 Q593049 Q618974 Q705053 Q11571242 Q308035 Q495450 Q931319 Q11275607 Q2498954 Q540997 Q1743797 Q11147846 Q491841 Q2619218 Q590129 Q2499784 Q485753 Q281062 Q735669 Q1790241 Q1477323 Q1091195 Q794345 Q91802 Q1186554 Q615650 Q2043633 Q2578383 Q1137447 Q1051427 Q4185849 Q2756865 Q2418770 Q3211549 Q2419200 Q527398 Q2634885 Q5680972 Q1742099 Q1257981 Q702014 Q1065178 Q1209267 Q385161 Q582788 Q14318175
(c(Q5398426),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q5398426
type Q502895
value 3
[ANSWER]
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?j ) WHERE { ?y property:P725 ?m . ?y rdf:type ontology:Q5398426 . ?m rdf:type ontology:Q502895 } GROUP BY ?y } . FILTER ( ?j = 3 ) }
Idaten Jump Shugo Chara! Hamatora I Don't Like You at All, Big Brother! Senyu Sket Dance انیمه Kannagi: Crazy Shrine Maidens Ore no Kanojo to Osananajimi ga Shuraba Sugiru Encouragement of Climb Un-Go Hiwou War Chronicles I Couldn’t Become a Hero, So I Reluctantly Decided to Get a Job. Level E Planetes Place to Place Daily Lives of High School Boys Valvrave the Liberator Sumomomo Momomo A Penguin's Troubles Natsuiro Kiseki Yuyushiki MM! Hanasaku Iroha Mitsudomoe Fate/Zero Sayonara Zetsubō Sensei Sgt. Frog Jinrui wa Suitaishimashita Beyblade Tokyo Ravens Asura Cryin' Tesagure! Bukatsu-mono Kaleido Star Steel Angel Kurumi Code:Breaker Ginga e Kickoff!! Infinite Ryvius Oniisama e... Btooom! Kämpfer Yurumates Idolmaster: Xenoglossia Lilpri Working!! Monochrome Factor Mushishi Nekogami Yaoyorozu The "Hentai" Prince and the Stony Cat. Tamako Market Senki Zesshō Symphogear The World God Only Knows Medaka Box Ben-To Witchblade Softenni Death Note The Flowers of Evil Onmyō Taisenki GJ-bu Mushibugyō Pretty Rhythm Blue Seed Di Gi Charat No-Rin I My Me! Strawberry Eggs D-Frag! Sasameki Koto Kyō no Go no Ni Dance in the Vampire Bund Blue Drop Tamagotchi! Kenichi: The Mightiest Disciple MÄR Kyōkai no Kanata Occult Academy IS (Infinite Stratos) Negima! Magister Negi Magi Wedding Peach Kingdom Powerpuff Girls Z Gate Keepers Say 'I love you' Kokoro Connect Yoshinaga-san Chi no Gargoyle Wandering Son Kamisama Hajimemashita Night Wizard! Z/X Reborn! Beelzebub Kagihime Monogatari Eikyū Alice Rondo Last Exile The Sacred Blacksmith Noein El-Hazard D.Gray-man Sacred Seven Hyōka Seitokai Yakuindomo Maid Sama! Guin Saga Hyakka Ryōran Samurai Girls Nabari no Ou Guilty Crown Non Non Biyori Immortal Grand Prix Black Heaven Sankarea Ixion Saga DT First Love Limited Wan Wan Celeb Soreyuke! Tetsunoshin Mondai-Ji-tachi ga Isekai Kara Kuru Sō Desu yo? Mushi-Uta Servant x Service Recorder and Randsell Shining Hearts: Shiawase no Pan Happy Seven Mikakunin de Shinkōkei Madō King Granzort Black Bullet Basquash! Suzuka Chrome Shelled Regios The Legend of the Legendary Heroes Kenzen Robo Daimidaler Dog Days Karneval Double-J Living for the Day After Tomorrow Yumeiro Patissiere Dragon Crisis! Cardfight!! Vanguard Fantasista Doll Anyamaru Tantei Kiruminzuu Campione! Bakusō Kyōdai Let's & Go!! Kenkō Zenrakei Suieibu Umishō Highschool of the Dead Pandora Hearts Miss Machiko Cuticle Detective Inaba Koi Kaze Nintama Rantarō Hayate the Combat Butler Telepathy Shōjo Ran Jiken Note Chō Soku Henkei Gyrozetter Haré+Guu Maria-sama ga Miteru Moshidora Asobi ni iku yo! Fushigiboshi no Futagohime Bakugan Battle Brawlers Princess Resurrection Nura: Rise of the Yokai Clan Arpeggio of Blue Steel Maria Holic Himawari! Mashin Hero Wataru Aesthetica of a Rogue Hero Tamayura Persona : Trinity Soul Denpa Onna to Seishun Otoko Kocchi Muite! Miiko Wanna be the Strongest in the World Digimon Fusion Is This a Zombie? Kamen no Maid Guy Dazzle Akikan! Tona-Gura! Blue Exorcist Detective School Q Queen's Blade Rebellion Gin Tama High School DxD Someday's Dreamers Sekirei Gdgd Fairies Needless Baby and Me Pumpkin Scissors Teekyu Inu x Boku SS Nagasarete Airantou Mirmo! Suite PreCure Minami-ke Umi Monogatari: Anata ga Ite Kureta Koto Otome Yōkai Zakuro Inugami-san to Nekoyama-san XxxHolic Demon King Daimao Manyū Hiken-chō Happy Kappy The Ambition of Oda Nobuna Net Ghost PiPoPa Kissxsis Noragami Kono Naka ni Hitori, Imōto ga Iru! Yozakura Quartet Mobile Suit Victory Gundam Red Garden Mayoi Neko Overrun! The Qwaser of Stigmata Dragon Ball GT Rumic Theater Speed Grapher Chu-Bra!! Beyblade: Metal Fusion Aria And Yet The Town Moves Aoi Hana Majestic Prince Coppelion Emma Goshūshō-sama Ninomiya-kun Gokujyo NG Knight Lamune & 40 Fancy Lala Hakkenden: Eight Dogs of the East Tokimeki Memorial Only Love MegaMan NT Warrior Jewelpet The Devil Is a Part-Timer! Jing: King of Bandits Birdy the Mighty Little Women II: Jo's Boys Sketchbook Kaiketsu Zorori Ōkami-san Saki Riddle Story of Devil
232
action count
action approx
action find_tuple_counts
relation voice actor
type television series
type common name
value 3
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?j ) WHERE { ?y property:voice_actor ?m . ?y rdf:type ontology:television_series . ?m rdf:type ontology:common_name } GROUP BY ?y } . FILTER ( ?j = 3 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q707051 Q980
P710 P6
Q502895
USER
Which people have Bavaria as their heads of government and were participants of German presidential election, 2009 ?
AND((Q980,P6,c(Q502895)), (Q707051,P710,c(Q502895)))
action filter_type
action intersection
action find
entity Q980
relation P6
action find
entity Q707051
relation P710
type Q502895
{'AND': [['Q980', 'P6', {'concept': 'Q502895'}], ['Q707051', 'P710', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q707051 property:P710 ?h . resource:Q980 property:P6 ?h }
German presidential election, 2009 Bavaria
action filter_type
action intersection
action find
entity Bavaria
relation head of government
action find
entity German presidential election, 2009
relation participant
type common name
{'AND': [['Bavaria', 'head of government', {'concept': 'common name'}], ['German presidential election, 2009', 'participant', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:German_presidential_election,_2009 property:participant ?h . resource:Bavaria property:head_of_government ?h }
[]
common name
Q44612 Q44771 Q44507
SYSTEM
Horst Seehofer, Günther Beckstein, Edmund Stoiber
Q44612 Q44771 Q44507
AND((Q980,P6,c(Q502895)), (Q707051,P710,c(Q502895)))
action filter_type
action intersection
action find
entity Q980
relation P6
action find
entity Q707051
relation P710
type Q502895
[ANSWERS] have Bavaria as their heads of government and were participants of German presidential election, 2009
{'AND': [['Q980', 'P6', {'concept': 'Q502895'}], ['Q707051', 'P710', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q707051 property:P710 ?h . resource:Q980 property:P6 ?h }
Horst Seehofer Günther Beckstein Edmund Stoiber
Horst Seehofer, Günther Beckstein and Edmund Stoiber have Bavaria as their heads of government and were participants of German presidential election, 2009
Horst Seehofer Günther Beckstein Edmund Stoiber
action filter_type
action intersection
action find
entity Bavaria
relation head of government
action find
entity German presidential election, 2009
relation participant
type common name
{'AND': [['Bavaria', 'head of government', {'concept': 'common name'}], ['German presidential election, 2009', 'participant', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:German_presidential_election,_2009 property:participant ?h . resource:Bavaria property:head_of_government ?h }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q896232
P710
Q1499496
USER
Were those people a participant of West German presidential election, 1979 ?
(Q896232,P710,Q44612) (Q896232,P710,Q44771) (Q896232,P710,Q44507)
action is_in
entity prev_answer
action find
entity Q896232
relation P710
['Q896232', 'P710', 'Q44612'] ['Q896232', 'P710', 'Q44771'] ['Q896232', 'P710', 'Q44507']
ASK WHERE { resource:Q896232 property:P710 ?z . VALUES ( ?z ) { ( resource:Q44612 ) ( resource:Q44771 ) ( resource:Q44507 ) } }
West German presidential election, 1979
action is_in
entity prev_answer
action find
entity West German presidential election, 1979
relation participant
['West German presidential election, 1979', 'participant', 'Horst Seehofer'] ['West German presidential election, 1979', 'participant', 'Günther Beckstein'] ['West German presidential election, 1979', 'participant', 'Edmund Stoiber']
ASK WHERE { resource:West_German_presidential_election,_1979 property:participant ?z . VALUES ( ?z ) { ( resource:Horst_Seehofer ) ( resource:Günther_Beckstein ) ( resource:Edmund_Stoiber ) } }
[]
German presidential election
SYSTEM
NO
(Q896232,P710,Q44612) (Q896232,P710,Q44771) (Q896232,P710,Q44507)
action is_in
entity prev_answer
action find
entity Q896232
relation P710
[ANSWER]
['Q896232', 'P710', 'Q44612'] ['Q896232', 'P710', 'Q44771'] ['Q896232', 'P710', 'Q44507']
ASK WHERE { resource:Q896232 property:P710 ?z . VALUES ( ?z ) { ( resource:Q44612 ) ( resource:Q44771 ) ( resource:Q44507 ) } }
No
action is_in
entity prev_answer
action find
entity West German presidential election, 1979
relation participant
['West German presidential election, 1979', 'participant', 'Horst Seehofer'] ['West German presidential election, 1979', 'participant', 'Günther Beckstein'] ['West German presidential election, 1979', 'participant', 'Edmund Stoiber']
ASK WHERE { resource:West_German_presidential_election,_1979 property:participant ?z . VALUES ( ?z ) { ( resource:Horst_Seehofer ) ( resource:Günther_Beckstein ) ( resource:Edmund_Stoiber ) } }
[]