Simple Question (Direct)
Simple Question
Q2889587
P1412
Q34770
USER
Which language can Xoán Xesús González understand ?
(Q2889587,P1412,c(Q34770))
action filter_type
action find
entity Q2889587
relation P1412
type Q34770
['Q2889587', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q2889587 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Xoán Xesús González
action filter_type
action find
entity Xoán Xesús González
relation languages spoken, written or signed
type language
['Xoán Xesús González', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Xoán_Xesús_González property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q2889587,P1412,c(Q34770))
action filter_type
action find
entity Q2889587
relation P1412
type Q34770
Xoán Xesús González can understand the [ANSWER]
['Q2889587', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q2889587 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Spanish
Xoán Xesús González can understand the Spanish
Spanish
action filter_type
action find
entity Xoán Xesús González
relation languages spoken, written or signed
type language
['Xoán Xesús González', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Xoán_Xesús_González property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2889587
P19
Q1048835
USER
Where was Xoán Xesús González born ?
(Q2889587,P19,c(Q1048835))
action filter_type
action find
entity Q2889587
relation P19
type Q1048835
['Q2889587', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q2889587 property:P19 ?a . ?a rdf:type ontology:Q1048835 }
Xoán Xesús González
action filter_type
action find
entity Xoán Xesús González
relation place of birth
type political territorial entity
['Xoán Xesús González', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Xoán_Xesús_González property:place_of_birth ?a . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1631860
SYSTEM
Cuntis
Q1631860
(Q2889587,P19,c(Q1048835))
action filter_type
action find
entity Q2889587
relation P19
type Q1048835
Xoán Xesús González was born in [ANSWER]
['Q2889587', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q2889587 property:P19 ?a . ?a rdf:type ontology:Q1048835 }
Cuntis
Xoán Xesús González was born in Cuntis
Cuntis
action filter_type
action find
entity Xoán Xesús González
relation place of birth
type political territorial entity
['Xoán Xesús González', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Xoán_Xesús_González property:place_of_birth ?a . ?a rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2889587
P20
Q56061
USER
Where did Xoán Xesús González expire ?
(Q2889587,P20,c(Q56061))
action filter_type
action find
entity Q2889587
relation P20
type Q56061
['Q2889587', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . resource:Q2889587 property:P20 ?s }
Xoán Xesús González
action filter_type
action find
entity Xoán Xesús González
relation place of death
type administrative territorial entity
['Xoán Xesús González', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . resource:Xoán_Xesús_González property:place_of_death ?s }
[]
administrative territorial entity
Q14314
SYSTEM
Santiago de Compostela
Q14314
(Q2889587,P20,c(Q56061))
action filter_type
action find
entity Q2889587
relation P20
type Q56061
Xoán Xesús González expired in [ANSWER]
['Q2889587', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . resource:Q2889587 property:P20 ?s }
Santiago de Compostela
Xoán Xesús González expired in Santiago de Compostela
Santiago de Compostela
action filter_type
action find
entity Xoán Xesús González
relation place of death
type administrative territorial entity
['Xoán Xesús González', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . resource:Xoán_Xesús_González property:place_of_death ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2889587
P106
Q12737077
USER
What does Xoán Xesús González do for a living ?
(Q2889587,P106,c(Q12737077))
action filter_type
action find
entity Q2889587
relation P106
type Q12737077
['Q2889587', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q2889587 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Xoán Xesús González
action filter_type
action find
entity Xoán Xesús González
relation occupation
type occupation
['Xoán Xesús González', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Xoán_Xesús_González property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q36180
SYSTEM
writer
Q36180
(Q2889587,P106,c(Q12737077))
action filter_type
action find
entity Q2889587
relation P106
type Q12737077
Xoán Xesús González does not [ANSWER] for a living
['Q2889587', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q2889587 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
writer
Xoán Xesús González does not writer for a living
writer
action filter_type
action find
entity Xoán Xesús González
relation occupation
type occupation
['Xoán Xesús González', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Xoán_Xesús_González property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2889587
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q36180,P27,c(Q15617994))
action filter_type
action find
entity Q2889587
relation P27
type Q15617994
['Q36180', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q2889587 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Xoán Xesús González
action filter_type
action find
entity Xoán Xesús González
relation country of citizenship
type designation for an administrative territorial entity
['writer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Xoán_Xesús_González property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q36180,P27,c(Q15617994))
action filter_type
action find
entity Q2889587
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q36180', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q2889587 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Spain
Spain is that person a civilian of
Spain
action filter_type
action find
entity Xoán Xesús González
relation country of citizenship
type designation for an administrative territorial entity
['writer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Xoán_Xesús_González property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q29 Q5956
P530
Q1048835
USER
Does Diepholz have a diplomatic relationship with that administrative territory ?
(Q29,P530,Q5956)
action is_in
entity Q5956
action find
entity Q29
relation P530
['Q29', 'P530', 'Q5956']
ASK WHERE { resource:Q29 property:P530 resource:Q5956 }
Spain Diepholz
action is_in
entity Diepholz
action find
entity Spain
relation diplomatic relation
['Spain', 'diplomatic relation', 'Diepholz']
ASK WHERE { resource:Spain property:diplomatic_relation resource:Diepholz }
[]
political territorial entity
SYSTEM
NO
(Q29,P530,Q5956)
action is_in
entity Q5956
action find
entity Q29
relation P530
[ANSWER]
['Q29', 'P530', 'Q5956']
ASK WHERE { resource:Q29 property:P530 resource:Q5956 }
No
action is_in
entity Diepholz
action find
entity Spain
relation diplomatic relation
['Spain', 'diplomatic relation', 'Diepholz']
ASK WHERE { resource:Spain property:diplomatic_relation resource:Diepholz }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q142 Q29
P27
Q502895
USER
Which people are a native of Spain and France ?
AND((c(Q502895),P27,Q29), (c(Q502895),P27,Q142))
action filter_type
action intersection
action find_reverse
entity Q29
relation P27
action find_reverse
entity Q142
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q29'], [{'concept': 'Q502895'}, 'P27', 'Q142']]}
SELECT DISTINCT ?c WHERE { ?c property:P27 resource:Q29 . ?c property:P27 resource:Q142 . ?c rdf:type ontology:Q502895 }
France Spain
action filter_type
action intersection
action find_reverse
entity Spain
relation country of citizenship
action find_reverse
entity France
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Spain'], [{'concept': 'common name'}, 'country of citizenship', 'France']]}
SELECT DISTINCT ?c WHERE { ?c property:country_of_citizenship resource:Spain . ?c property:country_of_citizenship resource:France . ?c rdf:type ontology:common_name }
[]
common name
Q13414872 Q122998 Q23688573 Q778451 Q3034228 Q3089817 Q22666072 Q3172814 Q3091084 Q334970
SYSTEM
Some of them are Muriel Casals, Pauline Viardot, Émilia Dérou-Bernal, José Garcia, Gonzalo O'Farrill y Herrera, Josep Maria Flotats, Comandante Robert, Jean Joffre, Xabier Lete, José-Maria de Heredia
Q16830613 Q1605711 Q356546 Q22920409 Q309768 Q3570757 Q3056911 Q3417229 Q8433 Q3262373 Q3274692 Q1558987 Q232172 Q229286 Q704342 Q2857375 Q11929145 Q3312959 Q19945163 Q3172814 Q3066150 Q229189 Q12348015 Q26455 Q2087642 Q1344147 Q2714816 Q537914 Q3266668 Q204261 Q1771969 Q395171 Q8384 Q7911056 Q2405300 Q467754 Q3524443 Q2381170 Q1350622 Q745336 Q3756601 Q3298807 Q7758 Q2756677 Q7750 Q2363707 Q3183739 Q176648 Q21890311 Q80556 Q2977959 Q5486151 Q2555120 Q1447042 Q1002546 Q1338265 Q232783 Q3756589 Q167276 Q11929247 Q942282 Q13414872 Q174964 Q3140999 Q767329 Q293314 Q955154 Q3325380 Q10512707 Q3087087 Q2003349 Q555545 Q151209 Q468925 Q3062292 Q3524971 Q23016407 Q1081477 Q314861 Q152549 Q1444545 Q2898973 Q14535660 Q3336524 Q3296455 Q11906079 Q1367583 Q8404 Q234015 Q778451 Q2943919 Q3430826 Q960685 Q2437913 Q2828813 Q3121604 Q15585779 Q11692759 Q720321 Q1355148 Q3089817 Q2740907 Q2958716 Q3542631 Q3850105 Q11945261 Q3929912 Q15986655 Q442534 Q23308273 Q3175935 Q3387584 Q457512 Q558371 Q315513 Q603075 Q314562 Q355112 Q2602960 Q3350911 Q2706231 Q12355890 Q270834 Q12354580 Q10287 Q3091084 Q2302580 Q1852000 Q157130 Q17959134 Q5819370 Q1406524 Q1871533 Q174477 Q3547689 Q13422446 Q1848893 Q3752508 Q512281 Q3356457 Q255635 Q12354404 Q2910135 Q334970 Q170467 Q18711286 Q1151149 Q2851133 Q1347962 Q23688573 Q965990 Q5698007 Q3908332 Q1677973 Q166023 Q443417 Q460344 Q43697 Q356522 Q3066516 Q276432 Q9066316 Q554188 Q3069012 Q230031 Q270356 Q3816475 Q4891945 Q472671 Q12357213 Q154353 Q3014750 Q3294484 Q3340019 Q981627 Q12353680 Q122998 Q737533 Q12349747 Q3031141 Q5947708 Q936976 Q675471 Q500649 Q3928968 Q6165651 Q451178 Q3438691 Q14701415 Q20978992 Q12357209 Q12356457 Q18197604 Q365761 Q16839723 Q3186481 Q1367152 Q983162 Q22666072 Q2059340 Q2929495 Q946985 Q3034228 Q207898 Q2657533 Q504886 Q16667931 Q5593 Q7738 Q378783 Q2832419
AND((c(Q502895),P27,Q29), (c(Q502895),P27,Q142))
action filter_type
action intersection
action find_reverse
entity Q29
relation P27
action find_reverse
entity Q142
relation P27
type Q502895
[ANSWERS] are a native of Spain and France
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q29'], [{'concept': 'Q502895'}, 'P27', 'Q142']]}
SELECT DISTINCT ?c WHERE { ?c property:P27 resource:Q29 . ?c property:P27 resource:Q142 . ?c rdf:type ontology:Q502895 }
Pierre de Bourbon Henri Belena Max Aub Hélène Cardona Fernando Arrabal Xavier Oriach Ernest Corominas Rafael Font Farran Philip V of France Louis Jou Évariste Sanchez-Palencia Gérard Hernandez Maria Antonia Ferdinanda of Spain Jeanne d'Albret Mathieu Orfila Antonio Otero José María Franco Miguel Courtois El Molinero Jean Joffre Josep Maria Bayarri Joan I of Navarre Frederic Cros Fernand Sanz Luis Mariano Enrique Sánchez Abulí Louis-Alexandre de Launay, comte d'Antraigues Carlos Hugo, Duke of Parma Luis Español Sabin Berthelot Jaume Serra i Cau Agobard Louis X of France Valentino Fiévet Mariano Martínez Paco Rabanne Thierry Murcia Tony Poncet Fermin Muguruza Judah ben Saul ibn Tibbon Izaskun Uranga Mathieu Lopez Charles X of France Manuel Anatol Louis XVIII of France Bruno Giner Jordi Barre François de Fossa Juan Branco Raymond de Sauvetât Claude Picasso Blai Maria Colomer i Pérez Carlos Semprún Francisco Ponzan Vidal Margaret of Foix Emmanuel Drake del Castillo Maria Malibran Amaya Uranga Joseph de Margarit Juan Antonio Andrades Gutiérrez Javier Garay Muriel Casals Charles IV of France Juan Guas Bernard Forest de Bélidor Óscar Domínguez Ernest Cabaner Anari Josep Maria Corredor i Pomés Frederic Pujulà i Vallès Antonio Rincon Michel del Castillo Anne of Austria Prince Gaston, Count of Eu Francisco de Paula de Borbón y Castellví Thomas Calvo Vincent de Margarit de Biure Christian Poveda Luis Fernández Marie Thérèse of Austria Matéo Maximoff Bernat Ylla Renat Llech-Walter Nath-Sakura María Luisa García Antonio Prior Martínez René Llense John I of France Astrid Berges-Frisbey José Garcia Celestino Alfonso Richard Guino Santiago de Liniers, 1st Count of Buenos Aires Guillaume d'Aigrefeuille l'Ancien Aita Donostia Xabi Aburruzaga Marina Ginestà Mikel Sorauren Raimundo Saporta Jean-Joseph de Laborde Josep Maria Flotats Agustín Gómez-Arcos Charles Chauderlot Txomin Peillen Martin Martínez René Picamal Coma Ramon de Rosselló Alphonse Guépin Valérie Tasso Christelle Enguix Julian de Ajuriaguerra Pierre de La Jugie Yannick Bellon Jean Laurent Louis Joseph, Duke of Vendôme Alfonso, Duke of Anjou and Cádiz Theobald I of Navarre Louis Blanc François Cabarrus, 1st Count of Cabarrús Olivier Chauzu Salvador Cardona Thérèse Julia María Casares Robert Gendre Manuel Valls Xabier Lete David Zurutuza Moses ben Joshua Eugénie de Montijo Pierrette Prat i Galindo Eduardo León Garrido Francisco Bores Louis Alphonse, Duke of Anjou Fernand Pelez Uc de Lescura Xabier de Antoñana Luis Née Benito Lertxundi Miranda Orlando Pelayo Thérésa Tallien Raymond Goudin Bonifazio Etxegarai José-Maria de Heredia Philip V of Spain Jean Baron Olga Gimeno Anne Hidalgo Alejandro María Aguado, 1st Marquis of the Guadalquivir Marshes Émilia Dérou-Bernal Jean Cassou Antonio Carmona Pons d'Ortaffa Jacques François Gallay James FitzJames, 1st Duke of Berwick Juan, Count of Montizón Amélie Beaury-Saurel Jean Reno Francis, Duke of Cádiz Miguel Verdiguier Blanca Li Ramon de Mur Ricardo Viñes Fermín Aguayo Joan II of Navarre Paloma Picasso Antoni Miralda Arnau Bassa Gérard Encausse Étienne Coste François Arago Daniel Tosi Marlène Mourreau Nicolas Alberny Felipe Bigarny Paul Linares Pauline Viardot Louis XIII of France Jean Julia Mariano Luis de Urquijo Juan Bautista Blancard Henry IV of France Lucia Sanchez Felipe Poey Rafael Ramos Pérez Javier Moro León Antoine Perrenot de Granvelle Carlos de España Jean de Kindelan Alexis Frederic Marí Malonda Émile Bellsola Victor Fraitot Joseph-Michel Guardia Adolphe Low Isaac Gorni José Montalvo Pascal Comelade Jules Guérin Comandante Robert Jacques Bosch Béatrice de Andia Gonzalo, Duke of Aquitaine Gonzalo O'Farrill y Herrera Manu Chao Joan Daniel Bezsonoff i Montalat Olivier Martinez Olivier Giraud Pablo Picasso Louis XV of France Alonso Cano Aleix Renyé
Muriel Casals, Pauline Viardot, Émilia Dérou-Bernal, José Garcia, Gonzalo O'Farrill y Herrera, Josep Maria Flotats, Comandante Robert, Jean Joffre, Xabier Lete and José-Maria de Heredia are a native of Spain and France
Muriel Casals Pauline Viardot Émilia Dérou-Bernal José Garcia Gonzalo O'Farrill y Herrera Josep Maria Flotats Comandante Robert Jean Joffre Xabier Lete José-Maria de Heredia
action filter_type
action intersection
action find_reverse
entity Spain
relation country of citizenship
action find_reverse
entity France
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Spain'], [{'concept': 'common name'}, 'country of citizenship', 'France']]}
SELECT DISTINCT ?c WHERE { ?c property:country_of_citizenship resource:Spain . ?c property:country_of_citizenship resource:France . ?c rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q710
P194
Q11204 Q35749 Q15617994
USER
How many administrative territories have around the same number of legislatures or parliaments as their representative body as Kiribati ?
(c(Q15617994),P194,c(Q11204)|c(Q35749))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action count
action filter_multi_types
action find
entity Q710
relation P194
type Q11204
type Q35749
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q35749'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?i ) WHERE { VALUES ( ?k ) { ( ontology:Q35749 ) ( ontology:Q11204 ) } . ?f rdf:type ?k } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Q710 property:P194 ?u . { { ?u rdf:type ontology:Q11204 } UNION { ?u rdf:type ontology:Q35749 } } } } . FILTER ( ?i = ?v ) }
Kiribati
action count
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action count
action filter_multi_types
action find
entity Kiribati
relation legislative body
type legislature
type parliament
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'parliament'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?i ) WHERE { VALUES ( ?k ) { ( ontology:parliament ) ( ontology:legislature ) } . ?f rdf:type ?k } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Kiribati property:legislative_body ?u . { { ?u rdf:type ontology:legislature } UNION { ?u rdf:type ontology:parliament } } } } . FILTER ( ?i = ?v ) }
[]
legislature parliament designation for an administrative territorial entity
SYSTEM
64
Q805 Q800 Q1462 Q1250 Q1948 Q148 Q189 Q786 Q710 Q1460 Q1979 Q159 Q43 Q792 Q779011 Q889 Q884 Q958 Q12574 Q12761 Q244 Q1974 Q31 Q30 Q37 Q1447 Q1282 Q1284 Q3389 Q236 Q12661 Q1273 Q1279 Q1049 Q2009 Q2007 Q2003 Q1458 Q1904 Q227 Q347 Q17 Q1989 Q902 Q191 Q114 Q212 Q1210 Q917 Q736 Q34020 Q686 Q760 Q574 Q1222 Q774 Q1016 Q27 Q1243 Q12626 Q672 Q1951 Q2023 Q1237
(c(Q15617994),P194,c(Q11204)|c(Q35749))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action count
action filter_multi_types
action find
entity Q710
relation P194
type Q11204
type Q35749
[ANSWER]
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q35749'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?i ) WHERE { VALUES ( ?k ) { ( ontology:Q35749 ) ( ontology:Q11204 ) } . ?f rdf:type ?k } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Q710 property:P194 ?u . { { ?u rdf:type ontology:Q11204 } UNION { ?u rdf:type ontology:Q35749 } } } } . FILTER ( ?i = ?v ) }
Yemen Costa Rica Sardinia Friuli–Venezia Giulia Manitoba People's Republic of China Iceland Dominican Republic Kiribati Sicily Prince Edward Island Russia Turkey El Salvador Principality of Montenegro Afghanistan South Korea South Sudan Loiret Seine-Saint-Denis Barbados British Columbia Belgium United States of America Lithuania Apulia Lazio Abruzzo Finistère Montenegro Nord Tuscany Marche Sudan Yukon Northwest Territories Newfoundland and Labrador Calabria Ontario Azerbaijan Liechtenstein Japan Saskatchewan Bangladesh Estonia Kenya Ukraine Lombardy Bhutan Ecuador Niue Vanuatu Saint Lucia East Timor Aosta Valley Guatemala Libya Ireland Veneto Meurthe-et-Moselle Tuvalu Alberta Nunavut Trentino-South Tyrol
64
action count
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action count
action filter_multi_types
action find
entity Kiribati
relation legislative body
type legislature
type parliament
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'parliament'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?i ) WHERE { VALUES ( ?k ) { ( ontology:parliament ) ( ontology:legislature ) } . ?f rdf:type ?k } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Kiribati property:legislative_body ?u . { { ?u rdf:type ontology:legislature } UNION { ?u rdf:type ontology:parliament } } } } . FILTER ( ?i = ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q869
P194
Q11204 Q35749 Q15617994
USER
And how about Thailand?
(c(Q15617994),P194,c(Q11204)|c(Q35749))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action count
action filter_multi_types
action find
entity Q869
relation P194
type Q11204
type Q35749
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q35749'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?z WHERE { { ?z property:P194 ?p . ?z rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q11204 } UNION { ?z property:P194 ?p . ?z rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q35749 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:Q869 property:P194 ?v . { { ?v rdf:type ontology:Q11204 } UNION { ?v rdf:type ontology:Q35749 } } } } . FILTER ( ?j = ?c ) }
Thailand
action count
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action count
action filter_multi_types
action find
entity Thailand
relation legislative body
type legislature
type parliament
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'parliament'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?z WHERE { { ?z property:legislative_body ?p . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:legislature } UNION { ?z property:legislative_body ?p . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:parliament } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:Thailand property:legislative_body ?v . { { ?v rdf:type ontology:legislature } UNION { ?v rdf:type ontology:parliament } } } } . FILTER ( ?j = ?c ) }
[]
legislature parliament designation for an administrative territorial entity
SYSTEM
77
Q804 Q801 Q419 Q668 Q2806757 Q414 Q142 Q55 Q145 Q717 Q252320 Q187035 Q3361 Q657 Q258 Q45 Q41 Q155 Q4628 Q794 Q153529 Q1965 Q242 Q33 Q32 Q36 Q34 Q929 Q39 Q38 Q739 Q3685392 Q733 Q29999 Q854 Q153091 Q104192 Q603676 Q747074 Q72449 Q233 Q238 Q20 Q28 Q29 Q783 Q184 Q228 Q224 Q223 Q222 Q221 Q815731 Q96 Q229 Q697 Q298 Q754 Q750 Q213 Q211 Q6465 Q214 Q215 Q218 Q219 Q16110 Q694594 Q79 Q77 Q811 Q1011 Q1013 Q12620 Q176 Q1952 Q869
(c(Q15617994),P194,c(Q11204)|c(Q35749))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action count
action filter_multi_types
action find
entity Q869
relation P194
type Q11204
type Q35749
[ANSWER]
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q35749'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?z WHERE { { ?z property:P194 ?p . ?z rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q11204 } UNION { ?z property:P194 ?p . ?z rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q35749 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:Q869 property:P194 ?v . { { ?v rdf:type ontology:Q11204 } UNION { ?v rdf:type ontology:Q35749 } } } } . FILTER ( ?j = ?c ) }
Panama Israel Peru India 105 Mile Post Indian Reserve No. 2 Argentina France Netherlands United Kingdom Venezuela Pleinfeld Principality of Albania Doubs Chad South Africa Portugal Greece Brazil Faroe Islands Iran Duchy of Milan New Brunswick Belize Finland Luxembourg Poland Sweden Central African Republic Switzerland Italy Colombia Municipality of Monaco Paraguay Kingdom of the Netherlands Sri Lanka Duchy of Prussia Kleinmachnow District of Keewatin comune of Italy Roccarainola Malta San Marino Norway Hungary Spain Honduras Belarus Andorra Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Mexico Cyprus Nauru Chile Trinidad and Tobago Bolivia Czech Republic Latvia department of France Slovakia Slovenia Romania Bulgaria region of Italy Bremen-Verden Egypt Uruguay Nicaragua Cape Verde Lesotho Mayenne Quebec Nova Scotia Thailand
77
action count
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action count
action filter_multi_types
action find
entity Thailand
relation legislative body
type legislature
type parliament
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'parliament'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?z WHERE { { ?z property:legislative_body ?p . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:legislature } UNION { ?z property:legislative_body ?p . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:parliament } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:Thailand property:legislative_body ?v . { { ?v rdf:type ontology:legislature } UNION { ?v rdf:type ontology:parliament } } } } . FILTER ( ?j = ?c ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P610
Q473972
USER
Which is the highest peak of Spain ?
(Q29,P610,c(Q473972))
action filter_type
action find
entity Q29
relation P610
type Q473972
['Q29', 'P610', {'concept': 'Q473972'}]
SELECT DISTINCT ?e WHERE { resource:Q29 property:P610 ?e . ?e rdf:type ontology:Q473972 }
Spain
action filter_type
action find
entity Spain
relation highest point
type protected area
['Spain', 'highest point', {'concept': 'protected area'}]
SELECT DISTINCT ?e WHERE { resource:Spain property:highest_point ?e . ?e rdf:type ontology:protected_area }
[]
protected area
Q38954
SYSTEM
Teide
Q38954
(Q29,P610,c(Q473972))
action filter_type
action find
entity Q29
relation P610
type Q473972
The highest peak of Spain is the [ANSWER]
['Q29', 'P610', {'concept': 'Q473972'}]
SELECT DISTINCT ?e WHERE { resource:Q29 property:P610 ?e . ?e rdf:type ontology:Q473972 }
Teide
The highest peak of Spain is the Teide
Teide
action filter_type
action find
entity Spain
relation highest point
type protected area
['Spain', 'highest point', {'concept': 'protected area'}]
SELECT DISTINCT ?e WHERE { resource:Spain property:highest_point ?e . ?e rdf:type ontology:protected_area }
[]