Simple Question (Direct)
Simple Question
Q1251972
P106
Q12737077
USER
What do Douglas A. Irwin do for a living ?
(Q1251972,P106,c(Q12737077))
action filter_type
action find
entity Q1251972
relation P106
type Q12737077
['Q1251972', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1251972 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Douglas A. Irwin
action filter_type
action find
entity Douglas A. Irwin
relation occupation
type occupation
['Douglas A. Irwin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Douglas_A._Irwin property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q188094 Q1622272
SYSTEM
economist, university teacher
Q188094 Q1622272
(Q1251972,P106,c(Q12737077))
action filter_type
action find
entity Q1251972
relation P106
type Q12737077
Douglas A . Irwin do for a living as [ANSWERS]
['Q1251972', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1251972 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
economist university teacher
Douglas A . Irwin do for a living as economist and university teacher
economist university teacher
action filter_type
action find
entity Douglas A. Irwin
relation occupation
type occupation
['Douglas A. Irwin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Douglas_A._Irwin property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1251972
P512
Q3412758
USER
What is the degree held by Douglas A. Irwin ?
(Q1251972,P512,c(Q3412758))
action filter_type
action find
entity Q1251972
relation P512
type Q3412758
['Q1251972', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q3412758 . resource:Q1251972 property:P512 ?k }
Douglas A. Irwin
action filter_type
action find
entity Douglas A. Irwin
relation academic degree
type qualification
['Douglas A. Irwin', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:qualification . resource:Douglas_A._Irwin property:academic_degree ?k }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q1251972,P512,c(Q3412758))
action filter_type
action find
entity Q1251972
relation P512
type Q3412758
The degree held by Douglas A is a [ANSWER] .
['Q1251972', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q3412758 . resource:Q1251972 property:P512 ?k }
doctoral degree
The degree held by Douglas A is a doctoral degree .
doctoral degree
action filter_type
action find
entity Douglas A. Irwin
relation academic degree
type qualification
['Douglas A. Irwin', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:qualification . resource:Douglas_A._Irwin property:academic_degree ?k }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1533716
Q3412758
USER
And what about Godehard Brüntrup?
(Q1533716,P512,c(Q3412758))
action filter_type
action find
entity Q1533716
relation P512
type Q3412758
['Q1533716', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?u WHERE { resource:Q1533716 property:P512 ?u . ?u rdf:type ontology:Q3412758 }
Godehard Brüntrup
action filter_type
action find
entity Godehard Brüntrup
relation academic degree
type qualification
['Godehard Brüntrup', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?u WHERE { resource:Godehard_Brüntrup property:academic_degree ?u . ?u rdf:type ontology:qualification }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q1533716,P512,c(Q3412758))
action filter_type
action find
entity Q1533716
relation P512
type Q3412758
[ANSWER]
['Q1533716', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?u WHERE { resource:Q1533716 property:P512 ?u . ?u rdf:type ontology:Q3412758 }
doctoral degree
doctoral degree
action filter_type
action find
entity Godehard Brüntrup
relation academic degree
type qualification
['Godehard Brüntrup', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?u WHERE { resource:Godehard_Brüntrup property:academic_degree ?u . ?u rdf:type ontology:qualification }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1614774 Q1533716
P47 P27
Q1048835
USER
Which political territories do Godehard Brüntrup belong to or share the border with Valle de Mena ?
OR((Q1533716,P27,c(Q1048835)), (Q1614774,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1533716
relation P27
action find
entity Q1614774
relation P47
type Q1048835
{'OR': [['Q1533716', 'P27', {'concept': 'Q1048835'}], ['Q1614774', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q1533716 property:P27 ?a } UNION { resource:Q1614774 property:P47 ?a } } . ?a rdf:type ontology:Q1048835 }
Valle de Mena Godehard Brüntrup
action filter_type
action union
action find
entity Godehard Brüntrup
relation country of citizenship
action find
entity Valle de Mena
relation shares border with
type political territorial entity
{'OR': [['Godehard Brüntrup', 'country of citizenship', {'concept': 'political territorial entity'}], ['Valle de Mena', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Godehard_Brüntrup property:country_of_citizenship ?a } UNION { resource:Valle_de_Mena property:shares_border_with ?a } } . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q587131 Q1642733 Q1368772 Q1637400 Q686837 Q183 Q677615 Q1631248 Q1228097 Q4480
SYSTEM
Some of them are Artziniega, Valle de Losa, Ayala/Aiara, Soba, Karrantza, Germany, Artzentales, Merindad de Montija, Gordexola, Balmaseda
Q686837 Q677615 Q4480 Q1642733 Q748647 Q183 Q4476 Q587131 Q1228097 Q1637400 Q1368772 Q1631248
OR((Q1533716,P27,c(Q1048835)), (Q1614774,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1533716
relation P27
action find
entity Q1614774
relation P47
type Q1048835
Godehard Brüntrup belong to the [ANSWERS]
{'OR': [['Q1533716', 'P27', {'concept': 'Q1048835'}], ['Q1614774', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q1533716 property:P27 ?a } UNION { resource:Q1614774 property:P47 ?a } } . ?a rdf:type ontology:Q1048835 }
Karrantza Artzentales Balmaseda Valle de Losa Junta de Traslaloma Germany Zalla Artziniega Gordexola Soba Ayala/Aiara Merindad de Montija
Godehard Brüntrup belong to the Artziniega, Valle de Losa, Ayala/Aiara, Soba, Karrantza, Germany, Artzentales, Merindad de Montija, Gordexola and Balmaseda
Artziniega Valle de Losa Ayala/Aiara Soba Karrantza Germany Artzentales Merindad de Montija Gordexola Balmaseda
action filter_type
action union
action find
entity Godehard Brüntrup
relation country of citizenship
action find
entity Valle de Mena
relation shares border with
type political territorial entity
{'OR': [['Godehard Brüntrup', 'country of citizenship', {'concept': 'political territorial entity'}], ['Valle de Mena', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Godehard_Brüntrup property:country_of_citizenship ?a } UNION { resource:Valle_de_Mena property:shares_border_with ?a } } . ?a rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15936 Q1368772
P47
Q1048835
USER
Which political territories do Ayala/Aiara or Argençola share a border with ?
OR((c(Q1048835),P47,Q1368772), (c(Q1048835),P47,Q15936))
action filter_type
action union
action find_reverse
entity Q1368772
relation P47
action find_reverse
entity Q15936
relation P47
type Q1048835
{'OR': [[{'concept': 'Q1048835'}, 'P47', 'Q1368772'], [{'concept': 'Q1048835'}, 'P47', 'Q15936']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . { { ?f property:P47 resource:Q15936 } UNION { ?f property:P47 resource:Q1368772 } } }
Argençola Ayala/Aiara
action filter_type
action union
action find_reverse
entity Ayala/Aiara
relation shares border with
action find_reverse
entity Argençola
relation shares border with
type political territorial entity
{'OR': [[{'concept': 'political territorial entity'}, 'shares border with', 'Ayala/Aiara'], [{'concept': 'political territorial entity'}, 'shares border with', 'Argençola']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . { { ?f property:shares_border_with resource:Argençola } UNION { ?f property:shares_border_with resource:Ayala/Aiara } } }
[]
political territorial entity
Q481760 Q15955 Q15973 Q676903 Q1020541 Q1228097 Q1643574 Q726664 Q1614774 Q1766650
SYSTEM
Some of them are Amurrio, Montmaneu, Veciana, Laudio/Llodio, Talavera, Lleida, Gordexola, Junta de Villalba de Losa, Orozko, Valle de Mena, Sant Guim de Freixenet
Q15951 Q15955 Q481760 Q669570 Q15973 Q1643574 Q15966 Q726664 Q676903 Q1228097 Q1020541 Q225662 Q1368782 Q1766650 Q1614774
OR((c(Q1048835),P47,Q1368772), (c(Q1048835),P47,Q15936))
action filter_type
action union
action find_reverse
entity Q1368772
relation P47
action find_reverse
entity Q15936
relation P47
type Q1048835
[ANSWERS] Ayala/Aiara or Argençola share a border with
{'OR': [[{'concept': 'Q1048835'}, 'P47', 'Q1368772'], [{'concept': 'Q1048835'}, 'P47', 'Q15936']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . { { ?f property:P47 resource:Q15936 } UNION { ?f property:P47 resource:Q1368772 } } }
Jorba Montmaneu Amurrio Santa Coloma de Queralt Veciana Junta de Villalba de Losa Sant Martí de Tous Orozko Laudio/Llodio Gordexola Talavera, Lleida Orduña-Urduña Okondo Sant Guim de Freixenet Valle de Mena
Amurrio, Montmaneu, Veciana, Laudio/Llodio, Talavera, Lleida, Gordexola, Junta de Villalba de Losa, Orozko, Valle de Mena and Sant Guim de Freixenet Ayala/Aiara or Argençola share a border with
Amurrio Montmaneu Veciana Laudio/Llodio Talavera, Lleida Gordexola Junta de Villalba de Losa Orozko Valle de Mena Sant Guim de Freixenet
action filter_type
action union
action find_reverse
entity Ayala/Aiara
relation shares border with
action find_reverse
entity Argençola
relation shares border with
type political territorial entity
{'OR': [[{'concept': 'political territorial entity'}, 'shares border with', 'Ayala/Aiara'], [{'concept': 'political territorial entity'}, 'shares border with', 'Argençola']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . { { ?f property:shares_border_with resource:Argençola } UNION { ?f property:shares_border_with resource:Ayala/Aiara } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q15408
P190
Q486972 Q56061 Q1048835
USER
How many political territories are a sister city of around the same number of human settlements and administrative territories as Castellterçol ?
(c(Q1048835),P190,c(Q486972)|c(Q56061))
action count
action approx
action union
action find_tuple_counts
relation P190
type Q1048835
type Q486972
action find_tuple_counts
relation P190
type Q1048835
type Q56061
action count
action filter_multi_types
action find
entity Q15408
relation P190
type Q486972
type Q56061
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q486972'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) ?x WHERE { { ?x rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q56061 . ?x property:P190 ?a } UNION { ?a rdf:type ontology:Q486972 . ?x rdf:type ontology:Q1048835 . ?x property:P190 ?a } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Q15408 property:P190 ?g . { { ?g rdf:type ontology:Q486972 } UNION { ?g rdf:type ontology:Q56061 } } } } . FILTER ( ?q = ?p ) }
Castellterçol
action count
action approx
action union
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
action find_tuple_counts
relation sister city
type political territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Castellterçol
relation sister city
type human settlement
type administrative territorial entity
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) ?x WHERE { { ?x rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:administrative_territorial_entity . ?x property:sister_city ?a } UNION { ?a rdf:type ontology:human_settlement . ?x rdf:type ontology:political_territorial_entity . ?x property:sister_city ?a } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Castellterçol property:sister_city ?g . { { ?g rdf:type ontology:human_settlement } UNION { ?g rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?q = ?p ) }
[]
human settlement administrative territorial entity political territorial entity
SYSTEM
412
Q473250 Q484717 Q1442814 Q5963 Q1628188 Q1794732 Q15471 Q786126 Q1643855 Q13010 Q927931 Q147774 Q1765078 Q6022 Q910410 Q2101408 Q5913 Q1312844 Q2047561 Q1391501 Q207111 Q15619 Q321331 Q1853429 Q667682 Q686837 Q476793 Q919050 Q8554 Q12590 Q433632 Q12595 Q842713 Q1649476 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 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 Q13521 Q1606055 Q787022 Q1101945 Q844784 Q694833 Q5123 Q1110343 Q1769167 Q13785 Q193780 Q574340 Q178993 Q3850873 Q161945 Q64010 Q140203 Q917693 Q485129 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 Q12587 Q15649 Q592747 Q913492 Q1786658 Q750968 Q12022 Q12028 Q500494 Q10436 Q1919317 Q1771128 Q1635711 Q3397684 Q205681 Q428954 Q1650316 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 Q840373 Q767222 Q1763574 Q55480 Q189848 Q1641529 Q12102 Q12101 Q761735 Q281272 Q1757392 Q192370 Q377244 Q847329 Q216802 Q1993019 Q13922 Q604810 Q512009 Q497801 Q1601699 Q385017 Q12075 Q221749 Q1917834 Q1632577 Q572800 Q639422 Q47475 Q11492 Q642046 Q4068849 Q1754551 Q1024828 Q844038 Q1807777 Q492533 Q845424 Q491667 Q638181 Q1648251 Q623685 Q622836 Q622830 Q672483 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 Q696797 Q1616138 Q1794121 Q1229949 Q1751908 Q18288148 Q763 Q502975 Q1998520 Q477311 Q207257 Q15652 Q984529 Q1228759 Q488555 Q49571 Q983473 Q695456 Q755695 Q3586 Q1026229 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 Q353618 Q10445 Q574869 Q919046 Q497692 Q984821 Q837051 Q13936 Q2064788 Q13930 Q619692 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 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 Q12335 Q229659 Q904130 Q13022 Q13159 Q778 Q15408 Q1751916 Q714613 Q1768489 Q646564 Q215822 Q984642
(c(Q1048835),P190,c(Q486972)|c(Q56061))
action count
action approx
action union
action find_tuple_counts
relation P190
type Q1048835
type Q486972
action find_tuple_counts
relation P190
type Q1048835
type Q56061
action count
action filter_multi_types
action find
entity Q15408
relation P190
type Q486972
type Q56061
[ANSWER]
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q486972'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) ?x WHERE { { ?x rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q56061 . ?x property:P190 ?a } UNION { ?a rdf:type ontology:Q486972 . ?x rdf:type ontology:Q1048835 . ?x property:P190 ?a } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Q15408 property:P190 ?g . { { ?g rdf:type ontology:Q486972 } UNION { ?g rdf:type ontology:Q56061 } } } } . FILTER ( ?q = ?p ) }
Macaé San Sebastián de los Reyes Mazaricos Hanover region Cangas Maracanaú Sant Adrià de Besòs Mundaka Monroy Arbúcies Cabra Zarautz Urussanga Göttingen Tres Cantos Guimarães Lüchow-Dannenberg Alberic Cerdà Briviesca North Lanarkshire 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í 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 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 Sant Feliu de Guíxols Caudete Autol Veranópolis Vale of Glamorgan Gramado Monzón Vélez-Rubio Cigales Cavite Almuñécar Las Gabias Palmas 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 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 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 Villafeliche 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 Valdemoro Clavijo São Mateus, Espírito Santo Colmenar Viejo Guernica 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 Valencia de Don Juan Vilassar de Dalt Torrevieja Albaida Benalup-Casas Viejas Alcañiz Pozuelo de Alarcón Sigüenza Mataró Calahorra Argoncilhe Mostardas Luso Valverde del Camino Itiúba Andorra Peniscola San Vicente del Raspeig / Sant Vicent del Raspeig Alcalá la Real Medina de Rioseco Ólvega Teresópolis Caruaru Ordizia 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 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 Bailén Fuenmayor East Java Miraflores 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 Adeje Forchheim Pedrola Consuegra Arganda del Rey Onda Mequinenza Sant Cugat del Vallès Lapa Almansa La Zubia 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 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 Ripoll Zumaia Ribeira Amer Cañete la Real The Bahamas Castellterçol Villanueva del Pardillo Serne Utrillas Santo Domingo de la Calzada Puertollano Canfranc
412
action count
action approx
action union
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
action find_tuple_counts
relation sister city
type political territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Castellterçol
relation sister city
type human settlement
type administrative territorial entity
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) ?x WHERE { { ?x rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:administrative_territorial_entity . ?x property:sister_city ?a } UNION { ?a rdf:type ontology:human_settlement . ?x rdf:type ontology:political_territorial_entity . ?x property:sister_city ?a } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Castellterçol property:sister_city ?g . { { ?g rdf:type ontology:human_settlement } UNION { ?g rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?q = ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q28301
P190
Q486972 Q56061 Q1048835
USER
And also tell me about Olinda?
(c(Q1048835),P190,c(Q486972)|c(Q56061))
action count
action approx
action union
action find_tuple_counts
relation P190
type Q1048835
type Q486972
action find_tuple_counts
relation P190
type Q1048835
type Q56061
action count
action filter_multi_types
action find
entity Q28301
relation P190
type Q486972
type Q56061
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q486972'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?x ) WHERE { { ?g property:P190 ?k . ?k rdf:type ontology:Q56061 . ?g rdf:type ontology:Q1048835 } UNION { ?g property:P190 ?k . ?g rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q486972 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { resource:Q28301 property:P190 ?h . { ?h rdf:type ?c . VALUES ( ?c ) { ( ontology:Q486972 ) ( ontology:Q56061 ) } } } } . FILTER ( ?x = ?v ) }
Olinda
action count
action approx
action union
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
action find_tuple_counts
relation sister city
type political territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Olinda
relation sister city
type human settlement
type administrative territorial entity
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?x ) WHERE { { ?g property:sister_city ?k . ?k rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity } UNION { ?g property:sister_city ?k . ?g rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:human_settlement } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { resource:Olinda property:sister_city ?h . { ?h rdf:type ?c . VALUES ( ?c ) { ( ontology:human_settlement ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?x = ?v ) }
[]
human settlement administrative territorial entity political territorial entity
SYSTEM
412
Q473250 Q484717 Q1442814 Q5963 Q1628188 Q1794732 Q15471 Q786126 Q1643855 Q13010 Q927931 Q147774 Q1765078 Q6022 Q910410 Q2101408 Q5913 Q1312844 Q2047561 Q1391501 Q207111 Q15619 Q321331 Q1853429 Q667682 Q686837 Q476793 Q919050 Q8554 Q12590 Q433632 Q12595 Q842713 Q1649476 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 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 Q13521 Q1606055 Q787022 Q1101945 Q844784 Q694833 Q5123 Q1110343 Q1769167 Q13785 Q193780 Q574340 Q178993 Q3850873 Q161945 Q64010 Q140203 Q917693 Q485129 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 Q12587 Q15649 Q592747 Q913492 Q1786658 Q750968 Q12022 Q12028 Q500494 Q10436 Q1919317 Q1771128 Q1635711 Q3397684 Q205681 Q428954 Q1650316 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 Q840373 Q767222 Q1763574 Q55480 Q189848 Q1641529 Q12102 Q12101 Q761735 Q281272 Q1757392 Q192370 Q377244 Q847329 Q216802 Q1993019 Q13922 Q604810 Q512009 Q497801 Q1601699 Q385017 Q12075 Q221749 Q1917834 Q1632577 Q572800 Q639422 Q47475 Q11492 Q642046 Q4068849 Q1754551 Q1024828 Q844038 Q1807777 Q492533 Q845424 Q491667 Q638181 Q1648251 Q623685 Q622836 Q622830 Q672483 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 Q696797 Q1616138 Q1794121 Q1229949 Q1751908 Q18288148 Q763 Q502975 Q1998520 Q477311 Q207257 Q15652 Q984529 Q1228759 Q488555 Q49571 Q983473 Q695456 Q755695 Q3586 Q1026229 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 Q353618 Q10445 Q574869 Q919046 Q497692 Q984821 Q837051 Q13936 Q2064788 Q13930 Q619692 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 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 Q12335 Q229659 Q904130 Q13022 Q13159 Q778 Q15408 Q1751916 Q714613 Q1768489 Q646564 Q215822 Q984642
(c(Q1048835),P190,c(Q486972)|c(Q56061))
action count
action approx
action union
action find_tuple_counts
relation P190
type Q1048835
type Q486972
action find_tuple_counts
relation P190
type Q1048835
type Q56061
action count
action filter_multi_types
action find
entity Q28301
relation P190
type Q486972
type Q56061
[ANSWER]
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q486972'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?x ) WHERE { { ?g property:P190 ?k . ?k rdf:type ontology:Q56061 . ?g rdf:type ontology:Q1048835 } UNION { ?g property:P190 ?k . ?g rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q486972 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { resource:Q28301 property:P190 ?h . { ?h rdf:type ?c . VALUES ( ?c ) { ( ontology:Q486972 ) ( ontology:Q56061 ) } } } } . FILTER ( ?x = ?v ) }
Macaé San Sebastián de los Reyes Mazaricos Hanover region Cangas Maracanaú Sant Adrià de Besòs Mundaka Monroy Arbúcies Cabra Zarautz Urussanga Göttingen Tres Cantos Guimarães Lüchow-Dannenberg Alberic Cerdà Briviesca North Lanarkshire 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í 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 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 Sant Feliu de Guíxols Caudete Autol Veranópolis Vale of Glamorgan Gramado Monzón Vélez-Rubio Cigales Cavite Almuñécar Las Gabias Palmas 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 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 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 Villafeliche 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 Valdemoro Clavijo São Mateus, Espírito Santo Colmenar Viejo Guernica 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 Valencia de Don Juan Vilassar de Dalt Torrevieja Albaida Benalup-Casas Viejas Alcañiz Pozuelo de Alarcón Sigüenza Mataró Calahorra Argoncilhe Mostardas Luso Valverde del Camino Itiúba Andorra Peniscola San Vicente del Raspeig / Sant Vicent del Raspeig Alcalá la Real Medina de Rioseco Ólvega Teresópolis Caruaru Ordizia 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 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 Bailén Fuenmayor East Java Miraflores 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 Adeje Forchheim Pedrola Consuegra Arganda del Rey Onda Mequinenza Sant Cugat del Vallès Lapa Almansa La Zubia 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 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 Ripoll Zumaia Ribeira Amer Cañete la Real The Bahamas Castellterçol Villanueva del Pardillo Serne Utrillas Santo Domingo de la Calzada Puertollano Canfranc
412
action count
action approx
action union
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
action find_tuple_counts
relation sister city
type political territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Olinda
relation sister city
type human settlement
type administrative territorial entity
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?x ) WHERE { { ?g property:sister_city ?k . ?k rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity } UNION { ?g property:sister_city ?k . ?g rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:human_settlement } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { resource:Olinda property:sister_city ?h . { ?h rdf:type ?c . VALUES ( ?c ) { ( ontology:human_settlement ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?x = ?v ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q481760
P6
Q502895
USER
Which person does Amurrio serve as the head of government for ?
(Q481760,P6,c(Q502895))
action filter_type
action find
entity Q481760
relation P6
type Q502895
['Q481760', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q481760 property:P6 ?i }
Amurrio
action filter_type
action find
entity Amurrio
relation head of government
type common name
['Amurrio', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Amurrio property:head_of_government ?i }
[]
common name
Q14015352
SYSTEM
Josune Irabien Marigorta
Q14015352
(Q481760,P6,c(Q502895))
action filter_type
action find
entity Q481760
relation P6
type Q502895
[ANSWER] Amurrio serves as the head of government
['Q481760', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q481760 property:P6 ?i }
Josune Irabien Marigorta
Josune Irabien Marigorta Amurrio serves as the head of government
Josune Irabien Marigorta
action filter_type
action find
entity Amurrio
relation head of government
type common name
['Amurrio', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Amurrio property:head_of_government ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q481760
P1444
Q31629
USER
Which type of sport finally halts at that political territory ?
(c(Q31629),P1444,Q14015352)
action filter_type
action find_reverse
entity Q481760
relation P1444
type Q31629
[{'concept': 'Q31629'}, 'P1444', 'Q14015352']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q31629 . ?e property:P1444 resource:Q481760 }
Amurrio
action filter_type
action find_reverse
entity Amurrio
relation destination point
type type of sport
[{'concept': 'type of sport'}, 'destination point', 'Josune Irabien Marigorta']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:type_of_sport . ?e property:destination_point resource:Amurrio }
[]
type of sport
Q23709814
SYSTEM
2016 Tour of the Basque Country, Stage 2
Q23709814
(c(Q31629),P1444,Q14015352)
action filter_type
action find_reverse
entity Q481760
relation P1444
type Q31629
[ANSWER] finally halts at that political territory
[{'concept': 'Q31629'}, 'P1444', 'Q14015352']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q31629 . ?e property:P1444 resource:Q481760 }
2016 Tour of the Basque Country, Stage 2
2016 Tour of the Basque Country, Stage 2 finally halts at that political territory
2016 Tour of the Basque Country, Stage 2
action filter_type
action find_reverse
entity Amurrio
relation destination point
type type of sport
[{'concept': 'type of sport'}, 'destination point', 'Josune Irabien Marigorta']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:type_of_sport . ?e property:destination_point resource:Amurrio }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q481760
P1313
Q12737077
USER
What is the occupation held by Amurrio ?
(Q481760,P1313,c(Q12737077))
action filter_type
action find
entity Q481760
relation P1313
type Q12737077
['Q481760', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q481760 property:P1313 ?p . ?p rdf:type ontology:Q12737077 }
Amurrio
action filter_type
action find
entity Amurrio
relation office held by head of government
type occupation
['Amurrio', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Amurrio property:office_held_by_head_of_government ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q26698288
SYSTEM
mayor of Amurrio
Q26698288
(Q481760,P1313,c(Q12737077))
action filter_type
action find
entity Q481760
relation P1313
type Q12737077
The occupation held by Amurrio is the [ANSWER]
['Q481760', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q481760 property:P1313 ?p . ?p rdf:type ontology:Q12737077 }
mayor of Amurrio
The occupation held by Amurrio is the mayor of Amurrio
mayor of Amurrio
action filter_type
action find
entity Amurrio
relation office held by head of government
type occupation
['Amurrio', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Amurrio property:office_held_by_head_of_government ?p . ?p rdf:type ontology:occupation }
[]