Simple Question (Direct)
Simple Question
Q12227502
P140
Q874405
USER
Which social group is the religion of 'Ikrimah Mawlâ Ibn 'Abbâs ?
(Q12227502,P140,c(Q874405))
action filter_type
action find
entity Q12227502
relation P140
type Q874405
['Q12227502', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?d WHERE { resource:Q12227502 property:P140 ?d . ?d rdf:type ontology:Q874405 }
'Ikrimah Mawlâ Ibn 'Abbâs
action filter_type
action find
entity 'Ikrimah Mawlâ Ibn 'Abbâs
relation religion
type social group
["'Ikrimah Mawlâ Ibn 'Abbâs", 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?d WHERE { resource:'Ikrimah_Mawlâ_Ibn_'Abbâs property:religion ?d . ?d rdf:type ontology:social_group }
[]
social group
Q432
SYSTEM
Islam
Q432
(Q12227502,P140,c(Q874405))
action filter_type
action find
entity Q12227502
relation P140
type Q874405
[ANSWER] is the religion of 'Ikrimah Mawlâ Ibn 'Abbâs
['Q12227502', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?d WHERE { resource:Q12227502 property:P140 ?d . ?d rdf:type ontology:Q874405 }
Islam
Islam is the religion of 'Ikrimah Mawlâ Ibn 'Abbâs
Islam
action filter_type
action find
entity 'Ikrimah Mawlâ Ibn 'Abbâs
relation religion
type social group
["'Ikrimah Mawlâ Ibn 'Abbâs", 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?d WHERE { resource:'Ikrimah_Mawlâ_Ibn_'Abbâs property:religion ?d . ?d rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12227502
P27
Q7275
USER
Which state does that person belong to ?
(Q432,P27,c(Q7275))
action filter_type
action find
entity Q12227502
relation P27
type Q7275
['Q432', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q7275 . resource:Q12227502 property:P27 ?p }
'Ikrimah Mawlâ Ibn 'Abbâs
action filter_type
action find
entity 'Ikrimah Mawlâ Ibn 'Abbâs
relation country of citizenship
type state
['Islam', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:state . resource:'Ikrimah_Mawlâ_Ibn_'Abbâs property:country_of_citizenship ?p }
[]
state
Q12490507
SYSTEM
Rashidun Caliphate
Q12490507
(Q432,P27,c(Q7275))
action filter_type
action find
entity Q12227502
relation P27
type Q7275
That person belongs to [ANSWER]
['Q432', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q7275 . resource:Q12227502 property:P27 ?p }
Rashidun Caliphate
That person belongs to Rashidun Caliphate
Rashidun Caliphate
action filter_type
action find
entity 'Ikrimah Mawlâ Ibn 'Abbâs
relation country of citizenship
type state
['Islam', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:state . resource:'Ikrimah_Mawlâ_Ibn_'Abbâs property:country_of_citizenship ?p }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q12490507 Q39619
P35
Q502895
USER
Is Alī ibn Abī Ṭālib the head of state of that one ?
(Q12490507,P35,Q39619)
action is_in
entity Q39619
action find
entity Q12490507
relation P35
['Q12490507', 'P35', 'Q39619']
ASK WHERE { resource:Q12490507 property:P35 resource:Q39619 }
Rashidun Caliphate Alī ibn Abī Ṭālib
action is_in
entity Alī ibn Abī Ṭālib
action find
entity Rashidun Caliphate
relation head of state
['Rashidun Caliphate', 'head of state', 'Alī ibn Abī Ṭālib']
ASK WHERE { resource:Rashidun_Caliphate property:head_of_state resource:Alī_ibn_Abī_Ṭālib }
[]
common name
SYSTEM
YES
(Q12490507,P35,Q39619)
action is_in
entity Q39619
action find
entity Q12490507
relation P35
[ANSWER]
['Q12490507', 'P35', 'Q39619']
ASK WHERE { resource:Q12490507 property:P35 resource:Q39619 }
Yes
action is_in
entity Alī ibn Abī Ṭālib
action find
entity Rashidun Caliphate
relation head of state
['Rashidun Caliphate', 'head of state', 'Alī ibn Abī Ṭālib']
ASK WHERE { resource:Rashidun_Caliphate property:head_of_state resource:Alī_ibn_Abī_Ṭālib }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q3787
P1376
Q7275 Q515
USER
How many cities are the capital of around the same number of states as Abuja ?
(c(Q515),P1376,c(Q7275))
action count
action approx
action find_tuple_counts
relation P1376
type Q515
type Q7275
action count
action filter_type
action find
entity Q3787
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?r ) WHERE { ?j property:P1376 ?e . ?j rdf:type ontology:Q515 . ?e rdf:type ontology:Q7275 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Q3787 property:P1376 ?f . ?f rdf:type ontology:Q515 } } . FILTER ( ?r = ?v ) }
Abuja
action count
action approx
action find_tuple_counts
relation capital of
type city
type state
action count
action filter_type
action find
entity Abuja
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?r ) WHERE { ?j property:capital_of ?e . ?j rdf:type ontology:city . ?e rdf:type ontology:state } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Abuja property:capital_of ?f . ?f rdf:type ontology:city } } . FILTER ( ?r = ?v ) }
[]
state city
SYSTEM
473
Q15826 Q373542 Q780731 Q39738 Q10126 Q843001 Q1710 Q843006 Q843009 Q14525 Q3042 Q3974 Q861296 Q637647 Q240026 Q873377 Q853746 Q83786 Q854913 Q19833195 Q293558 Q192271 Q854918 Q460835 Q60037 Q217432 Q827041 Q4024 Q379030 Q1711 Q496667 Q240504 Q3806 Q281371 Q258884 Q592338 Q52607 Q766168 Q933645 Q214938 Q830394 Q205607 Q193050 Q841296 Q911600 Q789256 Q7473516 Q903177 Q3870 Q243293 Q5779 Q932806 Q377834 Q295367 Q653389 Q851097 Q1696 Q861292 Q41474 Q57953 Q917888 Q1070920 Q174096 Q174091 Q740800 Q855082 Q633945 Q843031 Q593314 Q783255 Q197687 Q111739 Q842967 Q329768 Q843035 Q246723 Q696388 Q185719 Q14424 Q304803 Q432169 Q147738 Q853744 Q2135 Q43196 Q855032 Q404529 Q5954 Q11462 Q834567 Q851675 Q3214 Q842908 Q23482 Q505208 Q1000336 Q911530 Q181276 Q583137 Q3692 Q847546 Q330409 Q1019949 Q847543 Q854956 Q235004 Q379160 Q132997 Q478038 Q725168 Q580722 Q389515 Q394453 Q278017 Q321778 Q850359 Q535534 Q745657 Q748797 Q494777 Q221283 Q2419449 Q1410 Q854969 Q842934 Q793405 Q375097 Q911558 Q59144 Q12062 Q629471 Q209766 Q178878 Q5316658 Q203027 Q2966 Q34217 Q625154 Q4348183 Q179608 Q847594 Q790370 Q154540 Q1467 Q843018 Q14499 Q2865 Q607625 Q526335 Q13630 Q424813 Q578343 Q366220 Q12245 Q117676 Q16959 Q1844 Q10389 Q650015 Q30340 Q225257 Q35925 Q44215 Q629849 Q680656 Q854996 Q207408 Q214956 Q1362 Q15379 Q588606 Q5540 Q58401 Q161176 Q850508 Q840986 Q1723 Q288413 Q1519 Q270704 Q167109 Q3104 Q734378 Q459787 Q585630 Q855529 Q7248 Q4346 Q1107569 Q1025387 Q6602 Q602042 Q237699 Q207406 Q517407 Q23661 Q191651 Q7856199 Q3904 Q325164 Q305640 Q14819 Q5285 Q14182 Q740810 Q861221 Q911667 Q6807568 Q842971 Q842976 Q3866 Q181007 Q385864 Q755686 Q3599 Q3861 Q43433 Q1636 Q3852 Q846652 Q7786 Q10104 Q3859 Q155975 Q1020939 Q674311 Q3915 Q155674 Q863747 Q841125 Q314686 Q487439 Q385591 Q124375 Q933641 Q854940 Q2180 Q714628 Q335427 Q177149 Q2337 Q633789 Q14960 Q8158 Q385070 Q116417 Q830404 Q861262 Q781435 Q26600 Q2025433 Q740853 Q749320 Q874270 Q911628 Q632146 Q52564 Q4905 Q207876 Q2978 Q2973 Q34261 Q137271 Q855060 Q843028 Q842996 Q1773 Q679249 Q843021 Q14821 Q680743 Q564234 Q3958 Q488990 Q3955 Q668318 Q2079 Q6829 Q260522 Q8156 Q752838 Q993064 Q276534 Q41773 Q42007 Q1858 Q2096 Q329775 Q1856 Q855016 Q3787 Q855011 Q4007 Q480421 Q14168 Q823907 Q7070 Q642031 Q55598 Q498011 Q214948 Q271000 Q214945 Q182852 Q755681 Q214942 Q549427 Q335506 Q320798 Q386655 Q245126 Q1826 Q1533 Q200077 Q47916 Q80484 Q3183016 Q328601 Q542154 Q2526233 Q946769 Q846351 Q739304 Q789233 Q7253 Q530634 Q4827 Q877227 Q5753 Q429409 Q2749 Q193719 Q170454 Q211243 Q841603 Q911576 Q42751 Q42750 Q185684 Q187861 Q207311 Q386682 Q63145 Q2119 Q390796 Q271917 Q5972 Q1720 Q1721 Q1645 Q7578 Q390798 Q7033 Q14126 Q57906 Q44244 Q855052 Q11449 Q547479 Q404817 Q2907 Q15847 Q843014 Q604516 Q3768 Q732300 Q789510 Q20073 Q1863 Q2209 Q2200 Q16506 Q14155 Q430207 Q756273 Q14409 Q188247 Q206872 Q1355 Q146363 Q208818 Q5869 Q46845 Q57951 Q830411 Q171943 Q728438 Q427769 Q189823 Q40626 Q55740 Q250733 Q146317 Q693264 Q6582 Q187821 Q502205 Q203344 Q71159 Q3355306 Q57944 Q189761 Q189769 Q57948 Q2795 Q378225 Q954569 Q2887 Q738275 Q69060 Q8179 Q727383 Q2061 Q184998 Q5217 Q854965 Q1020709 Q489147 Q456 Q755701 Q267894 Q679224 Q168648 Q2152435 Q843043 Q850676 Q2833 Q36063 Q3935 Q7003 Q3931 Q3751 Q3750 Q3616 Q42666 Q738013 Q894059 Q933638 Q183111 Q40584 Q1067897 Q25475 Q11506 Q613813 Q375862 Q107624 Q680963 Q66485 Q649214 Q646850 Q209988 Q582209 Q209983 Q877190 Q2900 Q845792 Q684494 Q170525 Q503411 Q842925 Q842923 Q302526 Q1231003 Q8042 Q911642 Q187284 Q158245 Q50179 Q284480 Q632080 Q207309 Q187812 Q104125
(c(Q515),P1376,c(Q7275))
action count
action approx
action find_tuple_counts
relation P1376
type Q515
type Q7275
action count
action filter_type
action find
entity Q3787
relation P1376
type Q515
[ANSWER]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?r ) WHERE { ?j property:P1376 ?e . ?j rdf:type ontology:Q515 . ?e rdf:type ontology:Q7275 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Q3787 property:P1376 ?f . ?f rdf:type ontology:Q515 } } . FILTER ( ?r = ?v ) }
Palu Szigetvár Szeghalom Laoag Serang Csorna Isabela City Nagykálló Marcali Gorontalo Offenbach am Main Landshut Nōgata Pásztó Jászapáti Dumaguete Bátonyterenye Shimla Szikszó Barcelos Ózd Guiyang Szécsény Marugame Zalaegerszeg Port Harcourt Beroun Frankfurt (Oder) Zalaszentgrót Potsdam Muroran Makó Tübingen Jászberény Bélapátfalva Marawi Mar del Plata Nagykáta Kunhegyes Gyula Nagykőrös Zirc Érd Příbram Vásárosnamény Balatonalmádi Tokyo Tiszafüred Nairobi Sekondi-Takoradi Banda Aceh Polgárdi Szentes Nagyatád Nobeoka Iiyama Legazpi Hitoyoshi Kingstown Schwarzenberg Vinaròs Mamuju Sorsogon City Changsha Paks Csenger Saijō Vasvár Sárbogárd Kapuvár Miercurea Sibiului Puerto Princesa Gönc Tata Celldömölk Záhony Toyooka Pétervására Nagykanizsa Mezőcsát Dipolog Saint Helier Devecser Winnipeg Cincinnati Mezőkovácsháza Xuchang Binjai Surabaya Bonyhád Takahashi Cottbus Gyál Marseille Ouarzazate Tandil Hajdúhadház Szolnok Kidapawan Riyadh Saiki Ústí nad Orlicí Surigao City Katsuyama Ibrány Vigan Kunszentmárton Florianópolis Kiskunfélegyháza Tagum Őriszentpéter Kariya Žďár nad Sázavou Tiszavasvári Hodonín Kitsuki Hohhot Fehérgyarmat Dorog Alcoi Cape Coast Polgár Gibraltar Letenye Püspökladány Berettyóújfalu Tiszaújváros Putnok Zhanjiang Torgau Kiskunmajsa Saga Békéscsaba Durjaya Tsu Heidelberg Oxford Komárom Athkatla Nanning Shimabara Barcs Sásd Cebu City Kunszentmiklós Samarinda Kassel Tamási Keszthely Olbia Akō Szentlőrinc Adony Stanley Viseu Ürümqi Vaduz Bandung Pannonhalma Zhengzhou Rupea Tabuk Santa Rosa Hatvan Sümeg Szerencs Vác Znojmo Islamabad Kendari Fonyód Penza Shijiazhuang Fukushima Taketa Törökszentmiklós Batangas City Tapolca Abu Dhabi Třebíč Eger Koblenz Yonezawa Iloilo City Yanagawa Kistelek Bukittinggi Waren (Müritz) Kerma Maasin Strasbourg Baktalórántháza Aizuwakamatsu Mosonmagyaróvár Sondershausen Wellington Masbate City Turquoise Mountain Mbabane Kayes Abashiri Freiberg Tarlac Banjarmasin Békés Nakatsu Elek Emmen Sellye Mátészalka Dodoma Hattusa Ōsakasayama Nyírbátor Bicske Doha Chandigarh Antipolo Worms Cigánd Pekanbaru Tanjung Pinang Kigali Kutná Hora Digos Kisvárda Antananarivo Tandag Uda Tsuyama Mati Oral Ōmura Hódmezővásárhely Martonvásár Dabas Malolos Rumoi Kisarazu Obihiro Smolensk Dombóvár Brno Metro, Indonesia Burriana Sátoraljaújhely Hajdúszoboszló Uto Derecske Fukuoka Calimport Szigetszentmiklós Monor Pagadian Kemecse Enying Maloe Verevo Druzhnaya Gorka Yamaguchi Regensburg Darmstadt Port-au-Prince Kota Kinabalu Encs Oroszlány Pécsvárad Riga Kalocsa Tolna Coburg Balatonfüred Annaka Neubrandenburg Kostanay Weimar Sárospatak Leipzig Speyer Bácsalmás Bandar Lampung Aszód Saint Anne Wau, South Sudan Obama Szombathely Hanoi Edmonton Kiskunhalas Malaybalay Csurgó Abuja Heves Rosenheim Abony Pontianak HigashiMatsuyama Eisenach Gárdony Palayan Sakura Cegléd Bouaké Pápa Kunming Várpalota Kazincbarcika Jánoshalma Salto Mohács Ōzu Siófok Tagbilaran Caracas Morioka Lucknow Patna Ungaran Hirado Koronadal Carn Dûm Mórahalom Miyazu Hajdúnánás Balassagyarmat Padang Pilisvörösvár Vyritsa Ogi Samarkand Szob Augsburg Cheb Agartala Yinchuan Tiszakécske Rétság Palikir Vojskovitsy Hefei Wollongong Suzuka Khost Imus Mannheim Orosháza Kushiro Medan Mainz Wiesbaden Cagayan de Oro Jambi Szentendre Nordhausen Mataram Yangzhou Santa Fe Mezőtúr Pasuruan Dunakeszi Shangqiu Sucre Manado Szarvas Szentgotthárd Yamoussoukro Gyomaendrőd Balmazújváros Hohenstein-Ernstthal Andorra la Vella Roxas Tuguegarao České Budějovice Kupang Komló Karcag Palangkaraya Sarkad Ajka Bangalore Most Fuchū Lhasa Oelsnitz, Vogtland Marienberg Körmend Nanchang Siklós Kisbér Haikou Tacloban San Fernando Wa Veszprém Iwamizawa Carcassonne Tatabánya Nemuro Baja Brand-Erbisdorf Fukuchiyama Annaberg-Buchholz Szekszárd Salgótarján Aue Chemnitz Hagi Vyškov Santiago Karatsu Xining Pangkal Pinang Sokolov Yellowknife Kaposvár Bacolod Lenti Catbalogan Schmalkalden Lyon Ráckeve Wakkanai Hajdúböszörmény Sopron Miramar Sárvár Blansko Freiburg im Breisgau Vecsés Windhoek Dijon Brandenburg an der Havel Praia Gera Tehran Shaoxing Xàtiva Borongan Mezőkövesd Jihlava San Fernando Oroquieta Batumi Denpasar Kőszeg Nyíradony Calapan Mór Jaipur Csongrád Kiskőrös Gödöllő Tokaj Gyöngyös Tatsuno Quito Usuki Kashima Agadir Inuyama Edelény Pomáz Tab Cocentaina Bengkulu Füzesabony Hurghada Písek Ilagan Bóly Tét Tokushima Dunaújváros Lucena
473
action count
action approx
action find_tuple_counts
relation capital of
type city
type state
action count
action filter_type
action find
entity Abuja
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?r ) WHERE { ?j property:capital_of ?e . ?j rdf:type ontology:city . ?e rdf:type ontology:state } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Abuja property:capital_of ?f . ?f rdf:type ontology:city } } . FILTER ( ?r = ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q15847
P1376
Q7275 Q515
USER
And also tell me about Manado?
(c(Q515),P1376,c(Q7275))
action count
action approx
action find_tuple_counts
relation P1376
type Q515
type Q7275
action count
action filter_type
action find
entity Q15847
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?a ) WHERE { ?p property:P1376 ?b . ?p rdf:type ontology:Q515 . ?b rdf:type ontology:Q7275 } GROUP BY ?p } . FILTER ( ?a = ?w ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x rdf:type ontology:Q515 . resource:Q15847 property:P1376 ?x } } }
Manado
action count
action approx
action find_tuple_counts
relation capital of
type city
type state
action count
action filter_type
action find
entity Manado
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?a ) WHERE { ?p property:capital_of ?b . ?p rdf:type ontology:city . ?b rdf:type ontology:state } GROUP BY ?p } . FILTER ( ?a = ?w ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x rdf:type ontology:city . resource:Manado property:capital_of ?x } } }
[]
state city
SYSTEM
473
Q15826 Q373542 Q780731 Q39738 Q10126 Q843001 Q1710 Q843006 Q843009 Q14525 Q3042 Q3974 Q861296 Q637647 Q240026 Q873377 Q853746 Q83786 Q854913 Q19833195 Q293558 Q192271 Q854918 Q460835 Q60037 Q217432 Q827041 Q4024 Q379030 Q1711 Q496667 Q240504 Q3806 Q281371 Q258884 Q592338 Q52607 Q766168 Q933645 Q214938 Q830394 Q205607 Q193050 Q841296 Q911600 Q789256 Q7473516 Q903177 Q3870 Q243293 Q5779 Q932806 Q377834 Q295367 Q653389 Q851097 Q1696 Q861292 Q41474 Q57953 Q917888 Q1070920 Q174096 Q174091 Q740800 Q855082 Q633945 Q843031 Q593314 Q783255 Q197687 Q111739 Q842967 Q329768 Q843035 Q246723 Q696388 Q185719 Q14424 Q304803 Q432169 Q147738 Q853744 Q2135 Q43196 Q855032 Q404529 Q5954 Q11462 Q834567 Q851675 Q3214 Q842908 Q23482 Q505208 Q1000336 Q911530 Q181276 Q583137 Q3692 Q847546 Q330409 Q1019949 Q847543 Q854956 Q235004 Q379160 Q132997 Q478038 Q725168 Q580722 Q389515 Q394453 Q278017 Q321778 Q850359 Q535534 Q745657 Q748797 Q494777 Q221283 Q2419449 Q1410 Q854969 Q842934 Q793405 Q375097 Q911558 Q59144 Q12062 Q629471 Q209766 Q178878 Q5316658 Q203027 Q2966 Q34217 Q625154 Q4348183 Q179608 Q847594 Q790370 Q154540 Q1467 Q843018 Q14499 Q2865 Q607625 Q526335 Q13630 Q424813 Q578343 Q366220 Q12245 Q117676 Q16959 Q1844 Q10389 Q650015 Q30340 Q225257 Q35925 Q44215 Q629849 Q680656 Q854996 Q207408 Q214956 Q1362 Q15379 Q588606 Q5540 Q58401 Q161176 Q850508 Q840986 Q1723 Q288413 Q1519 Q270704 Q167109 Q3104 Q734378 Q459787 Q585630 Q855529 Q7248 Q4346 Q1107569 Q1025387 Q6602 Q602042 Q237699 Q207406 Q517407 Q23661 Q191651 Q7856199 Q3904 Q325164 Q305640 Q14819 Q5285 Q14182 Q740810 Q861221 Q911667 Q6807568 Q842971 Q842976 Q3866 Q181007 Q385864 Q755686 Q3599 Q3861 Q43433 Q1636 Q3852 Q846652 Q7786 Q10104 Q3859 Q155975 Q1020939 Q674311 Q3915 Q155674 Q863747 Q841125 Q314686 Q487439 Q385591 Q124375 Q933641 Q854940 Q2180 Q714628 Q335427 Q177149 Q2337 Q633789 Q14960 Q8158 Q385070 Q116417 Q830404 Q861262 Q781435 Q26600 Q2025433 Q740853 Q749320 Q874270 Q911628 Q632146 Q52564 Q4905 Q207876 Q2978 Q2973 Q34261 Q137271 Q855060 Q843028 Q842996 Q1773 Q679249 Q843021 Q14821 Q680743 Q564234 Q3958 Q488990 Q3955 Q668318 Q2079 Q6829 Q260522 Q8156 Q752838 Q993064 Q276534 Q41773 Q42007 Q1858 Q2096 Q329775 Q1856 Q855016 Q3787 Q855011 Q4007 Q480421 Q14168 Q823907 Q7070 Q642031 Q55598 Q498011 Q214948 Q271000 Q214945 Q182852 Q755681 Q214942 Q549427 Q335506 Q320798 Q386655 Q245126 Q1826 Q1533 Q200077 Q47916 Q80484 Q3183016 Q328601 Q542154 Q2526233 Q946769 Q846351 Q739304 Q789233 Q7253 Q530634 Q4827 Q877227 Q5753 Q429409 Q2749 Q193719 Q170454 Q211243 Q841603 Q911576 Q42751 Q42750 Q185684 Q187861 Q207311 Q386682 Q63145 Q2119 Q390796 Q271917 Q5972 Q1720 Q1721 Q1645 Q7578 Q390798 Q7033 Q14126 Q57906 Q44244 Q855052 Q11449 Q547479 Q404817 Q2907 Q15847 Q843014 Q604516 Q3768 Q732300 Q789510 Q20073 Q1863 Q2209 Q2200 Q16506 Q14155 Q430207 Q756273 Q14409 Q188247 Q206872 Q1355 Q146363 Q208818 Q5869 Q46845 Q57951 Q830411 Q171943 Q728438 Q427769 Q189823 Q40626 Q55740 Q250733 Q146317 Q693264 Q6582 Q187821 Q502205 Q203344 Q71159 Q3355306 Q57944 Q189761 Q189769 Q57948 Q2795 Q378225 Q954569 Q2887 Q738275 Q69060 Q8179 Q727383 Q2061 Q184998 Q5217 Q854965 Q1020709 Q489147 Q456 Q755701 Q267894 Q679224 Q168648 Q2152435 Q843043 Q850676 Q2833 Q36063 Q3935 Q7003 Q3931 Q3751 Q3750 Q3616 Q42666 Q738013 Q894059 Q933638 Q183111 Q40584 Q1067897 Q25475 Q11506 Q613813 Q375862 Q107624 Q680963 Q66485 Q649214 Q646850 Q209988 Q582209 Q209983 Q877190 Q2900 Q845792 Q684494 Q170525 Q503411 Q842925 Q842923 Q302526 Q1231003 Q8042 Q911642 Q187284 Q158245 Q50179 Q284480 Q632080 Q207309 Q187812 Q104125
(c(Q515),P1376,c(Q7275))
action count
action approx
action find_tuple_counts
relation P1376
type Q515
type Q7275
action count
action filter_type
action find
entity Q15847
relation P1376
type Q515
[ANSWER]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?a ) WHERE { ?p property:P1376 ?b . ?p rdf:type ontology:Q515 . ?b rdf:type ontology:Q7275 } GROUP BY ?p } . FILTER ( ?a = ?w ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x rdf:type ontology:Q515 . resource:Q15847 property:P1376 ?x } } }
Palu Szigetvár Szeghalom Laoag Serang Csorna Isabela City Nagykálló Marcali Gorontalo Offenbach am Main Landshut Nōgata Pásztó Jászapáti Dumaguete Bátonyterenye Shimla Szikszó Barcelos Ózd Guiyang Szécsény Marugame Zalaegerszeg Port Harcourt Beroun Frankfurt (Oder) Zalaszentgrót Potsdam Muroran Makó Tübingen Jászberény Bélapátfalva Marawi Mar del Plata Nagykáta Kunhegyes Gyula Nagykőrös Zirc Érd Příbram Vásárosnamény Balatonalmádi Tokyo Tiszafüred Nairobi Sekondi-Takoradi Banda Aceh Polgárdi Szentes Nagyatád Nobeoka Iiyama Legazpi Hitoyoshi Kingstown Schwarzenberg Vinaròs Mamuju Sorsogon City Changsha Paks Csenger Saijō Vasvár Sárbogárd Kapuvár Miercurea Sibiului Puerto Princesa Gönc Tata Celldömölk Záhony Toyooka Pétervására Nagykanizsa Mezőcsát Dipolog Saint Helier Devecser Winnipeg Cincinnati Mezőkovácsháza Xuchang Binjai Surabaya Bonyhád Takahashi Cottbus Gyál Marseille Ouarzazate Tandil Hajdúhadház Szolnok Kidapawan Riyadh Saiki Ústí nad Orlicí Surigao City Katsuyama Ibrány Vigan Kunszentmárton Florianópolis Kiskunfélegyháza Tagum Őriszentpéter Kariya Žďár nad Sázavou Tiszavasvári Hodonín Kitsuki Hohhot Fehérgyarmat Dorog Alcoi Cape Coast Polgár Gibraltar Letenye Püspökladány Berettyóújfalu Tiszaújváros Putnok Zhanjiang Torgau Kiskunmajsa Saga Békéscsaba Durjaya Tsu Heidelberg Oxford Komárom Athkatla Nanning Shimabara Barcs Sásd Cebu City Kunszentmiklós Samarinda Kassel Tamási Keszthely Olbia Akō Szentlőrinc Adony Stanley Viseu Ürümqi Vaduz Bandung Pannonhalma Zhengzhou Rupea Tabuk Santa Rosa Hatvan Sümeg Szerencs Vác Znojmo Islamabad Kendari Fonyód Penza Shijiazhuang Fukushima Taketa Törökszentmiklós Batangas City Tapolca Abu Dhabi Třebíč Eger Koblenz Yonezawa Iloilo City Yanagawa Kistelek Bukittinggi Waren (Müritz) Kerma Maasin Strasbourg Baktalórántháza Aizuwakamatsu Mosonmagyaróvár Sondershausen Wellington Masbate City Turquoise Mountain Mbabane Kayes Abashiri Freiberg Tarlac Banjarmasin Békés Nakatsu Elek Emmen Sellye Mátészalka Dodoma Hattusa Ōsakasayama Nyírbátor Bicske Doha Chandigarh Antipolo Worms Cigánd Pekanbaru Tanjung Pinang Kigali Kutná Hora Digos Kisvárda Antananarivo Tandag Uda Tsuyama Mati Oral Ōmura Hódmezővásárhely Martonvásár Dabas Malolos Rumoi Kisarazu Obihiro Smolensk Dombóvár Brno Metro, Indonesia Burriana Sátoraljaújhely Hajdúszoboszló Uto Derecske Fukuoka Calimport Szigetszentmiklós Monor Pagadian Kemecse Enying Maloe Verevo Druzhnaya Gorka Yamaguchi Regensburg Darmstadt Port-au-Prince Kota Kinabalu Encs Oroszlány Pécsvárad Riga Kalocsa Tolna Coburg Balatonfüred Annaka Neubrandenburg Kostanay Weimar Sárospatak Leipzig Speyer Bácsalmás Bandar Lampung Aszód Saint Anne Wau, South Sudan Obama Szombathely Hanoi Edmonton Kiskunhalas Malaybalay Csurgó Abuja Heves Rosenheim Abony Pontianak HigashiMatsuyama Eisenach Gárdony Palayan Sakura Cegléd Bouaké Pápa Kunming Várpalota Kazincbarcika Jánoshalma Salto Mohács Ōzu Siófok Tagbilaran Caracas Morioka Lucknow Patna Ungaran Hirado Koronadal Carn Dûm Mórahalom Miyazu Hajdúnánás Balassagyarmat Padang Pilisvörösvár Vyritsa Ogi Samarkand Szob Augsburg Cheb Agartala Yinchuan Tiszakécske Rétság Palikir Vojskovitsy Hefei Wollongong Suzuka Khost Imus Mannheim Orosháza Kushiro Medan Mainz Wiesbaden Cagayan de Oro Jambi Szentendre Nordhausen Mataram Yangzhou Santa Fe Mezőtúr Pasuruan Dunakeszi Shangqiu Sucre Manado Szarvas Szentgotthárd Yamoussoukro Gyomaendrőd Balmazújváros Hohenstein-Ernstthal Andorra la Vella Roxas Tuguegarao České Budějovice Kupang Komló Karcag Palangkaraya Sarkad Ajka Bangalore Most Fuchū Lhasa Oelsnitz, Vogtland Marienberg Körmend Nanchang Siklós Kisbér Haikou Tacloban San Fernando Wa Veszprém Iwamizawa Carcassonne Tatabánya Nemuro Baja Brand-Erbisdorf Fukuchiyama Annaberg-Buchholz Szekszárd Salgótarján Aue Chemnitz Hagi Vyškov Santiago Karatsu Xining Pangkal Pinang Sokolov Yellowknife Kaposvár Bacolod Lenti Catbalogan Schmalkalden Lyon Ráckeve Wakkanai Hajdúböszörmény Sopron Miramar Sárvár Blansko Freiburg im Breisgau Vecsés Windhoek Dijon Brandenburg an der Havel Praia Gera Tehran Shaoxing Xàtiva Borongan Mezőkövesd Jihlava San Fernando Oroquieta Batumi Denpasar Kőszeg Nyíradony Calapan Mór Jaipur Csongrád Kiskőrös Gödöllő Tokaj Gyöngyös Tatsuno Quito Usuki Kashima Agadir Inuyama Edelény Pomáz Tab Cocentaina Bengkulu Füzesabony Hurghada Písek Ilagan Bóly Tét Tokushima Dunaújváros Lucena
473
action count
action approx
action find_tuple_counts
relation capital of
type city
type state
action count
action filter_type
action find
entity Manado
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?a ) WHERE { ?p property:capital_of ?b . ?p rdf:type ontology:city . ?b rdf:type ontology:state } GROUP BY ?p } . FILTER ( ?a = ?w ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x rdf:type ontology:city . resource:Manado property:capital_of ?x } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3435621
P355
Q874405 Q874405 Q740752
USER
Which social groups are the subordinates of approximately the same number of social groups or transport companies as Elektrárna Dětmarovice ?
(c(Q874405)|c(Q740752),P355,c(Q874405))
action approx
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q874405
action find_reverse_tuple_counts
relation P355
type Q874405
type Q740752
action count
action filter_multi_types
action find_reverse
entity Q3435621
relation P355
type Q874405
type Q740752
[[{'concept': 'Q874405'}, {'concept': 'Q740752'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?x ) WHERE { { ?m property:P355 ?e . ?m rdf:type ontology:Q874405 . ?e rdf:type ontology:Q874405 } UNION { ?m property:P355 ?e . ?m rdf:type ontology:Q740752 . ?e rdf:type ontology:Q874405 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:P355 resource:Q3435621 . { ?n rdf:type ?h . VALUES ( ?h ) { ( ontology:Q874405 ) ( ontology:Q740752 ) } } } } . FILTER ( ?x = ?k ) }
Elektrárna Dětmarovice
action approx
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type social group
action find_reverse_tuple_counts
relation subsidiary
type social group
type transport company
action count
action filter_multi_types
action find_reverse
entity Elektrárna Dětmarovice
relation subsidiary
type social group
type transport company
[[{'concept': 'social group'}, {'concept': 'transport company'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?x ) WHERE { { ?m property:subsidiary ?e . ?m rdf:type ontology:social_group . ?e rdf:type ontology:social_group } UNION { ?m property:subsidiary ?e . ?m rdf:type ontology:transport_company . ?e rdf:type ontology:social_group } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:subsidiary resource:Elektrárna_Dětmarovice . { ?n rdf:type ?h . VALUES ( ?h ) { ( ontology:social_group ) ( ontology:transport_company ) } } } } . FILTER ( ?x = ?k ) }
[]
social group social group transport company
Q7660181 Q1377855 Q740308
SYSTEM
Sydney Trains, Google.org, UNICEF
Q2522363 Q751152 Q928183 Q1114200 Q11788418 Q4929965 Q13359824 Q7660181 Q82610 Q13431465 Q2860866 Q4698479 Q3519460 Q14623752 Q2044206 Q1203555 Q781027 Q13218607 Q2543504 Q3913196 Q3435621 Q5892736 Q3274087 Q13416804 Q4698480 Q1377855 Q161718 Q477386 Q5153705 Q408396 Q11722823 Q14334150 Q3954348 Q890180 Q15293666 Q1411739 Q10955989 Q2990871 Q740308 Q549157
(c(Q874405)|c(Q740752),P355,c(Q874405))
action approx
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q874405
action find_reverse_tuple_counts
relation P355
type Q874405
type Q740752
action count
action filter_multi_types
action find_reverse
entity Q3435621
relation P355
type Q874405
type Q740752
[ANSWERS] are the subordinates of approximately the same number of social groups or transport companies as Elektrárna Dětmarovice
[[{'concept': 'Q874405'}, {'concept': 'Q740752'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?x ) WHERE { { ?m property:P355 ?e . ?m rdf:type ontology:Q874405 . ?e rdf:type ontology:Q874405 } UNION { ?m property:P355 ?e . ?m rdf:type ontology:Q740752 . ?e rdf:type ontology:Q874405 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:P355 resource:Q3435621 . { ?n rdf:type ?h . VALUES ( ?h ) { ( ontology:Q874405 ) ( ontology:Q740752 ) } } } } . FILTER ( ?x = ?k ) }
Victor Gollancz Ltd Astrium Services SABCA Picnik NWR Karbonia Blue Triangle Immobilière Dassault Sydney Trains Newport News Shipbuilding Thales Air Defence Areva TA Airbus ProSky Thales Underwater Systems Pink BH PIK Vrbovec Deutsche Messe AG Audi Hungaria Motor Kft. RBS Securities Saturn Thales Nederland Elektrárna Dětmarovice Honda Taiwan United Front Work Department Warner Bros. Animation Airbus Operations S.A.S. Google.org United Nations Development Programme EADS Astrium Space Transportation Commonwealth Business Council Airbus Transport International Centrum Holdings MediaCorp Raintree Pictures Commonwealth Secretariat Boeing Canada Straßenbahn Kleve Time Inc. Media Asia Film Distribution Company Comptoir métallurgique marocain UNICEF Airlines Tonga
Sydney Trains, Google.org and UNICEF are the subordinates of approximately the same number of social groups or transport companies as Elektrárna Dětmarovice
Sydney Trains Google.org UNICEF
action approx
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type social group
action find_reverse_tuple_counts
relation subsidiary
type social group
type transport company
action count
action filter_multi_types
action find_reverse
entity Elektrárna Dětmarovice
relation subsidiary
type social group
type transport company
[[{'concept': 'social group'}, {'concept': 'transport company'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?x ) WHERE { { ?m property:subsidiary ?e . ?m rdf:type ontology:social_group . ?e rdf:type ontology:social_group } UNION { ?m property:subsidiary ?e . ?m rdf:type ontology:transport_company . ?e rdf:type ontology:social_group } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:subsidiary resource:Elektrárna_Dětmarovice . { ?n rdf:type ?h . VALUES ( ?h ) { ( ontology:social_group ) ( ontology:transport_company ) } } } } . FILTER ( ?x = ?k ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q13359824
P355
Q874405 Q874405 Q740752
USER
And also tell me about Immobilière Dassault?
(c(Q874405)|c(Q740752),P355,c(Q874405))
action approx
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q874405
action find_reverse_tuple_counts
relation P355
type Q874405
type Q740752
action count
action filter_multi_types
action find_reverse
entity Q13359824
relation P355
type Q874405
type Q740752
[[{'concept': 'Q874405'}, {'concept': 'Q740752'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?i WHERE { VALUES ( ?m ) { ( ontology:Q874405 ) ( ontology:Q740752 ) } . ?b rdf:type ?m } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { ?x property:P355 resource:Q13359824 . { { ?x rdf:type ontology:Q740752 } UNION { ?x rdf:type ontology:Q874405 } } } } . FILTER ( ?e = ?t ) }
Immobilière Dassault
action approx
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type social group
action find_reverse_tuple_counts
relation subsidiary
type social group
type transport company
action count
action filter_multi_types
action find_reverse
entity Immobilière Dassault
relation subsidiary
type social group
type transport company
[[{'concept': 'social group'}, {'concept': 'transport company'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?i WHERE { VALUES ( ?m ) { ( ontology:social_group ) ( ontology:transport_company ) } . ?b rdf:type ?m } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { ?x property:subsidiary resource:Immobilière_Dassault . { { ?x rdf:type ontology:transport_company } UNION { ?x rdf:type ontology:social_group } } } } . FILTER ( ?e = ?t ) }
[]
social group social group transport company
Q7660181 Q1377855 Q740308
SYSTEM
Sydney Trains, Google.org, UNICEF
Q2522363 Q751152 Q928183 Q1114200 Q11788418 Q4929965 Q13359824 Q7660181 Q82610 Q13431465 Q2860866 Q4698479 Q3519460 Q14623752 Q2044206 Q1203555 Q781027 Q13218607 Q2543504 Q3913196 Q3435621 Q5892736 Q3274087 Q13416804 Q4698480 Q1377855 Q161718 Q477386 Q5153705 Q408396 Q11722823 Q14334150 Q3954348 Q890180 Q15293666 Q1411739 Q10955989 Q2990871 Q740308 Q549157
(c(Q874405)|c(Q740752),P355,c(Q874405))
action approx
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q874405
action find_reverse_tuple_counts
relation P355
type Q874405
type Q740752
action count
action filter_multi_types
action find_reverse
entity Q13359824
relation P355
type Q874405
type Q740752
[ANSWERS]
[[{'concept': 'Q874405'}, {'concept': 'Q740752'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?i WHERE { VALUES ( ?m ) { ( ontology:Q874405 ) ( ontology:Q740752 ) } . ?b rdf:type ?m } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { ?x property:P355 resource:Q13359824 . { { ?x rdf:type ontology:Q740752 } UNION { ?x rdf:type ontology:Q874405 } } } } . FILTER ( ?e = ?t ) }
Victor Gollancz Ltd Astrium Services SABCA Picnik NWR Karbonia Blue Triangle Immobilière Dassault Sydney Trains Newport News Shipbuilding Thales Air Defence Areva TA Airbus ProSky Thales Underwater Systems Pink BH PIK Vrbovec Deutsche Messe AG Audi Hungaria Motor Kft. RBS Securities Saturn Thales Nederland Elektrárna Dětmarovice Honda Taiwan United Front Work Department Warner Bros. Animation Airbus Operations S.A.S. Google.org United Nations Development Programme EADS Astrium Space Transportation Commonwealth Business Council Airbus Transport International Centrum Holdings MediaCorp Raintree Pictures Commonwealth Secretariat Boeing Canada Straßenbahn Kleve Time Inc. Media Asia Film Distribution Company Comptoir métallurgique marocain UNICEF Airlines Tonga
Sydney Trains Google.org UNICEF
action approx
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type social group
action find_reverse_tuple_counts
relation subsidiary
type social group
type transport company
action count
action filter_multi_types
action find_reverse
entity Immobilière Dassault
relation subsidiary
type social group
type transport company
[[{'concept': 'social group'}, {'concept': 'transport company'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?i WHERE { VALUES ( ?m ) { ( ontology:social_group ) ( ontology:transport_company ) } . ?b rdf:type ?m } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { ?x property:subsidiary resource:Immobilière_Dassault . { { ?x rdf:type ontology:transport_company } UNION { ?x rdf:type ontology:social_group } } } } . FILTER ( ?e = ?t ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12490507
P36
Q56061
USER
Which administrative territory is associated to Rashidun Caliphate as the capital ?
(Q12490507,P36,c(Q56061))
action filter_type
action find
entity Q12490507
relation P36
type Q56061
['Q12490507', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q12490507 property:P36 ?m }
Rashidun Caliphate
action filter_type
action find
entity Rashidun Caliphate
relation capital
type administrative territorial entity
['Rashidun Caliphate', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Rashidun_Caliphate property:capital ?m }
[]
administrative territorial entity
Q35484
SYSTEM
Medina
Q35484
(Q12490507,P36,c(Q56061))
action filter_type
action find
entity Q12490507
relation P36
type Q56061
[ANSWER] is associated to Rashidun Caliphate as the capital
['Q12490507', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q12490507 property:P36 ?m }
Medina
Medina is associated to Rashidun Caliphate as the capital
Medina
action filter_type
action find
entity Rashidun Caliphate
relation capital
type administrative territorial entity
['Rashidun Caliphate', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Rashidun_Caliphate property:capital ?m }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q35484 Q851 Q101512
P17
Q15617994
USER
Is that administrative territory present in Saudi Arabia and Romano di Lombardia ?
(Q35484,P17,Q851) (Q35484,P17,Q101512)
action is_in
entity Q35484
action intersection
action find_reverse
entity Q851
relation P17
action find_reverse
entity Q101512
relation P17
['Q35484', 'P17', 'Q851'] ['Q35484', 'P17', 'Q101512']
ASK WHERE { resource:Q35484 property:P17 resource:Q851 . resource:Q35484 property:P17 resource:Q101512 }
Medina Saudi Arabia Romano di Lombardia
action is_in
entity Medina
action intersection
action find_reverse
entity Saudi Arabia
relation country
action find_reverse
entity Romano di Lombardia
relation country
['Medina', 'country', 'Saudi Arabia'] ['Medina', 'country', 'Romano di Lombardia']
ASK WHERE { resource:Medina property:country resource:Saudi_Arabia . resource:Medina property:country resource:Romano_di_Lombardia }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q35484,P17,Q851) (Q35484,P17,Q101512)
action is_in
entity Q35484
action intersection
action find_reverse
entity Q851
relation P17
action find_reverse
entity Q101512
relation P17
[ANSWER]
['Q35484', 'P17', 'Q851'] ['Q35484', 'P17', 'Q101512']
ASK WHERE { resource:Q35484 property:P17 resource:Q851 . resource:Q35484 property:P17 resource:Q101512 }
YES and NO respectively
action is_in
entity Medina
action intersection
action find_reverse
entity Saudi Arabia
relation country
action find_reverse
entity Romano di Lombardia
relation country
['Medina', 'country', 'Saudi Arabia'] ['Medina', 'country', 'Romano di Lombardia']
ASK WHERE { resource:Medina property:country resource:Saudi_Arabia . resource:Medina property:country resource:Romano_di_Lombardia }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q35484
P17
Q15617994
USER
How many administrative territories are Medina situated in ?
(Q35484,P17,c(Q15617994))
action count
action filter_type
action find
entity Q35484
relation P17
type Q15617994
['Q35484', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { ?p rdf:type ontology:Q15617994 . resource:Q35484 property:P17 ?p }
Medina
action count
action filter_type
action find
entity Medina
relation country
type designation for an administrative territorial entity
['Medina', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Medina property:country ?p }
[]
designation for an administrative territorial entity
SYSTEM
1
Q851
(Q35484,P17,c(Q15617994))
action count
action filter_type
action find
entity Q35484
relation P17
type Q15617994
[ANSWER]
['Q35484', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { ?p rdf:type ontology:Q15617994 . resource:Q35484 property:P17 ?p }
Saudi Arabia
1
action count
action filter_type
action find
entity Medina
relation country
type designation for an administrative territorial entity
['Medina', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Medina property:country ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6325914
P1408
Q486972
USER
Which human settlement did KBJK get a license to broadcast to ?
(Q6325914,P1408,c(Q486972))
action filter_type
action find
entity Q6325914
relation P1408
type Q486972
['Q6325914', 'P1408', {'concept': 'Q486972'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q486972 . resource:Q6325914 property:P1408 ?w }
KBJK
action filter_type
action find
entity KBJK
relation licensed to broadcast to
type human settlement
['KBJK', 'licensed to broadcast to', {'concept': 'human settlement'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:human_settlement . resource:KBJK property:licensed_to_broadcast_to ?w }
[]
human settlement
Q2514220
SYSTEM
Concow
Q2514220
(Q6325914,P1408,c(Q486972))
action filter_type
action find
entity Q6325914
relation P1408
type Q486972
KBJK got a license to broadcast to the [ANSWER]
['Q6325914', 'P1408', {'concept': 'Q486972'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q486972 . resource:Q6325914 property:P1408 ?w }
Concow
KBJK got a license to broadcast to the Concow
Concow
action filter_type
action find
entity KBJK
relation licensed to broadcast to
type human settlement
['KBJK', 'licensed to broadcast to', {'concept': 'human settlement'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:human_settlement . resource:KBJK property:licensed_to_broadcast_to ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7660181
P137
Q83620
USER
Which thoroughfares are the administrator of Sydney Trains ?
(c(Q83620),P137,Q7660181)
action filter_type
action find_reverse
entity Q7660181
relation P137
type Q83620
[{'concept': 'Q83620'}, 'P137', 'Q7660181']
SELECT DISTINCT ?p WHERE { ?p property:P137 resource:Q7660181 . ?p rdf:type ontology:Q83620 }
Sydney Trains
action filter_type
action find_reverse
entity Sydney Trains
relation operator
type thoroughfare
[{'concept': 'thoroughfare'}, 'operator', 'Sydney Trains']
SELECT DISTINCT ?p WHERE { ?p property:operator resource:Sydney_Trains . ?p rdf:type ontology:thoroughfare }
[]
thoroughfare
Q5041326 Q7056726 Q7427195
SYSTEM
Carlingford Line, North Shore railway line, Olympic Park railway line
Q7427195 Q7056726 Q4698965 Q5041326
(c(Q83620),P137,Q7660181)
action filter_type
action find_reverse
entity Q7660181
relation P137
type Q83620
And [ANSWERS] are the administrator of Sydney Trains
[{'concept': 'Q83620'}, 'P137', 'Q7660181']
SELECT DISTINCT ?p WHERE { ?p property:P137 resource:Q7660181 . ?p rdf:type ontology:Q83620 }
Olympic Park railway line North Shore railway line Airport and East Hills Line Carlingford Line
And Carlingford Line, North Shore railway line and Olympic Park railway line are the administrator of Sydney Trains
Carlingford Line North Shore railway line Olympic Park railway line
action filter_type
action find_reverse
entity Sydney Trains
relation operator
type thoroughfare
[{'concept': 'thoroughfare'}, 'operator', 'Sydney Trains']
SELECT DISTINCT ?p WHERE { ?p property:operator resource:Sydney_Trains . ?p rdf:type ontology:thoroughfare }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12490507
P361
Q1307214
USER
What is Rashidun Caliphate a portion of ?
(Q12490507,P361,c(Q1307214))
action filter_type
action find
entity Q12490507
relation P361
type Q1307214
['Q12490507', 'P361', {'concept': 'Q1307214'}]
SELECT DISTINCT ?q WHERE { resource:Q12490507 property:P361 ?q . ?q rdf:type ontology:Q1307214 }
Rashidun Caliphate
action filter_type
action find
entity Rashidun Caliphate
relation part of
type form of government
['Rashidun Caliphate', 'part of', {'concept': 'form of government'}]
SELECT DISTINCT ?q WHERE { resource:Rashidun_Caliphate property:part_of ?q . ?q rdf:type ontology:form_of_government }
[]
form of government
Q131401
SYSTEM
caliphate
Q131401
(Q12490507,P361,c(Q1307214))
action filter_type
action find
entity Q12490507
relation P361
type Q1307214
Rashidun [ANSWER] a portion of is a [ANSWER]
['Q12490507', 'P361', {'concept': 'Q1307214'}]
SELECT DISTINCT ?q WHERE { resource:Q12490507 property:P361 ?q . ?q rdf:type ontology:Q1307214 }
caliphate
Rashidun Caliphate a portion of is a caliphate
caliphate
action filter_type
action find
entity Rashidun Caliphate
relation part of
type form of government
['Rashidun Caliphate', 'part of', {'concept': 'form of government'}]
SELECT DISTINCT ?q WHERE { resource:Rashidun_Caliphate property:part_of ?q . ?q rdf:type ontology:form_of_government }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q131401
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of that one ?
(Q131401,P1313,c(Q12737077))
action filter_type
action find
entity Q131401
relation P1313
type Q12737077
['Q131401', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q131401 property:P1313 ?m . ?m rdf:type ontology:Q12737077 }
caliphate
action filter_type
action find
entity caliphate
relation office held by head of government
type occupation
['caliphate', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:caliphate property:office_held_by_head_of_government ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q65997
SYSTEM
caliph
Q65997
(Q131401,P1313,c(Q12737077))
action filter_type
action find
entity Q131401
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of that one
['Q131401', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q131401 property:P1313 ?m . ?m rdf:type ontology:Q12737077 }
caliph
The caliph serves as the political office that is fulfilled by the head of the government of that one
caliph
action filter_type
action find
entity caliphate
relation office held by head of government
type occupation
['caliphate', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:caliphate property:office_held_by_head_of_government ?m . ?m rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q5041326 Q15903207
P1192
Q55488
USER
How many railway stations have Carlingford Line or Light Rail Routes 615 and 615P as connecting station ?
(c(Q55488),P1192,Q5041326) (c(Q55488),P1192,Q15903207)
action count
action union
action filter_type
action find_reverse
entity Q5041326
relation P1192
type Q55488
action filter_type
action find_reverse
entity Q15903207
relation P1192
type Q55488
[{'concept': 'Q55488'}, 'P1192', 'Q5041326'] [{'concept': 'Q55488'}, 'P1192', 'Q15903207']
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { VALUES ( ?f ) { ( resource:Q5041326 ) ( resource:Q15903207 ) } . ?z property:P1192 ?f }
Carlingford Line Light Rail Routes 615 and 615P
action count
action union
action filter_type
action find_reverse
entity Carlingford Line
relation connecting service
type railway station
action filter_type
action find_reverse
entity Light Rail Routes 615 and 615P
relation connecting service
type railway station
[{'concept': 'railway station'}, 'connecting service', 'Carlingford Line'] [{'concept': 'railway station'}, 'connecting service', 'Light Rail Routes 615 and 615P']
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { VALUES ( ?f ) { ( resource:Carlingford_Line ) ( resource:Light_Rail_Routes_615_and_615P ) } . ?z property:connecting_service ?f }
[]
railway station
SYSTEM
27
Q846573 Q8421568 Q7504746 Q7807772 Q6480700 Q7195690 Q6534579 Q7493209 Q855333 Q7415396 Q14453731 Q847684 Q7675847 Q846595 Q8423208 Q724559 Q846545 Q6383532 Q5100990 Q7820923 Q855273 Q8427262 Q6864656 Q5116344 Q6410316 Q841853 Q5509154
(c(Q55488),P1192,Q5041326) (c(Q55488),P1192,Q15903207)
action count
action union
action filter_type
action find_reverse
entity Q5041326
relation P1192
type Q55488
action filter_type
action find_reverse
entity Q15903207
relation P1192
type Q55488
[ANSWER]
[{'concept': 'Q55488'}, 'P1192', 'Q5041326'] [{'concept': 'Q55488'}, 'P1192', 'Q15903207']
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { VALUES ( ?f ) { ( resource:Q5041326 ) ( resource:Q15903207 ) } . ?z property:P1192 ?f }
Tsing Wun Stop Nai Wai Stop Shui Pin Wai Stop Tin King Stop Lam Tei Stop Ping Shan Stop Leung King Stop Shek Pai Stop Butterfly Stop San Wai Stop Yuen Long Stop Light Rail Depot Stop Tai Tong Road Stop Lung Mun Stop Hong Lok Road Stop Siu Hong Stop Tsing Shan Tsuen Stop Kei Lun Stop Ching Chung Stop Tong Fong Tsuen Stop Melody Garden Stop Hung Shui Kiu Stop Ming Kum Stop Chung Uk Tsuen Stop Kin Sang Stop Tuen Mun Ferry Pier Stop Fung Nin Road Stop
27
action count
action union
action filter_type
action find_reverse
entity Carlingford Line
relation connecting service
type railway station
action filter_type
action find_reverse
entity Light Rail Routes 615 and 615P
relation connecting service
type railway station
[{'concept': 'railway station'}, 'connecting service', 'Carlingford Line'] [{'concept': 'railway station'}, 'connecting service', 'Light Rail Routes 615 and 615P']
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { VALUES ( ?f ) { ( resource:Carlingford_Line ) ( resource:Light_Rail_Routes_615_and_615P ) } . ?z property:connecting_service ?f }
[]