Simple Question (Direct)
Simple Question
Q50661
P735
Q82799
USER
Which name is Kaya Yanar known by ?
(Q50661,P735,c(Q82799))
action filter_type
action find
entity Q50661
relation P735
type Q82799
['Q50661', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q50661 property:P735 ?n . ?n rdf:type ontology:Q82799 }
Kaya Yanar
action filter_type
action find
entity Kaya Yanar
relation given name
type name
['Kaya Yanar', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Kaya_Yanar property:given_name ?n . ?n rdf:type ontology:name }
[]
name
Q3194383
SYSTEM
Kaya
Q3194383
(Q50661,P735,c(Q82799))
action filter_type
action find
entity Q50661
relation P735
type Q82799
[ANSWER] Yanar is known as [ANSWER]
['Q50661', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q50661 property:P735 ?n . ?n rdf:type ontology:Q82799 }
Kaya
Kaya Yanar is known as Kaya
Kaya
action filter_type
action find
entity Kaya Yanar
relation given name
type name
['Kaya Yanar', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Kaya_Yanar property:given_name ?n . ?n rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q50661
P21
Q290
USER
What is the sex of that person ?
(Q3194383,P21,c(Q290))
action filter_type
action find
entity Q50661
relation P21
type Q290
['Q3194383', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q50661 property:P21 ?m . ?m rdf:type ontology:Q290 }
Kaya Yanar
action filter_type
action find
entity Kaya Yanar
relation gender
type sex
['Kaya', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Kaya_Yanar property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3194383,P21,c(Q290))
action filter_type
action find
entity Q50661
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q3194383', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q50661 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Kaya Yanar
relation gender
type sex
['Kaya', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Kaya_Yanar property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q50661
P19
Q515
USER
Which city is the birthplace of that person ?
(Q6581097,P19,c(Q515))
action filter_type
action find
entity Q50661
relation P19
type Q515
['Q6581097', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q50661 property:P19 ?u . ?u rdf:type ontology:Q515 }
Kaya Yanar
action filter_type
action find
entity Kaya Yanar
relation place of birth
type city
['male', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Kaya_Yanar property:place_of_birth ?u . ?u rdf:type ontology:city }
[]
city
Q1794
SYSTEM
Frankfurt
Q1794
(Q6581097,P19,c(Q515))
action filter_type
action find
entity Q50661
relation P19
type Q515
[ANSWER] is the birthplace of that person
['Q6581097', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q50661 property:P19 ?u . ?u rdf:type ontology:Q515 }
Frankfurt
Frankfurt is the birthplace of that person
Frankfurt
action filter_type
action find
entity Kaya Yanar
relation place of birth
type city
['male', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Kaya_Yanar property:place_of_birth ?u . ?u rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1794 Q2560878 Q1663101
P6
Q502895
USER
Does Frankfurt have a government lead by Werner Bockelmann and Ingo Baumgartner ?
(Q1794,P6,Q2560878) (Q1794,P6,Q1663101)
action is_in
entity Q1794
action intersection
action find_reverse
entity Q2560878
relation P6
action find_reverse
entity Q1663101
relation P6
['Q1794', 'P6', 'Q2560878'] ['Q1794', 'P6', 'Q1663101']
ASK WHERE { resource:Q1794 property:P6 resource:Q1663101 . resource:Q1794 property:P6 resource:Q2560878 }
Frankfurt Werner Bockelmann Ingo Baumgartner
action is_in
entity Frankfurt
action intersection
action find_reverse
entity Werner Bockelmann
relation head of government
action find_reverse
entity Ingo Baumgartner
relation head of government
['Frankfurt', 'head of government', 'Werner Bockelmann'] ['Frankfurt', 'head of government', 'Ingo Baumgartner']
ASK WHERE { resource:Frankfurt property:head_of_government resource:Ingo_Baumgartner . resource:Frankfurt property:head_of_government resource:Werner_Bockelmann }
[]
common name
SYSTEM
YES and NO respectively
(Q1794,P6,Q2560878) (Q1794,P6,Q1663101)
action is_in
entity Q1794
action intersection
action find_reverse
entity Q2560878
relation P6
action find_reverse
entity Q1663101
relation P6
[ANSWER]
['Q1794', 'P6', 'Q2560878'] ['Q1794', 'P6', 'Q1663101']
ASK WHERE { resource:Q1794 property:P6 resource:Q1663101 . resource:Q1794 property:P6 resource:Q2560878 }
YES and NO respectively
action is_in
entity Frankfurt
action intersection
action find_reverse
entity Werner Bockelmann
relation head of government
action find_reverse
entity Ingo Baumgartner
relation head of government
['Frankfurt', 'head of government', 'Werner Bockelmann'] ['Frankfurt', 'head of government', 'Ingo Baumgartner']
ASK WHERE { resource:Frankfurt property:head_of_government resource:Ingo_Baumgartner . resource:Frankfurt property:head_of_government resource:Werner_Bockelmann }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q976534
P190
Q515 Q1048835
USER
How many political territories are partner town of around the same number of cities as Castrillo Mota de Judíos ?
(c(Q1048835),P190,c(Q515))
action count
action approx
action find_tuple_counts
relation P190
type Q1048835
type Q515
action count
action filter_type
action find
entity Q976534
relation P190
type Q1048835
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Q976534 property:P190 ?v . ?v rdf:type ontology:Q1048835 } } . FILTER ( ?d = ?s ) . { SELECT DISTINCT ?l ( COUNT ( ?p ) AS ?d ) WHERE { ?l property:P190 ?p . ?l rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q515 } GROUP BY ?l } }
Castrillo Mota de Judíos
action count
action approx
action find_tuple_counts
relation sister city
type political territorial entity
type city
action count
action filter_type
action find
entity Castrillo Mota de Judíos
relation sister city
type political territorial entity
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Castrillo_Mota_de_Judíos property:sister_city ?v . ?v rdf:type ontology:political_territorial_entity } } . FILTER ( ?d = ?s ) . { SELECT DISTINCT ?l ( COUNT ( ?p ) AS ?d ) WHERE { ?l property:sister_city ?p . ?l rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:city } GROUP BY ?l } }
[]
city political territorial entity
SYSTEM
402
Q473250 Q484717 Q1442814 Q5963 Q1628188 Q36947 Q1794732 Q15473 Q484552 Q15471 Q786126 Q1643855 Q13010 Q927931 Q147774 Q1765078 Q6022 Q910410 Q2101408 Q5913 Q187826 Q1312844 Q2047561 Q1391501 Q207111 Q164197 Q15619 Q321331 Q1853429 Q667682 Q686837 Q476793 Q919050 Q8554 Q12590 Q12595 Q1649476 Q210887 Q659450 Q189952 Q693258 Q644891 Q12153 Q4480 Q15470 Q1312654 Q496368 Q686304 Q624967 Q11286 Q20937 Q13150 Q496588 Q13156 Q496424 Q824651 Q208669 Q8602 Q15430 Q984508 Q7909 Q109188 Q7902 Q538809 Q7905 Q815631 Q7907 Q12339 Q63004 Q277302 Q1021521 Q642083 Q752280 Q326651 Q41157 Q899884 Q1750915 Q832246 Q542958 Q2566267 Q752137 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 Q13521 Q1606055 Q787022 Q1101945 Q844784 Q694833 Q5123 Q1110343 Q1769167 Q13785 Q574340 Q178993 Q15950 Q3850873 Q161945 Q64010 Q140203 Q917693 Q485129 Q156819 Q1757489 Q258722 Q1614754 Q1613282 Q375925 Q550974 Q254699 Q956558 Q12690 Q824122 Q1010314 Q1915208 Q741765 Q102848 Q15602 Q737161 Q1410782 Q583280 Q1750269 Q695889 Q1651727 Q740833 Q487801 Q13855 Q1730870 Q12587 Q15649 Q592747 Q913492 Q1786658 Q750968 Q12022 Q12028 Q500494 Q10436 Q1919317 Q1771128 Q1635711 Q3397684 Q205681 Q428954 Q48344 Q1650316 Q748078 Q11822 Q15429 Q798747 Q8184 Q8182 Q691525 Q980131 Q33961 Q1758806 Q616621 Q1651638 Q7898 Q188905 Q735759 Q583032 Q739495 Q7894 Q15551 Q15553 Q1386351 Q973325 Q15558 Q462218 Q937763 Q898563 Q371748 Q817960 Q693913 Q641221 Q167436 Q12812 Q1763754 Q767222 Q1763574 Q55480 Q1641529 Q12102 Q12101 Q761735 Q281272 Q1757392 Q192370 Q377244 Q847329 Q216802 Q1993019 Q13922 Q604810 Q512009 Q497801 Q1601699 Q131620 Q385017 Q12075 Q221749 Q1632577 Q639422 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 Q465085 Q729958 Q12034 Q468563 Q2967 Q856583 Q918586 Q944264 Q943431 Q2099330 Q632621 Q581589 Q932808 Q122208 Q1616138 Q1794121 Q1229949 Q1751908 Q18288148 Q763 Q502975 Q1998520 Q477311 Q207257 Q15652 Q984529 Q1228759 Q49571 Q983473 Q695456 Q755695 Q3586 Q1026229 Q851020 Q643919 Q1312465 Q10863 Q515016 Q714538 Q928094 Q668324 Q582995 Q697126 Q484981 Q1272870 Q1651692 Q1649698 Q385923 Q677038 Q501674 Q1767561 Q550985 Q13804 Q741749 Q1628531 Q1601614 Q10445 Q574869 Q919046 Q497692 Q984821 Q837051 Q13936 Q2064788 Q13930 Q619692 Q1641746 Q15597 Q23042 Q1637309 Q1998560 Q211925 Q5785 Q835012 Q976534 Q1368982 Q202316 Q13149 Q290824 Q13755 Q986084 Q2244278 Q1368868 Q12711 Q1982975 Q13614 Q817302 Q6839 Q1630141 Q1757428 Q7911 Q596885 Q1646869 Q927800 Q749696 Q41161 Q28301 Q1613587 Q929759 Q622823 Q983433 Q15974 Q830776 Q242906 Q1228035 Q15623 Q15622 Q15621 Q3303729 Q15626 Q10485 Q671272 Q1657213 Q1607392 Q1605519 Q904212 Q946068 Q2044406 Q842211 Q1242382 Q203040 Q12335 Q229659 Q904130 Q13022 Q13159 Q778 Q15408 Q1751916 Q1768489 Q646564 Q215822 Q984642
(c(Q1048835),P190,c(Q515))
action count
action approx
action find_tuple_counts
relation P190
type Q1048835
type Q515
action count
action filter_type
action find
entity Q976534
relation P190
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Q976534 property:P190 ?v . ?v rdf:type ontology:Q1048835 } } . FILTER ( ?d = ?s ) . { SELECT DISTINCT ?l ( COUNT ( ?p ) AS ?d ) WHERE { ?l property:P190 ?p . ?l rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q515 } GROUP BY ?l } }
Macaé San Sebastián de los Reyes Mazaricos Hanover region 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 El Prat de Llobregat Novo Hamburgo Valverde Peñafiel, Spain Karrantza Arévalo Molina de Aragón Rhein-Pfalz-Kreis Malgrat de Mar Palafolls Algemesí Sanlúcar de Barrameda Santarém Lääne-Viru County San Bartolomé de Tirajana Ruente Vilafant Balmaseda L'Hospitalet de Llobregat Carlet Wrexham Itambé Arafo Castelló d'Empúries Gyeonggi Province Torrox Oñati 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 Sant Joan de les Abadesses 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 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 Sant Feliu de Guíxols Caudete Autol Veranópolis Vale of Glamorgan Gramado Monzón Vélez-Rubio Cigales Cavite Las Gabias Palmas Igualada Rivne Torrent Caspe Zafra Santana do Livramento Burgo de Osma-Ciudad de Osma Joinville Cehegín Canals Medina de Pomar Alcaudete Vila Nova de Cerveira Atarfe Alanís Sádaba Sort Tui Museros Torredonjimeno San Fernando Paiporta Cornellà de Llobregat Calanda Iznalloz Uncastillo Nova Pádua Alfaro, La Rioja Pedrajas de San Esteban Santa Maria Barakaldo Vic Oliveira do Douro, Vila Nova de Gaia Santa Susanna Sant Vicenç dels Horts Las Rozas de Madrid Manilva Casca, Rio Grande do Sul Segorbe Montgat Teià Padrón Kulmbach Benifaió Carcaixent Abanilla Pontarddulais Cascavel Los Palacios y Villafranca Recife Villafeliche Neath Port Talbot County Borough Roses Martorelles Mondorf-les-Bains Enz Rastatt Villa El Salvador District Massaranduba, Santa Catarina Aratiba Arroio do Meio Escalona Cella Hersfeld-Rotenburg Ouro Preto 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 Clavijo São Mateus, Espírito Santo Colmenar Viejo Mora Caldes d'Estrac Arenys de Munt Montblanc Linares 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 Torrevieja Benalup-Casas Viejas Pozuelo de Alarcón 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 Almadén Mochola Alella Nova Friburgo Rendsburg-Eckernförde Gaspar, Santa Catarina Oliva Tacoronte, Santa Cruz de Tenerife Granadilla de Abona Vicente López Partido Archena Oyón-Oion Ormaiztegi Olocau 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 Sos del Rey Católico Novelda Bailén Fuenmayor East Java Miraflores Xàbia Torfaen County Borough Benifairó de la Valldigna Picassent Castuera Zapsonj Ponta Porã San Adrián Lanjarón Bridgend County Borough Láchar Santiago de Figueiró Tudela de Duero Alaquàs Alcúdia San Miguel de Abona Alhama de Granada Valverde de Júcar Armilla Manlleu Chipiona Quintanar de la Orden Gerena Forchheim Pedrola Consuegra Arganda del Rey Onda Mequinenza Sant Cugat del Vallès Lapa Almansa La Zubia Huelma Castelldefels Paterna Ezcaray Blanca East Renfrewshire 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 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 Madridejos Zuera Fraga Lezama L'Alcúdia San Fernando de Henares Elorrio El Puerto de Santa María Ripoll Zumaia Ribeira Amer Cañete la Real The Bahamas Castellterçol Villanueva del Pardillo Utrillas Santo Domingo de la Calzada Puertollano Canfranc
402
action count
action approx
action find_tuple_counts
relation sister city
type political territorial entity
type city
action count
action filter_type
action find
entity Castrillo Mota de Judíos
relation sister city
type political territorial entity
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Castrillo_Mota_de_Judíos property:sister_city ?v . ?v rdf:type ontology:political_territorial_entity } } . FILTER ( ?d = ?s ) . { SELECT DISTINCT ?l ( COUNT ( ?p ) AS ?d ) WHERE { ?l property:sister_city ?p . ?l rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:city } GROUP BY ?l } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q11746
P190
Q515 Q1048835
USER
And also tell me about Wuhan?
(c(Q1048835),P190,c(Q515))
action count
action approx
action find_tuple_counts
relation P190
type Q1048835
type Q515
action count
action filter_type
action find
entity Q11746
relation P190
type Q1048835
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?j ) WHERE { ?m property:P190 ?l . ?m rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q515 } GROUP BY ?m } . FILTER ( ?j = ?a ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { resource:Q11746 property:P190 ?k . ?k rdf:type ontology:Q1048835 } } }
Wuhan
action count
action approx
action find_tuple_counts
relation sister city
type political territorial entity
type city
action count
action filter_type
action find
entity Wuhan
relation sister city
type political territorial entity
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?j ) WHERE { ?m property:sister_city ?l . ?m rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:city } GROUP BY ?m } . FILTER ( ?j = ?a ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { resource:Wuhan property:sister_city ?k . ?k rdf:type ontology:political_territorial_entity } } }
[]
city political territorial entity
SYSTEM
7
Q842713 Q168376 Q11746 Q170247 Q92161 Q74881 Q192387
(c(Q1048835),P190,c(Q515))
action count
action approx
action find_tuple_counts
relation P190
type Q1048835
type Q515
action count
action filter_type
action find
entity Q11746
relation P190
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?j ) WHERE { ?m property:P190 ?l . ?m rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q515 } GROUP BY ?m } . FILTER ( ?j = ?a ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { resource:Q11746 property:P190 ?k . ?k rdf:type ontology:Q1048835 } } }
Itajaí Vitória Wuhan Jinan Changchun Dalian Londrina
7
action count
action approx
action find_tuple_counts
relation sister city
type political territorial entity
type city
action count
action filter_type
action find
entity Wuhan
relation sister city
type political territorial entity
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?j ) WHERE { ?m property:sister_city ?l . ?m rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:city } GROUP BY ?m } . FILTER ( ?j = ?a ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { resource:Wuhan property:sister_city ?k . ?k rdf:type ontology:political_territorial_entity } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q50661
P27
Q1048835
USER
Which political territory is Kaya Yanar an inhabitant of ?
(Q50661,P27,c(Q1048835))
action filter_type
action find
entity Q50661
relation P27
type Q1048835
['Q50661', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q50661 property:P27 ?d . ?d rdf:type ontology:Q1048835 }
Kaya Yanar
action filter_type
action find
entity Kaya Yanar
relation country of citizenship
type political territorial entity
['Kaya Yanar', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Kaya_Yanar property:country_of_citizenship ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q50661,P27,c(Q1048835))
action filter_type
action find
entity Q50661
relation P27
type Q1048835
[ANSWER] is Kaya Yanar an inhabitant of
['Q50661', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q50661 property:P27 ?d . ?d rdf:type ontology:Q1048835 }
Germany
Germany is Kaya Yanar an inhabitant of
Germany
action filter_type
action find
entity Kaya Yanar
relation country of citizenship
type political territorial entity
['Kaya Yanar', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Kaya_Yanar property:country_of_citizenship ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q50661
P106
Q12737077
USER
What are the job of Kaya Yanar ?
(Q50661,P106,c(Q12737077))
action filter_type
action find
entity Q50661
relation P106
type Q12737077
['Q50661', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q50661 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Kaya Yanar
action filter_type
action find
entity Kaya Yanar
relation occupation
type occupation
['Kaya Yanar', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Kaya_Yanar property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q33999 Q245068 Q947873
SYSTEM
actor, comedian, television presenter
Q33999 Q245068 Q947873
(Q50661,P106,c(Q12737077))
action filter_type
action find
entity Q50661
relation P106
type Q12737077
The job of Kaya Yanar are an [ANSWERS]
['Q50661', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q50661 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
actor comedian television presenter
The job of Kaya Yanar are an actor, comedian and television presenter
actor comedian television presenter
action filter_type
action find
entity Kaya Yanar
relation occupation
type occupation
['Kaya Yanar', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Kaya_Yanar property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q33999 Q245068 Q947873
P101
Q502895
USER
Which people have specialisation in actor, comedian and television presenter ?
(c(Q502895),P101,Q33999) (c(Q502895),P101,Q245068) (c(Q502895),P101,Q947873)
action union
action filter_type
action find_reverse
entity Q33999
relation P101
type Q502895
action filter_type
action find_reverse
entity Q245068
relation P101
type Q502895
action filter_type
action find_reverse
entity Q947873
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q33999'] [{'concept': 'Q502895'}, 'P101', 'Q245068'] [{'concept': 'Q502895'}, 'P101', 'Q947873']
SELECT DISTINCT ?f WHERE { VALUES ( ?z ) { ( resource:Q33999 ) ( resource:Q245068 ) } . ?f property:P101 ?z }
actor comedian television presenter
action union
action filter_type
action find_reverse
entity actor
relation field of work
type common name
action filter_type
action find_reverse
entity comedian
relation field of work
type common name
action filter_type
action find_reverse
entity television presenter
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'actor'] [{'concept': 'common name'}, 'field of work', 'comedian'] [{'concept': 'common name'}, 'field of work', 'television presenter']
SELECT DISTINCT ?f WHERE { VALUES ( ?z ) { ( resource:actor ) ( resource:comedian ) } . ?f property:field_of_work ?z }
[]
common name
Q5957599 Q4119 Q19679095
SYSTEM
Hamid Jebelli, Adam Carolla, Deepak Raj Giri
Q5957599 Q3140773 Q4119 Q19679095 Q12336296
(c(Q502895),P101,Q33999) (c(Q502895),P101,Q245068) (c(Q502895),P101,Q947873)
action union
action filter_type
action find_reverse
entity Q33999
relation P101
type Q502895
action filter_type
action find_reverse
entity Q245068
relation P101
type Q502895
action filter_type
action find_reverse
entity Q947873
relation P101
type Q502895
[ANSWERS] have specialisation in actor, comedian and television presenter
[{'concept': 'Q502895'}, 'P101', 'Q33999'] [{'concept': 'Q502895'}, 'P101', 'Q245068'] [{'concept': 'Q502895'}, 'P101', 'Q947873']
SELECT DISTINCT ?f WHERE { VALUES ( ?z ) { ( resource:Q33999 ) ( resource:Q245068 ) } . ?f property:P101 ?z }
Hamid Jebelli Rikako Aikawa Adam Carolla Deepak Raj Giri Sofie Linde Lauridsen
Hamid Jebelli, Adam Carolla and Deepak Raj Giri have specialisation in actor, comedian and television presenter
Hamid Jebelli Adam Carolla Deepak Raj Giri
action union
action filter_type
action find_reverse
entity actor
relation field of work
type common name
action filter_type
action find_reverse
entity comedian
relation field of work
type common name
action filter_type
action find_reverse
entity television presenter
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'actor'] [{'concept': 'common name'}, 'field of work', 'comedian'] [{'concept': 'common name'}, 'field of work', 'television presenter']
SELECT DISTINCT ?f WHERE { VALUES ( ?z ) { ( resource:actor ) ( resource:comedian ) } . ?f property:field_of_work ?z }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5957599 Q4119 Q19679095
P101
Q12737077
USER
What are the fields of work of Hamid Jebelli, Adam Carolla and Deepak Raj Giri ?
(Q5957599,P101,c(Q12737077)) (Q4119,P101,c(Q12737077)) (Q19679095,P101,c(Q12737077))
action union
action filter_type
action find
entity Q5957599
relation P101
type Q12737077
action filter_type
action find
entity Q4119
relation P101
type Q12737077
action filter_type
action find
entity Q19679095
relation P101
type Q12737077
['Q5957599', 'P101', {'concept': 'Q12737077'}] ['Q4119', 'P101', {'concept': 'Q12737077'}] ['Q19679095', 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?r property:P101 ?u . VALUES ( ?r ) { ( resource:Q5957599 ) ( resource:Q4119 ) } }
Hamid Jebelli Adam Carolla Deepak Raj Giri
action union
action filter_type
action find
entity Hamid Jebelli
relation field of work
type occupation
action filter_type
action find
entity Adam Carolla
relation field of work
type occupation
action filter_type
action find
entity Deepak Raj Giri
relation field of work
type occupation
['Hamid Jebelli', 'field of work', {'concept': 'occupation'}] ['Adam Carolla', 'field of work', {'concept': 'occupation'}] ['Deepak Raj Giri', 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?r property:field_of_work ?u . VALUES ( ?r ) { ( resource:Hamid_Jebelli ) ( resource:Adam_Carolla ) } }
[]
occupation
Q3455803 Q33999 Q177220
SYSTEM
director, actor, singer
Q706364 Q3455803 Q33999 Q177220 Q245068 Q245068
(Q5957599,P101,c(Q12737077)) (Q4119,P101,c(Q12737077)) (Q19679095,P101,c(Q12737077))
action union
action filter_type
action find
entity Q5957599
relation P101
type Q12737077
action filter_type
action find
entity Q4119
relation P101
type Q12737077
action filter_type
action find
entity Q19679095
relation P101
type Q12737077
The fields of work of Hamid Jebelli , Adam Carolla and Deepak Raj Giri are film [ANSWERS]
['Q5957599', 'P101', {'concept': 'Q12737077'}] ['Q4119', 'P101', {'concept': 'Q12737077'}] ['Q19679095', 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?r property:P101 ?u . VALUES ( ?r ) { ( resource:Q5957599 ) ( resource:Q4119 ) } }
art director director actor singer comedian comedian
The fields of work of Hamid Jebelli , Adam Carolla and Deepak Raj Giri are film director, actor and singer
director actor singer
action union
action filter_type
action find
entity Hamid Jebelli
relation field of work
type occupation
action filter_type
action find
entity Adam Carolla
relation field of work
type occupation
action filter_type
action find
entity Deepak Raj Giri
relation field of work
type occupation
['Hamid Jebelli', 'field of work', {'concept': 'occupation'}] ['Adam Carolla', 'field of work', {'concept': 'occupation'}] ['Deepak Raj Giri', 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?r property:field_of_work ?u . VALUES ( ?r ) { ( resource:Hamid_Jebelli ) ( resource:Adam_Carolla ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1794
P119
Q502895
USER
Who has Frankfurt as his/her tomb ?
(c(Q502895),P119,Q1794)
action filter_type
action find_reverse
entity Q1794
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q1794']
SELECT DISTINCT ?s WHERE { ?s property:P119 resource:Q1794 . ?s rdf:type ontology:Q502895 }
Frankfurt
action filter_type
action find_reverse
entity Frankfurt
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Frankfurt']
SELECT DISTINCT ?s WHERE { ?s property:place_of_burial resource:Frankfurt . ?s rdf:type ontology:common_name }
[]
common name
Q2163264
SYSTEM
Rolf Bossert
Q2163264
(c(Q502895),P119,Q1794)
action filter_type
action find_reverse
entity Q1794
relation P119
type Q502895
[ANSWER] has Frankfurt as his/her tomb
[{'concept': 'Q502895'}, 'P119', 'Q1794']
SELECT DISTINCT ?s WHERE { ?s property:P119 resource:Q1794 . ?s rdf:type ontology:Q502895 }
Rolf Bossert
Rolf Bossert has Frankfurt as his/her tomb
Rolf Bossert
action filter_type
action find_reverse
entity Frankfurt
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Frankfurt']
SELECT DISTINCT ?s WHERE { ?s property:place_of_burial resource:Frankfurt . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1794
P36
Q7275
USER
Which states contain Frankfurt as their capital ?
(c(Q7275),P36,Q1794)
action filter_type
action find_reverse
entity Q1794
relation P36
type Q7275
[{'concept': 'Q7275'}, 'P36', 'Q1794']
SELECT DISTINCT ?w WHERE { ?w property:P36 resource:Q1794 . ?w rdf:type ontology:Q7275 }
Frankfurt
action filter_type
action find_reverse
entity Frankfurt
relation capital
type state
[{'concept': 'state'}, 'capital', 'Frankfurt']
SELECT DISTINCT ?w WHERE { ?w property:capital resource:Frankfurt . ?w rdf:type ontology:state }
[]
state
Q153080 Q18285930
SYSTEM
East Francia, German Empire of 1848/1849
Q153080 Q18285930
(c(Q7275),P36,Q1794)
action filter_type
action find_reverse
entity Q1794
relation P36
type Q7275
[ANSWERS] contain Frankfurt as their capital
[{'concept': 'Q7275'}, 'P36', 'Q1794']
SELECT DISTINCT ?w WHERE { ?w property:P36 resource:Q1794 . ?w rdf:type ontology:Q7275 }
East Francia German Empire of 1848/1849
East Francia and German Empire of 1848/1849 contain Frankfurt as their capital
East Francia German Empire of 1848/1849
action filter_type
action find_reverse
entity Frankfurt
relation capital
type state
[{'concept': 'state'}, 'capital', 'Frankfurt']
SELECT DISTINCT ?w WHERE { ?w property:capital resource:Frankfurt . ?w rdf:type ontology:state }
[]
Clarification
Simple Question|Single Entity|Indirect
Q18285930
P194
Q1752346
USER
Which assembly governs that state ?
(Q18285930,P194,c(Q1752346))
action filter_type
action find
entity Q18285930
relation P194
type Q1752346
['Q18285930', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?i WHERE { resource:Q18285930 property:P194 ?i . ?i rdf:type ontology:Q1752346 }
German Empire of 1848/1849
action filter_type
action find
entity German Empire of 1848/1849
relation legislative body
type assembly
['German Empire of 1848/1849', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?i WHERE { resource:German_Empire_of_1848/1849 property:legislative_body ?i . ?i rdf:type ontology:assembly }
[]
assembly
Clarification for simple ques.
Q153080
SYSTEM
Did you mean East Francia ?
Q153080 Q18285930
(Q153080,P194,c(Q1752346)) (Q18285930,P194,c(Q1752346))
[ANSWER]
['Q153080', 'P194', {'concept': 'Q1752346'}] ['Q18285930', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?i WHERE { resource:Q18285930 property:P194 ?i . ?i rdf:type ontology:Q1752346 }
East Francia German Empire of 1848/1849
Did you mean East Francia ?
East Francia
['East Francia', 'legislative body', {'concept': 'assembly'}] ['German Empire of 1848/1849', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?i WHERE { resource:German_Empire_of_1848/1849 property:legislative_body ?i . ?i rdf:type ontology:assembly }
[]
Simple Question (Coreferenced)
USER
No, I meant German Empire of 1848/1849. Could you tell me the answer for that?
(Q18285930,P194,c(Q1752346))
Q18285930
['Q18285930', 'P194', {'concept': 'Q1752346'}]
['German Empire of 1848/1849', 'legislative body', {'concept': 'assembly'}]
[]
Q157638
SYSTEM
Frankfurt Parliament
Q157638
(Q18285930,P194,c(Q1752346))
action filter_type
action find
entity Q18285930
relation P194
type Q1752346
[ANSWER] governs that state
['Q18285930', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?i WHERE { resource:Q18285930 property:P194 ?i . ?i rdf:type ontology:Q1752346 }
Frankfurt Parliament
Frankfurt Parliament governs that state
Frankfurt Parliament
action filter_type
action find
entity German Empire of 1848/1849
relation legislative body
type assembly
['German Empire of 1848/1849', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?i WHERE { resource:German_Empire_of_1848/1849 property:legislative_body ?i . ?i rdf:type ontology:assembly }
[]