Simple Question (Direct)
Simple Question
Q78604
P21
Q290
USER
What is the sex of Fritz Machlup ?
(Q78604,P21,c(Q290))
action filter_type
action find
entity Q78604
relation P21
type Q290
['Q78604', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q78604 property:P21 ?w . ?w rdf:type ontology:Q290 }
Fritz Machlup
action filter_type
action find
entity Fritz Machlup
relation gender
type sex
['Fritz Machlup', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Fritz_Machlup property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q78604,P21,c(Q290))
action filter_type
action find
entity Q78604
relation P21
type Q290
The sex of Fritz Machlup is the [ANSWER]
['Q78604', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q78604 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
The sex of Fritz Machlup is the male
male
action filter_type
action find
entity Fritz Machlup
relation gender
type sex
['Fritz Machlup', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Fritz_Machlup property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q78604
P19
Q486972
USER
Which human settlement is the birthplace of that person ?
(Q6581097,P19,c(Q486972))
action filter_type
action find
entity Q78604
relation P19
type Q486972
['Q6581097', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q486972 . resource:Q78604 property:P19 ?s }
Fritz Machlup
action filter_type
action find
entity Fritz Machlup
relation place of birth
type human settlement
['male', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:human_settlement . resource:Fritz_Machlup property:place_of_birth ?s }
[]
human settlement
Q131612
SYSTEM
Wiener Neustadt
Q131612
(Q6581097,P19,c(Q486972))
action filter_type
action find
entity Q78604
relation P19
type Q486972
[ANSWER] is the birthplace of that person
['Q6581097', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q486972 . resource:Q78604 property:P19 ?s }
Wiener Neustadt
Wiener Neustadt is the birthplace of that person
Wiener Neustadt
action filter_type
action find
entity Fritz Machlup
relation place of birth
type human settlement
['male', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:human_settlement . resource:Fritz_Machlup property:place_of_birth ?s }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6581097 Q6581072
P21
Q502895
USER
How many people have the gender as male and female ?
(c(Q502895),P21,Q6581097) (c(Q502895),P21,Q6581072)
action count
action intersection
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q502895
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q502895
[{'concept': 'Q502895'}, 'P21', 'Q6581097'] [{'concept': 'Q502895'}, 'P21', 'Q6581072']
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:P21 resource:Q6581097 . ?b rdf:type ontology:Q502895 . ?b property:P21 resource:Q6581072 . ?b rdf:type ontology:Q502895 }
male female
action count
action intersection
action filter_type
action find_reverse
entity male
relation gender
type common name
action filter_type
action find_reverse
entity female
relation gender
type common name
[{'concept': 'common name'}, 'gender', 'male'] [{'concept': 'common name'}, 'gender', 'female']
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:gender resource:male . ?b rdf:type ontology:common_name . ?b property:gender resource:female . ?b rdf:type ontology:common_name }
[]
common name
SYSTEM
114
Q12966459 Q24500675 Q17600942 Q3260705 Q5874237 Q21391750 Q17225819 Q21258362 Q16941580 Q16733519 Q11622868 Q6702791 Q10263785 Q6571041 Q16165783 Q16732132 Q24264223 Q20401379 Q20119921 Q2312612 Q16164967 Q19357604 Q6555624 Q12586819 Q23698979 Q17628096 Q22342662 Q525066 Q9544977 Q503007 Q22280111 Q22102078 Q5482749 Q21392153 Q201204 Q10281088 Q442804 Q16767898 Q22570074 Q21601127 Q12403076 Q14432239 Q12734885 Q734662 Q22808784 Q24034956 Q19957341 Q6258596 Q22236117 Q11379959 Q24807469 Q21857402 Q5972494 Q5569499 Q11449790 Q2379965 Q3575012 Q3764762 Q7377573 Q20068820 Q6031433 Q21794041 Q6438624 Q25768293 Q19448005 Q21503040 Q17148031 Q11604340 Q17158335 Q11815936 Q17364527 Q22280435 Q15934058 Q18559837 Q11201210 Q25748324 Q459844 Q22001922 Q3291942 Q17621841 Q20980163 Q23416861 Q11531266 Q4255661 Q22675675 Q528434 Q237726 Q74813 Q2668396 Q298423 Q22073991 Q503575 Q453573 Q22095108 Q242700 Q18049905 Q26921704 Q2882250 Q18346977 Q2939204 Q3809749 Q12685049 Q21033490 Q5856706 Q6003690 Q4979792 Q12613187 Q7849225 Q16582167 Q19543099 Q16865281 Q15807938 Q12872947 Q15433626
(c(Q502895),P21,Q6581097) (c(Q502895),P21,Q6581072)
action count
action intersection
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q502895
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P21', 'Q6581097'] [{'concept': 'Q502895'}, 'P21', 'Q6581072']
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:P21 resource:Q6581097 . ?b rdf:type ontology:Q502895 . ?b property:P21 resource:Q6581072 . ?b rdf:type ontology:Q502895 }
Kim Ju-yeong Amadeus Serafini Gert Portael Louis-Marie Autissier Hom Nguyen George Mather Luer Hajime Hyakkoku Dominique Van Der Straeten Antonio Merayo Ali Nuhu Kodai Fujii Luli Bitri Dalmau IV de Rocabertí Diemut Theato America Sanchez Robin Mathews Milko Tokola Hakima El Haite Lee Parkhill Floris Meydam Ivan Almeida Hamda Khamis Hana Shezifi Gilgun Elmo Jankari Rafeef Ziadah Magdalena Mayr Liss Eriksson Lilly Wachowski Andreja Pejić Yengkhom Roma Letebrhan Haylay Gebreslasea Francis Wheatley Jian-Huan Yang Dana International Fenedy Masauvakalo Anna Grodzka Chanmi Elisabeth Ullmann Marina Lampraki-Plaka Ángel Martínez Ortega Benny Motzfeldt Maria-Magdalena Zaharescu Joan de Munchensi Annegret Kuhn Jaki Irvine Tinne De Caigny John Spaulding Colombe Marcasiano Kazue Itō Kudirat Akhigbe Miska Humaloja Leeland Dayton Mooring Glenys Barton Terunobu Utsunomiya Thomas Beatie Zdeněk Koubek Shamshad Begum Rudy Autio Lesya Nikityuk Matthew W. Taylor Jelizaveta Potapova Gaz Beadle Shagdaryn Bira Juan Illas y Vidal Kenneth Neil Maria Espinalt i Font Akira Yoneda Songhaye Petia Stawrewa Ángel Tejeda Sun Vandeth Matsudaira Yoshiko Mirabel Topham Asmik Grigorian K. T. Rama Rao Norah Al Faiz Suzanne Schulting Marie-Joseph Charles des Acres de l'Aigle Marta Linares Engel Reimers Ivica Mavrenski Miki Matsumoto Adolfine Therese Leander-Flodin Nikola Jakadofsky Daniele Hypólito Rosalba Carriera Mina Caputo Parinya Charoenphol Chelsea Manning Saalumarada Thimmakka Cesare Nebbia Vicki Richter Taofik Adegbite Naima Mora Stanisława Witekowa Jean-Marie Aleokol Mabieme Jingjing Wang Jan Norback Carlo Guasco Jaiyah Saelua Chew Mei Fun Silke Weitendorf Ingel Fallstedt María Elena Orantes Emma Josepha Sparre Lee Hye-jin Kim Ye-ri Jorge Garate Ionna Stephanopoli Choi Jung-moon Elvire De Bruyn Frosso Kiaou Florence Randal Livesay
114
action count
action intersection
action filter_type
action find_reverse
entity male
relation gender
type common name
action filter_type
action find_reverse
entity female
relation gender
type common name
[{'concept': 'common name'}, 'gender', 'male'] [{'concept': 'common name'}, 'gender', 'female']
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:gender resource:male . ?b rdf:type ontology:common_name . ?b property:gender resource:female . ?b rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q583280
P190
Q486972 Q1048835
USER
How many political territories are sister town of approximately the same number of human settlements as Uncastillo ?
(c(Q1048835),P190,c(Q486972))
action count
action approx
action find_tuple_counts
relation P190
type Q1048835
type Q486972
action count
action filter_type
action find
entity Q583280
relation P190
type Q1048835
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?g ) WHERE { ?d rdf:type ontology:Q486972 . ?m rdf:type ontology:Q1048835 . ?m property:P190 ?d } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:Q583280 property:P190 ?y . ?y rdf:type ontology:Q1048835 } } . FILTER ( ?g = ?o ) }
Uncastillo
action count
action approx
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
action count
action filter_type
action find
entity Uncastillo
relation sister city
type political territorial entity
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?g ) WHERE { ?d rdf:type ontology:human_settlement . ?m rdf:type ontology:political_territorial_entity . ?m property:sister_city ?d } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:Uncastillo property:sister_city ?y . ?y rdf:type ontology:political_territorial_entity } } . FILTER ( ?g = ?o ) }
[]
human settlement political territorial entity
SYSTEM
414
Q473250 Q484717 Q1442814 Q1628188 Q36947 Q1794732 Q15473 Q484552 Q15471 Q786126 Q1643855 Q13010 Q927931 Q147774 Q1765078 Q6022 Q910410 Q2101408 Q5913 Q187826 Q1312844 Q2047561 Q1391501 Q207111 Q164197 Q926713 Q15619 Q321331 Q1853429 Q667682 Q686837 Q476793 Q919050 Q8554 Q12590 Q433632 Q12595 Q842713 Q1649476 Q210887 Q30002 Q659450 Q189952 Q693258 Q644891 Q12153 Q4480 Q15470 Q168376 Q496368 Q686304 Q624967 Q11286 Q20937 Q13150 Q13156 Q496424 Q824651 Q208669 Q8602 Q15430 Q984508 Q7909 Q109188 Q7902 Q538809 Q7905 Q815631 Q7907 Q63004 Q277302 Q1021521 Q642083 Q752280 Q326651 Q41157 Q899884 Q1750915 Q832246 Q542958 Q2566267 Q752137 Q164867 Q12647 Q1793709 Q499922 Q1655081 Q376393 Q3741 Q2392504 Q1161455 Q34028 Q211889 Q820229 Q226009 Q54902 Q840362 Q427330 Q596761 Q1439157 Q398698 Q1616611 Q505610 Q12110 Q1621191 Q13916 Q487268 Q13424 Q535531 Q49581 Q180200 Q1637478 Q1407143 Q1606055 Q787022 Q1101945 Q844784 Q694833 Q5123 Q1110343 Q13785 Q193780 Q574340 Q178993 Q15950 Q3850873 Q161945 Q64010 Q140203 Q917693 Q156819 Q1757489 Q258722 Q1614754 Q1613282 Q375925 Q550974 Q254699 Q956558 Q12690 Q824122 Q1010314 Q1915208 Q741765 Q478818 Q102848 Q15602 Q737161 Q1410782 Q583280 Q1750269 Q180981 Q695889 Q1651727 Q489839 Q740833 Q487801 Q13855 Q1730870 Q15649 Q592747 Q913492 Q1786658 Q750968 Q12022 Q12028 Q500494 Q1919317 Q1771128 Q1635711 Q3397684 Q205681 Q428954 Q48344 Q1650316 Q11822 Q15429 Q798747 Q8182 Q691525 Q980131 Q33961 Q1758806 Q616621 Q1651638 Q7898 Q735759 Q583032 Q739495 Q7894 Q15551 Q15553 Q1386351 Q973325 Q15558 Q462218 Q937763 Q898563 Q371748 Q817960 Q693913 Q641221 Q167436 Q12812 Q1763754 Q840373 Q767222 Q1763574 Q170322 Q55480 Q189848 Q1641529 Q12102 Q12101 Q761735 Q1757392 Q192370 Q377244 Q847329 Q216802 Q1993019 Q13922 Q604810 Q512009 Q497801 Q1601699 Q131620 Q385017 Q12075 Q1917834 Q1632577 Q572800 Q170247 Q47475 Q11492 Q642046 Q4068849 Q1754551 Q1024828 Q844038 Q1807777 Q492533 Q845424 Q487096 Q491667 Q638181 Q1648251 Q623685 Q622836 Q622830 Q672483 Q748867 Q15968 Q993466 Q1639365 Q430147 Q15639 Q427505 Q1758141 Q2004395 Q6178 Q13490 Q13491 Q836948 Q936624 Q1641454 Q534483 Q1605505 Q555913 Q995637 Q729958 Q12034 Q468563 Q2967 Q856583 Q918586 Q944264 Q2099330 Q632621 Q581589 Q932808 Q122208 Q696797 Q1616138 Q1794121 Q1229949 Q1751908 Q18288148 Q763 Q502975 Q1998520 Q477311 Q207257 Q15652 Q984529 Q1228759 Q488555 Q49571 Q983473 Q755695 Q3586 Q1026229 Q92161 Q851020 Q643919 Q1312465 Q10863 Q5978 Q515016 Q714538 Q928094 Q825883 Q668324 Q582995 Q697126 Q484981 Q1272870 Q1651692 Q1649698 Q385923 Q677038 Q12534 Q501674 Q1767561 Q550985 Q13804 Q741749 Q1628531 Q1601614 Q42780 Q574869 Q919046 Q497692 Q837051 Q13936 Q2064788 Q13930 Q619692 Q16572 Q1641746 Q15597 Q23042 Q1637309 Q1998560 Q211925 Q5783 Q5785 Q835012 Q976534 Q1368982 Q202316 Q13149 Q290824 Q13755 Q986084 Q2244278 Q1368868 Q12711 Q1982975 Q13614 Q817302 Q6839 Q1630141 Q1757428 Q7911 Q596885 Q77433 Q318314 Q1646869 Q927800 Q749696 Q41161 Q28301 Q1613587 Q929759 Q622823 Q983433 Q15974 Q830776 Q242906 Q1228035 Q15623 Q15622 Q15621 Q3303729 Q15626 Q10485 Q671272 Q1657213 Q240 Q1607392 Q1605519 Q904212 Q946068 Q192387 Q2044406 Q842211 Q1242382 Q201149 Q68744 Q12335 Q229659 Q904130 Q13022 Q13159 Q778 Q15408 Q1751916 Q714613 Q1768489 Q646564 Q47593 Q215822 Q984642
(c(Q1048835),P190,c(Q486972))
action count
action approx
action find_tuple_counts
relation P190
type Q1048835
type Q486972
action count
action filter_type
action find
entity Q583280
relation P190
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?g ) WHERE { ?d rdf:type ontology:Q486972 . ?m rdf:type ontology:Q1048835 . ?m property:P190 ?d } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:Q583280 property:P190 ?y . ?y rdf:type ontology:Q1048835 } } . FILTER ( ?g = ?o ) }
Macaé San Sebastián de los Reyes Mazaricos Cangas Salvador Maracanaú Santa Coloma de Gramenet Algeciras Sant Adrià de Besòs Mundaka Monroy Arbúcies Cabra Zarautz Urussanga Göttingen Tres Cantos Guimarães Lüchow-Dannenberg Móstoles Alberic Cerdà Briviesca North Lanarkshire Coslada Parintins El Prat de Llobregat Novo Hamburgo Valverde Peñafiel, Spain Karrantza Arévalo Molina de Aragón Rhein-Pfalz-Kreis Malgrat de Mar Santa Cruz de La Palma Palafolls Itajaí Algemesí Sanlúcar de Barrameda Chengdu Santarém Lääne-Viru County San Bartolomé de Tirajana Ruente Vilafant Balmaseda L'Hospitalet de Llobregat Vitória Wrexham Itambé Arafo Castelló d'Empúries Gyeonggi Province Torrox Montilla Calatayud Parla Maringá Westerwaldkreis Mollet del Vallès Sant Sadurní d'Anoia Main-Taunus-Kreis Pelotas Marburg-Biedenkopf Peligros Lahn-Dill-Kreis Belinho Rheingau-Taunus-Kreis Tocina Chiclana de la Frontera São João de Loure Arnedo Almagro, Ciudad Real Pomerode North Jeolla Province Ciutadella de Menorca Callosa de Segura Duruelo de la Sierra Torrelodones San Borja Tàrrega Rügen Vielha e Mijaran Iúna, Espírito Santo Porto Seguro Pastrana Brieskow-Finkenheerd Special Region of Yogyakarta Barreiro Macael Diamantina, Minas Gerais East Dunbartonshire Tomelloso Encantado Fuenlabrada Mondoñedo Salobreña Malpica de Bergantiños Criciúma Salvatierra/Agurain Crevillent Flintshire Arenys de Mar A Estrada Barberà del Vallès Candelaria Cassà de la Selva Farroupilha Jaca Harju County Quaraí Santa Amalia Caudete Autol Veranópolis Vale of Glamorgan Gramado Monzón Vélez-Rubio Cavite Almuñécar Las Gabias Palmas Igualada Rivne Torrent Caspe Zafra Santana do Livramento Joinville Cehegín Canals Medina de Pomar Alcaudete Vila Nova de Cerveira Atarfe Alanís Sádaba Sort Tui Museros Torredonjimeno San Fernando São José dos Pinhais Paiporta Cornellà de Llobregat Calanda Iznalloz Uncastillo Nova Pádua Kirovohrad Oblast Alfaro, La Rioja Pedrajas de San Esteban Torrejón de Ardoz Santa Maria Barakaldo Vic Oliveira do Douro, Vila Nova de Gaia Sant Vicenç dels Horts Las Rozas de Madrid Manilva Casca, Rio Grande do Sul Segorbe Montgat Teià Padrón Benifaió Carcaixent Abanilla Pontarddulais Cascavel Los Palacios y Villafranca Recife Villafeliche Roses Martorelles Mondorf-les-Bains Rastatt Villa El Salvador District Massaranduba, Santa Catarina Aratiba Arroio do Meio Escalona Cella Hersfeld-Rotenburg Collado Villalba Maracena Vilanova de Arousa Schwalm-Eder-Kreis Sitges Vilanova i la Geltrú Alcalá del Río Villanueva de la Cañada Cubelles Governador Valadares Graus Valdepeñas San Lorenzo de El Escorial Rhondda Cynon Taf Medina del Campo Viveiro João Pessoa Tortosa Bigastro Valdemoro Clavijo São Mateus, Espírito Santo Qingdao Colmenar Viejo Guernica Mora Caldes d'Estrac Arenys de Munt Montblanc Ilópolis Tartu County Catoira Comillas Falkirk Meliana Cerdanyola del Vallès Markina-Xemein San Sebastián de La Gomera Tolosa Villamanrique de la Condesa Natal Valencia de Don Juan Vilassar de Dalt Albaida Benalup-Casas Viejas Alcañiz Jinan Sigüenza Mataró Calahorra Argoncilhe Mostardas Luso Valverde del Camino Itiúba Andorra Peniscola Reus San Vicente del Raspeig / Sant Vicent del Raspeig Alcalá la Real Medina de Rioseco Ólvega Teresópolis Caruaru Ordizia Baiona Santa Margarita de Montbui Santa Cruz Cabrália La Muela Teror Sant Feliu de Llobregat Majadahonda São Pedro do Butiá Piraquara Oder-Spree Palafrugell Palamós Toro Fuentepelayo Calatorao Barcarrota Celanova Castril Torredembarra Mochola Alella Nova Friburgo Rendsburg-Eckernförde Gaspar, Santa Catarina Oliva Tacoronte, Santa Cruz de Tenerife Vicente López Partido Archena Oyón-Oion Ormaiztegi Olocau Balaguer Pilas Aquiraz El Perelló San Martín de Valdeiglesias Metropolitan City of Florence Saint Kitts and Nevis Barbastro L'Eliana Amposta East Lothian Viladecans Cariñena La Unión Baeza Sos del Rey Católico Novelda Fuenmayor East Java Miraflores Changchun Xàbia Torfaen County Borough Benifairó de la Valldigna Picassent Hildesheim Castuera Zapsonj Ponta Porã Valls San Adrián Lanjarón Bridgend County Borough Láchar Santiago de Figueiró Tudela de Duero Alaquàs Alcúdia San Miguel de Abona Sant Pol de Mar Alhama de Granada Valverde de Júcar Armilla Manlleu Chipiona Quintanar de la Orden Gerena Ningbo Pedrola Consuegra Arganda del Rey Mequinenza Sant Cugat del Vallès Lapa Almansa La Zubia Guangzhou Huelma Castelldefels Paterna Ezcaray Blanca East Renfrewshire Andalusia Cayman Islands Vilafranca del Penedès Castrillo Mota de Judíos Azuaga Foz do Iguaçu Nerja Ondara Bulacan Bétera Tías, Las Palmas Berantevilla Vall de Boí Los Alcázares Banyoles Benicarló Figueres Sayalonga Monte Belo do Sul Main-Kinzig-Kreis Blaenau Gwent County Borough Leganés Ipatinga Les Alqueries Bronniki Albalat de la Ribera South Jeolla Province Olinda Fregenal de la Sierra El Vendrell Uruguaiana Güímar Vilanova del Camí Yanoshi Ponta Grossa Ugao-Miraballes Martorell Gavà Esplugues de Llobregat Magdalena del Mar Olesa de Montserrat Deggendorf Calp Venta de Baños Brussels Madridejos Zuera Fraga Lezama Londrina L'Alcúdia San Fernando de Henares Elorrio Fife Xiamen Ripoll Zumaia Ribeira Amer Cañete la Real The Bahamas Castellterçol Villanueva del Pardillo Serne Utrillas Santo Domingo de la Calzada Belém Puertollano Canfranc
414
action count
action approx
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
action count
action filter_type
action find
entity Uncastillo
relation sister city
type political territorial entity
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?g ) WHERE { ?d rdf:type ontology:human_settlement . ?m rdf:type ontology:political_territorial_entity . ?m property:sister_city ?d } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:Uncastillo property:sister_city ?y . ?y rdf:type ontology:political_territorial_entity } } . FILTER ( ?g = ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q277302
P190
Q486972 Q1048835
USER
And what about Chiclana de la Frontera?
(c(Q1048835),P190,c(Q486972))
action count
action approx
action find_tuple_counts
relation P190
type Q1048835
type Q486972
action count
action filter_type
action find
entity Q277302
relation P190
type Q1048835
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?v ) WHERE { ?a property:P190 ?y . ?a rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q486972 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Q277302 property:P190 ?l . ?l rdf:type ontology:Q1048835 } } . FILTER ( ?v = ?w ) }
Chiclana de la Frontera
action count
action approx
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
action count
action filter_type
action find
entity Chiclana de la Frontera
relation sister city
type political territorial entity
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?v ) WHERE { ?a property:sister_city ?y . ?a rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:human_settlement } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Chiclana_de_la_Frontera property:sister_city ?l . ?l rdf:type ontology:political_territorial_entity } } . FILTER ( ?v = ?w ) }
[]
human settlement political territorial entity
SYSTEM
414
Q473250 Q484717 Q1442814 Q1628188 Q36947 Q1794732 Q15473 Q484552 Q15471 Q786126 Q1643855 Q13010 Q927931 Q147774 Q1765078 Q6022 Q910410 Q2101408 Q5913 Q187826 Q1312844 Q2047561 Q1391501 Q207111 Q164197 Q926713 Q15619 Q321331 Q1853429 Q667682 Q686837 Q476793 Q919050 Q8554 Q12590 Q433632 Q12595 Q842713 Q1649476 Q210887 Q30002 Q659450 Q189952 Q693258 Q644891 Q12153 Q4480 Q15470 Q168376 Q496368 Q686304 Q624967 Q11286 Q20937 Q13150 Q13156 Q496424 Q824651 Q208669 Q8602 Q15430 Q984508 Q7909 Q109188 Q7902 Q538809 Q7905 Q815631 Q7907 Q63004 Q277302 Q1021521 Q642083 Q752280 Q326651 Q41157 Q899884 Q1750915 Q832246 Q542958 Q2566267 Q752137 Q164867 Q12647 Q1793709 Q499922 Q1655081 Q376393 Q3741 Q2392504 Q1161455 Q34028 Q211889 Q820229 Q226009 Q54902 Q840362 Q427330 Q596761 Q1439157 Q398698 Q1616611 Q505610 Q12110 Q1621191 Q13916 Q487268 Q13424 Q535531 Q49581 Q180200 Q1637478 Q1407143 Q1606055 Q787022 Q1101945 Q844784 Q694833 Q5123 Q1110343 Q13785 Q193780 Q574340 Q178993 Q15950 Q3850873 Q161945 Q64010 Q140203 Q917693 Q156819 Q1757489 Q258722 Q1614754 Q1613282 Q375925 Q550974 Q254699 Q956558 Q12690 Q824122 Q1010314 Q1915208 Q741765 Q478818 Q102848 Q15602 Q737161 Q1410782 Q583280 Q1750269 Q180981 Q695889 Q1651727 Q489839 Q740833 Q487801 Q13855 Q1730870 Q15649 Q592747 Q913492 Q1786658 Q750968 Q12022 Q12028 Q500494 Q1919317 Q1771128 Q1635711 Q3397684 Q205681 Q428954 Q48344 Q1650316 Q11822 Q15429 Q798747 Q8182 Q691525 Q980131 Q33961 Q1758806 Q616621 Q1651638 Q7898 Q735759 Q583032 Q739495 Q7894 Q15551 Q15553 Q1386351 Q973325 Q15558 Q462218 Q937763 Q898563 Q371748 Q817960 Q693913 Q641221 Q167436 Q12812 Q1763754 Q840373 Q767222 Q1763574 Q170322 Q55480 Q189848 Q1641529 Q12102 Q12101 Q761735 Q1757392 Q192370 Q377244 Q847329 Q216802 Q1993019 Q13922 Q604810 Q512009 Q497801 Q1601699 Q131620 Q385017 Q12075 Q1917834 Q1632577 Q572800 Q170247 Q47475 Q11492 Q642046 Q4068849 Q1754551 Q1024828 Q844038 Q1807777 Q492533 Q845424 Q487096 Q491667 Q638181 Q1648251 Q623685 Q622836 Q622830 Q672483 Q748867 Q15968 Q993466 Q1639365 Q430147 Q15639 Q427505 Q1758141 Q2004395 Q6178 Q13490 Q13491 Q836948 Q936624 Q1641454 Q534483 Q1605505 Q555913 Q995637 Q729958 Q12034 Q468563 Q2967 Q856583 Q918586 Q944264 Q2099330 Q632621 Q581589 Q932808 Q122208 Q696797 Q1616138 Q1794121 Q1229949 Q1751908 Q18288148 Q763 Q502975 Q1998520 Q477311 Q207257 Q15652 Q984529 Q1228759 Q488555 Q49571 Q983473 Q755695 Q3586 Q1026229 Q92161 Q851020 Q643919 Q1312465 Q10863 Q5978 Q515016 Q714538 Q928094 Q825883 Q668324 Q582995 Q697126 Q484981 Q1272870 Q1651692 Q1649698 Q385923 Q677038 Q12534 Q501674 Q1767561 Q550985 Q13804 Q741749 Q1628531 Q1601614 Q42780 Q574869 Q919046 Q497692 Q837051 Q13936 Q2064788 Q13930 Q619692 Q16572 Q1641746 Q15597 Q23042 Q1637309 Q1998560 Q211925 Q5783 Q5785 Q835012 Q976534 Q1368982 Q202316 Q13149 Q290824 Q13755 Q986084 Q2244278 Q1368868 Q12711 Q1982975 Q13614 Q817302 Q6839 Q1630141 Q1757428 Q7911 Q596885 Q77433 Q318314 Q1646869 Q927800 Q749696 Q41161 Q28301 Q1613587 Q929759 Q622823 Q983433 Q15974 Q830776 Q242906 Q1228035 Q15623 Q15622 Q15621 Q3303729 Q15626 Q10485 Q671272 Q1657213 Q240 Q1607392 Q1605519 Q904212 Q946068 Q192387 Q2044406 Q842211 Q1242382 Q201149 Q68744 Q12335 Q229659 Q904130 Q13022 Q13159 Q778 Q15408 Q1751916 Q714613 Q1768489 Q646564 Q47593 Q215822 Q984642
(c(Q1048835),P190,c(Q486972))
action count
action approx
action find_tuple_counts
relation P190
type Q1048835
type Q486972
action count
action filter_type
action find
entity Q277302
relation P190
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?v ) WHERE { ?a property:P190 ?y . ?a rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q486972 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Q277302 property:P190 ?l . ?l rdf:type ontology:Q1048835 } } . FILTER ( ?v = ?w ) }
Macaé San Sebastián de los Reyes Mazaricos Cangas Salvador Maracanaú Santa Coloma de Gramenet Algeciras Sant Adrià de Besòs Mundaka Monroy Arbúcies Cabra Zarautz Urussanga Göttingen Tres Cantos Guimarães Lüchow-Dannenberg Móstoles Alberic Cerdà Briviesca North Lanarkshire Coslada Parintins El Prat de Llobregat Novo Hamburgo Valverde Peñafiel, Spain Karrantza Arévalo Molina de Aragón Rhein-Pfalz-Kreis Malgrat de Mar Santa Cruz de La Palma Palafolls Itajaí Algemesí Sanlúcar de Barrameda Chengdu Santarém Lääne-Viru County San Bartolomé de Tirajana Ruente Vilafant Balmaseda L'Hospitalet de Llobregat Vitória Wrexham Itambé Arafo Castelló d'Empúries Gyeonggi Province Torrox Montilla Calatayud Parla Maringá Westerwaldkreis Mollet del Vallès Sant Sadurní d'Anoia Main-Taunus-Kreis Pelotas Marburg-Biedenkopf Peligros Lahn-Dill-Kreis Belinho Rheingau-Taunus-Kreis Tocina Chiclana de la Frontera São João de Loure Arnedo Almagro, Ciudad Real Pomerode North Jeolla Province Ciutadella de Menorca Callosa de Segura Duruelo de la Sierra Torrelodones San Borja Tàrrega Rügen Vielha e Mijaran Iúna, Espírito Santo Porto Seguro Pastrana Brieskow-Finkenheerd Special Region of Yogyakarta Barreiro Macael Diamantina, Minas Gerais East Dunbartonshire Tomelloso Encantado Fuenlabrada Mondoñedo Salobreña Malpica de Bergantiños Criciúma Salvatierra/Agurain Crevillent Flintshire Arenys de Mar A Estrada Barberà del Vallès Candelaria Cassà de la Selva Farroupilha Jaca Harju County Quaraí Santa Amalia Caudete Autol Veranópolis Vale of Glamorgan Gramado Monzón Vélez-Rubio Cavite Almuñécar Las Gabias Palmas Igualada Rivne Torrent Caspe Zafra Santana do Livramento Joinville Cehegín Canals Medina de Pomar Alcaudete Vila Nova de Cerveira Atarfe Alanís Sádaba Sort Tui Museros Torredonjimeno San Fernando São José dos Pinhais Paiporta Cornellà de Llobregat Calanda Iznalloz Uncastillo Nova Pádua Kirovohrad Oblast Alfaro, La Rioja Pedrajas de San Esteban Torrejón de Ardoz Santa Maria Barakaldo Vic Oliveira do Douro, Vila Nova de Gaia Sant Vicenç dels Horts Las Rozas de Madrid Manilva Casca, Rio Grande do Sul Segorbe Montgat Teià Padrón Benifaió Carcaixent Abanilla Pontarddulais Cascavel Los Palacios y Villafranca Recife Villafeliche Roses Martorelles Mondorf-les-Bains Rastatt Villa El Salvador District Massaranduba, Santa Catarina Aratiba Arroio do Meio Escalona Cella Hersfeld-Rotenburg Collado Villalba Maracena Vilanova de Arousa Schwalm-Eder-Kreis Sitges Vilanova i la Geltrú Alcalá del Río Villanueva de la Cañada Cubelles Governador Valadares Graus Valdepeñas San Lorenzo de El Escorial Rhondda Cynon Taf Medina del Campo Viveiro João Pessoa Tortosa Bigastro Valdemoro Clavijo São Mateus, Espírito Santo Qingdao Colmenar Viejo Guernica Mora Caldes d'Estrac Arenys de Munt Montblanc Ilópolis Tartu County Catoira Comillas Falkirk Meliana Cerdanyola del Vallès Markina-Xemein San Sebastián de La Gomera Tolosa Villamanrique de la Condesa Natal Valencia de Don Juan Vilassar de Dalt Albaida Benalup-Casas Viejas Alcañiz Jinan Sigüenza Mataró Calahorra Argoncilhe Mostardas Luso Valverde del Camino Itiúba Andorra Peniscola Reus San Vicente del Raspeig / Sant Vicent del Raspeig Alcalá la Real Medina de Rioseco Ólvega Teresópolis Caruaru Ordizia Baiona Santa Margarita de Montbui Santa Cruz Cabrália La Muela Teror Sant Feliu de Llobregat Majadahonda São Pedro do Butiá Piraquara Oder-Spree Palafrugell Palamós Toro Fuentepelayo Calatorao Barcarrota Celanova Castril Torredembarra Mochola Alella Nova Friburgo Rendsburg-Eckernförde Gaspar, Santa Catarina Oliva Tacoronte, Santa Cruz de Tenerife Vicente López Partido Archena Oyón-Oion Ormaiztegi Olocau Balaguer Pilas Aquiraz El Perelló San Martín de Valdeiglesias Metropolitan City of Florence Saint Kitts and Nevis Barbastro L'Eliana Amposta East Lothian Viladecans Cariñena La Unión Baeza Sos del Rey Católico Novelda Fuenmayor East Java Miraflores Changchun Xàbia Torfaen County Borough Benifairó de la Valldigna Picassent Hildesheim Castuera Zapsonj Ponta Porã Valls San Adrián Lanjarón Bridgend County Borough Láchar Santiago de Figueiró Tudela de Duero Alaquàs Alcúdia San Miguel de Abona Sant Pol de Mar Alhama de Granada Valverde de Júcar Armilla Manlleu Chipiona Quintanar de la Orden Gerena Ningbo Pedrola Consuegra Arganda del Rey Mequinenza Sant Cugat del Vallès Lapa Almansa La Zubia Guangzhou Huelma Castelldefels Paterna Ezcaray Blanca East Renfrewshire Andalusia Cayman Islands Vilafranca del Penedès Castrillo Mota de Judíos Azuaga Foz do Iguaçu Nerja Ondara Bulacan Bétera Tías, Las Palmas Berantevilla Vall de Boí Los Alcázares Banyoles Benicarló Figueres Sayalonga Monte Belo do Sul Main-Kinzig-Kreis Blaenau Gwent County Borough Leganés Ipatinga Les Alqueries Bronniki Albalat de la Ribera South Jeolla Province Olinda Fregenal de la Sierra El Vendrell Uruguaiana Güímar Vilanova del Camí Yanoshi Ponta Grossa Ugao-Miraballes Martorell Gavà Esplugues de Llobregat Magdalena del Mar Olesa de Montserrat Deggendorf Calp Venta de Baños Brussels Madridejos Zuera Fraga Lezama Londrina L'Alcúdia San Fernando de Henares Elorrio Fife Xiamen Ripoll Zumaia Ribeira Amer Cañete la Real The Bahamas Castellterçol Villanueva del Pardillo Serne Utrillas Santo Domingo de la Calzada Belém Puertollano Canfranc
414
action count
action approx
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
action count
action filter_type
action find
entity Chiclana de la Frontera
relation sister city
type political territorial entity
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?v ) WHERE { ?a property:sister_city ?y . ?a rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:human_settlement } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Chiclana_de_la_Frontera property:sister_city ?l . ?l rdf:type ontology:political_territorial_entity } } . FILTER ( ?v = ?w ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q6581072 Q6581097
P21
Q502895
USER
Which people are a male and female ?
AND((c(Q502895),P21,Q6581097), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q6581097
relation P21
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P21', 'Q6581097'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?n WHERE { ?n property:P21 resource:Q6581097 . ?n property:P21 resource:Q6581072 . ?n rdf:type ontology:Q502895 }
female male
action filter_type
action intersection
action find_reverse
entity male
relation gender
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'gender', 'male'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?n WHERE { ?n property:gender resource:male . ?n property:gender resource:female . ?n rdf:type ontology:common_name }
[]
common name
Q23416861 Q15807938 Q23698979 Q19448005 Q3809749 Q22280111 Q16732132 Q19357604 Q74813 Q16165783
SYSTEM
Some of them are Ivica Mavrenski, Elvire De Bruyn, Elmo Jankari, Juan Illas y Vidal, Jaiyah Saelua, Yengkhom Roma, Robin Mathews, Hamda Khamis, Mina Caputo, America Sanchez
Q12966459 Q17600942 Q3260705 Q5874237 Q21391750 Q17225819 Q5972494 Q16941580 Q16733519 Q11622868 Q6702791 Q10263785 Q6571041 Q16732132 Q24264223 Q20401379 Q20119921 Q2312612 Q16164967 Q242700 Q6555624 Q12586819 Q23698979 Q17628096 Q22342662 Q525066 Q9544977 Q503007 Q22280111 Q22102078 Q5482749 Q21392153 Q201204 Q10281088 Q442804 Q16767898 Q22570074 Q21601127 Q12403076 Q14432239 Q12734885 Q734662 Q24500675 Q24034956 Q19957341 Q6258596 Q22236117 Q22808784 Q11379959 Q6003690 Q24807469 Q21857402 Q21258362 Q4979792 Q11449790 Q22001922 Q3575012 Q3764762 Q7377573 Q20068820 Q6031433 Q21794041 Q6438624 Q25768293 Q19448005 Q21503040 Q17148031 Q11604340 Q17158335 Q11815936 Q17364527 Q22280435 Q15934058 Q18559837 Q11201210 Q25748324 Q459844 Q2379965 Q3291942 Q17621841 Q20980163 Q453573 Q11531266 Q4255661 Q22675675 Q528434 Q237726 Q74813 Q2668396 Q298423 Q22073991 Q503575 Q23416861 Q15807938 Q19357604 Q18049905 Q26921704 Q2882250 Q18346977 Q2939204 Q3809749 Q12685049 Q21033490 Q5856706 Q16165783 Q5569499 Q12613187 Q7849225 Q16582167 Q19543099 Q16865281 Q22095108 Q12872947 Q15433626
AND((c(Q502895),P21,Q6581097), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q6581097
relation P21
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWERS] are a male and female
{'AND': [[{'concept': 'Q502895'}, 'P21', 'Q6581097'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?n WHERE { ?n property:P21 resource:Q6581097 . ?n property:P21 resource:Q6581072 . ?n rdf:type ontology:Q502895 }
Kim Ju-yeong Gert Portael Louis-Marie Autissier Hom Nguyen George Mather Luer Hajime Hyakkoku Leeland Dayton Mooring Antonio Merayo Ali Nuhu Kodai Fujii Luli Bitri Dalmau IV de Rocabertí Diemut Theato Robin Mathews Milko Tokola Hakima El Haite Lee Parkhill Floris Meydam Ivan Almeida Naima Mora Hana Shezifi Gilgun Elmo Jankari Rafeef Ziadah Magdalena Mayr Liss Eriksson Lilly Wachowski Andreja Pejić Yengkhom Roma Letebrhan Haylay Gebreslasea Francis Wheatley Jian-Huan Yang Dana International Fenedy Masauvakalo Anna Grodzka Chanmi Elisabeth Ullmann Marina Lampraki-Plaka Ángel Martínez Ortega Benny Motzfeldt Maria-Magdalena Zaharescu Joan de Munchensi Amadeus Serafini Jaki Irvine Tinne De Caigny John Spaulding Colombe Marcasiano Annegret Kuhn Kazue Itō María Elena Orantes Kudirat Akhigbe Miska Humaloja Dominique Van Der Straeten Emma Josepha Sparre Terunobu Utsunomiya Suzanne Schulting Zdeněk Koubek Shamshad Begum Rudy Autio Lesya Nikityuk Matthew W. Taylor Jelizaveta Potapova Gaz Beadle Shagdaryn Bira Juan Illas y Vidal Kenneth Neil Maria Espinalt i Font Akira Yoneda Songhaye Petia Stawrewa Ángel Tejeda Sun Vandeth Matsudaira Yoshiko Mirabel Topham Asmik Grigorian K. T. Rama Rao Norah Al Faiz Thomas Beatie Marie-Joseph Charles des Acres de l'Aigle Marta Linares Engel Reimers Vicki Richter Miki Matsumoto Adolfine Therese Leander-Flodin Nikola Jakadofsky Daniele Hypólito Rosalba Carriera Mina Caputo Parinya Charoenphol Chelsea Manning Saalumarada Thimmakka Cesare Nebbia Ivica Mavrenski Elvire De Bruyn Hamda Khamis Stanisława Witekowa Jean-Marie Aleokol Mabieme Jingjing Wang Jan Norback Carlo Guasco Jaiyah Saelua Chew Mei Fun Silke Weitendorf Ingel Fallstedt America Sanchez Glenys Barton Lee Hye-jin Kim Ye-ri Jorge Garate Ionna Stephanopoli Choi Jung-moon Taofik Adegbite Frosso Kiaou Florence Randal Livesay
Ivica Mavrenski, Elvire De Bruyn, Elmo Jankari, Juan Illas y Vidal, Jaiyah Saelua, Yengkhom Roma, Robin Mathews, Hamda Khamis, Mina Caputo and America Sanchez are a male and female
Ivica Mavrenski Elvire De Bruyn Elmo Jankari Juan Illas y Vidal Jaiyah Saelua Yengkhom Roma Robin Mathews Hamda Khamis Mina Caputo America Sanchez
action filter_type
action intersection
action find_reverse
entity male
relation gender
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'gender', 'male'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?n WHERE { ?n property:gender resource:male . ?n property:gender resource:female . ?n rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2660670
P1303
Q34379 Q502895
USER
How many musical instruments do around the same number of people know to play as Irish bouzouki ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q2660670
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?x ) WHERE { ?r rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 . ?k property:P1303 ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { ?z rdf:type ontology:Q34379 . resource:Q2660670 property:P1303 ?z } } . FILTER ( ?x = ?e ) }
Irish bouzouki
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Irish bouzouki
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?x ) WHERE { ?r rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name . ?k property:instrument ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { ?z rdf:type ontology:musical_instrument . resource:Irish_bouzouki property:instrument ?z } } . FILTER ( ?x = ?e ) }
[]
musical instrument common name
SYSTEM
60
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q2660670
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?x ) WHERE { ?r rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 . ?k property:P1303 ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { ?z rdf:type ontology:Q34379 . resource:Q2660670 property:P1303 ?z } } . FILTER ( ?x = ?e ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Irish bouzouki
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?x ) WHERE { ?r rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name . ?k property:instrument ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { ?z rdf:type ontology:musical_instrument . resource:Irish_bouzouki property:instrument ?z } } . FILTER ( ?x = ?e ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q11404
P1303
Q34379 Q502895
USER
And how about drum?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q11404
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?v = ?g ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:Q11404 property:P1303 ?n . ?n rdf:type ontology:Q34379 } } }
drum
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity drum
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?v = ?g ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:drum property:instrument ?n . ?n rdf:type ontology:musical_instrument } } }
[]
musical instrument common name
SYSTEM
60
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q11404
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?v = ?g ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:Q11404 property:P1303 ?n . ?n rdf:type ontology:Q34379 } } }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity drum
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?v = ?g ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:drum property:instrument ?n . ?n rdf:type ontology:musical_instrument } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q583280
P1313
Q12737077
USER
What is the occupation held by Uncastillo ?
(Q583280,P1313,c(Q12737077))
action filter_type
action find
entity Q583280
relation P1313
type Q12737077
['Q583280', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q583280 property:P1313 ?z . ?z rdf:type ontology:Q12737077 }
Uncastillo
action filter_type
action find
entity Uncastillo
relation office held by head of government
type occupation
['Uncastillo', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Uncastillo property:office_held_by_head_of_government ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q26698823
SYSTEM
mayor of Uncastillo
Q26698823
(Q583280,P1313,c(Q12737077))
action filter_type
action find
entity Q583280
relation P1313
type Q12737077
The occupation held by Uncastillo is the [ANSWER]
['Q583280', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q583280 property:P1313 ?z . ?z rdf:type ontology:Q12737077 }
mayor of Uncastillo
The occupation held by Uncastillo is the mayor of Uncastillo
mayor of Uncastillo
action filter_type
action find
entity Uncastillo
relation office held by head of government
type occupation
['Uncastillo', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Uncastillo property:office_held_by_head_of_government ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1651204
Q12737077
USER
And also tell me about Villar del Cobo?
(Q1651204,P1313,c(Q12737077))
action filter_type
action find
entity Q1651204
relation P1313
type Q12737077
['Q1651204', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q1651204 property:P1313 ?r }
Villar del Cobo
action filter_type
action find
entity Villar del Cobo
relation office held by head of government
type occupation
['Villar del Cobo', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Villar_del_Cobo property:office_held_by_head_of_government ?r }
[]
occupation
Q26694766
SYSTEM
mayor of Villar del Cobo
Q26694766
(Q1651204,P1313,c(Q12737077))
action filter_type
action find
entity Q1651204
relation P1313
type Q12737077
[ANSWER]
['Q1651204', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q1651204 property:P1313 ?r }
mayor of Villar del Cobo
mayor of Villar del Cobo
action filter_type
action find
entity Villar del Cobo
relation office held by head of government
type occupation
['Villar del Cobo', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Villar_del_Cobo property:office_held_by_head_of_government ?r }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q26694766 Q29 Q554346
P17
Q15617994
USER
Is mayor of Villar del Cobo present in Spain and Attenhausen ?
(Q26694766,P17,Q29) (Q26694766,P17,Q554346)
action is_in
entity Q26694766
action intersection
action find_reverse
entity Q29
relation P17
action find_reverse
entity Q554346
relation P17
['Q26694766', 'P17', 'Q29'] ['Q26694766', 'P17', 'Q554346']
ASK WHERE { resource:Q26694766 property:P17 resource:Q554346 . resource:Q26694766 property:P17 resource:Q29 }
mayor of Villar del Cobo Spain Attenhausen
action is_in
entity mayor of Villar del Cobo
action intersection
action find_reverse
entity Spain
relation country
action find_reverse
entity Attenhausen
relation country
['mayor of Villar del Cobo', 'country', 'Spain'] ['mayor of Villar del Cobo', 'country', 'Attenhausen']
ASK WHERE { resource:mayor_of_Villar_del_Cobo property:country resource:Attenhausen . resource:mayor_of_Villar_del_Cobo property:country resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q26694766,P17,Q29) (Q26694766,P17,Q554346)
action is_in
entity Q26694766
action intersection
action find_reverse
entity Q29
relation P17
action find_reverse
entity Q554346
relation P17
[ANSWER]
['Q26694766', 'P17', 'Q29'] ['Q26694766', 'P17', 'Q554346']
ASK WHERE { resource:Q26694766 property:P17 resource:Q554346 . resource:Q26694766 property:P17 resource:Q29 }
YES and NO respectively
action is_in
entity mayor of Villar del Cobo
action intersection
action find_reverse
entity Spain
relation country
action find_reverse
entity Attenhausen
relation country
['mayor of Villar del Cobo', 'country', 'Spain'] ['mayor of Villar del Cobo', 'country', 'Attenhausen']
ASK WHERE { resource:mayor_of_Villar_del_Cobo property:country resource:Attenhausen . resource:mayor_of_Villar_del_Cobo property:country resource:Spain }
[]