Simple Question (Direct)
Simple Question
Q3069570
P21
Q290
USER
What is the sex of Fernando de Valdés y Salas ?
(Q3069570,P21,c(Q290))
action filter_type
action find
entity Q3069570
relation P21
type Q290
['Q3069570', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q3069570 property:P21 ?v . ?v rdf:type ontology:Q290 }
Fernando de Valdés y Salas
action filter_type
action find
entity Fernando de Valdés y Salas
relation gender
type sex
['Fernando de Valdés y Salas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Fernando_de_Valdés_y_Salas property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3069570,P21,c(Q290))
action filter_type
action find
entity Q3069570
relation P21
type Q290
The sex of Fernando de Valdés y Salas is the [ANSWER]
['Q3069570', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q3069570 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
The sex of Fernando de Valdés y Salas is the male
male
action filter_type
action find
entity Fernando de Valdés y Salas
relation gender
type sex
['Fernando de Valdés y Salas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Fernando_de_Valdés_y_Salas property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3069570
P39
Q12737077
USER
Which occupation was a position for which Fernando de Valdés y Salas was appointed ?
(Q3069570,P39,c(Q12737077))
action filter_type
action find
entity Q3069570
relation P39
type Q12737077
['Q3069570', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . resource:Q3069570 property:P39 ?a }
Fernando de Valdés y Salas
action filter_type
action find
entity Fernando de Valdés y Salas
relation position held
type occupation
['Fernando de Valdés y Salas', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . resource:Fernando_de_Valdés_y_Salas property:position_held ?a }
[]
occupation
Q1549367
SYSTEM
Grand Inquisitor
Q1549367
(Q3069570,P39,c(Q12737077))
action filter_type
action find
entity Q3069570
relation P39
type Q12737077
[ANSWER] was a position for which Fernando de Valdés y Salas was appointed
['Q3069570', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . resource:Q3069570 property:P39 ?a }
Grand Inquisitor
Grand Inquisitor was a position for which Fernando de Valdés y Salas was appointed
Grand Inquisitor
action filter_type
action find
entity Fernando de Valdés y Salas
relation position held
type occupation
['Fernando de Valdés y Salas', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . resource:Fernando_de_Valdés_y_Salas property:position_held ?a }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P417
Q502895 Q12737077
USER
Which people are the names of the patron saint of min number of occupations ?
(c(Q12737077),P417,Q208331)
action argmin
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?r ) { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?v ) WHERE { ?o property:P417 ?t . ?t rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } GROUP BY ?t } } . { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P417 ?p . ?p rdf:type ontology:Q502895 . ?m rdf:type ontology:Q12737077 } GROUP BY ?p } . FILTER ( ?g = ?r ) }
action argmin
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?r ) { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?v ) WHERE { ?o property:patron_saint ?t . ?t rdf:type ontology:common_name . ?o rdf:type ontology:occupation } GROUP BY ?t } } . { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:patron_saint ?p . ?p rdf:type ontology:common_name . ?m rdf:type ontology:occupation } GROUP BY ?p } . FILTER ( ?g = ?r ) }
[]
common name occupation
Q9682 Q191479 Q346
SYSTEM
Elizabeth II, Tadeusz Kościuszko, Louis IX of France
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,Q208331)
action argmin
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[ANSWERS] are the names of the patron saint of min number of occupations
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?r ) { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?v ) WHERE { ?o property:P417 ?t . ?t rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } GROUP BY ?t } } . { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P417 ?p . ?p rdf:type ontology:Q502895 . ?m rdf:type ontology:Q12737077 } GROUP BY ?p } . FILTER ( ?g = ?r ) }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II, Tadeusz Kościuszko and Louis IX of France are the names of the patron saint of min number of occupations
Elizabeth II Tadeusz Kościuszko Louis IX of France
action argmin
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?r ) { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?v ) WHERE { ?o property:patron_saint ?t . ?t rdf:type ontology:common_name . ?o rdf:type ontology:occupation } GROUP BY ?t } } . { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:patron_saint ?p . ?p rdf:type ontology:common_name . ?m rdf:type ontology:occupation } GROUP BY ?p } . FILTER ( ?g = ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q626035
P1303
Q34379 Q502895
USER
Which musical instruments are played by lesser number of people than glockenspiel ?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q626035
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:P1303 ?q . ?g rdf:type ontology:Q502895 . ?q rdf:type ontology:Q34379 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:P1303 resource:Q626035 . ?l rdf:type ontology:Q502895 } } . FILTER ( ?c < ?j ) }
glockenspiel
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity glockenspiel
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:instrument ?q . ?g rdf:type ontology:common_name . ?q rdf:type ontology:musical_instrument } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:instrument resource:glockenspiel . ?l rdf:type ontology:common_name } } . FILTER ( ?c < ?j ) }
[]
musical instrument common name
Q1178361 Q1759986 Q816793
SYSTEM
davul, Wurlitzer electric piano, Bendir
Q201129 Q424017 Q890073 Q1178361 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q182718 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q816793 Q862501 Q244976 Q537750 Q1179017 Q320341 Q1300012 Q748455 Q669370 Q290951 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q626035
relation P1303
type Q502895
[ANSWERS] are played by lesser number of people than glockenspiel
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:P1303 ?q . ?g rdf:type ontology:Q502895 . ?q rdf:type ontology:Q34379 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:P1303 resource:Q626035 . ?l rdf:type ontology:Q502895 } } . FILTER ( ?c < ?j ) }
lyre acoustic bass guitar Body percussion davul Temple block Irish bouzouki maraca tonbak Twelve-string guitar Nyckelharpa Ondioline Jinghu player piano electronic musical instrument spoon Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa Bendir ondes Martenot bodhrán Djembe Daxophone celesta toy piano cajón gusle Kamancheh Hardanger fiddle transverse flute baritone horn morin khuur Timbales wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar Kayamb Paraguayan harp
Davul, Wurlitzer electric piano and Bendir are played by lesser number of people than glockenspiel
davul Wurlitzer electric piano Bendir
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity glockenspiel
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:instrument ?q . ?g rdf:type ontology:common_name . ?q rdf:type ontology:musical_instrument } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:instrument resource:glockenspiel . ?l rdf:type ontology:common_name } } . FILTER ( ?c < ?j ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q816793
P495
Q15617994
USER
Where did that musical instrument originate ?
(Q816793,P495,c(Q15617994))
action filter_type
action find
entity Q816793
relation P495
type Q15617994
['Q816793', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q816793 property:P495 ?o . ?o rdf:type ontology:Q15617994 }
Bendir
action filter_type
action find
entity Bendir
relation country of origin
type designation for an administrative territorial entity
['Bendir', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Bendir property:country_of_origin ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q1759986
SYSTEM
Did you mean Wurlitzer electric piano ?
Q1178361 Q1759986 Q816793
(Q1178361,P495,c(Q15617994)) (Q1759986,P495,c(Q15617994)) (Q816793,P495,c(Q15617994))
[ANSWER]
['Q1178361', 'P495', {'concept': 'Q15617994'}] ['Q1759986', 'P495', {'concept': 'Q15617994'}] ['Q816793', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q816793 property:P495 ?o . ?o rdf:type ontology:Q15617994 }
davul Wurlitzer electric piano Bendir
Did you mean Wurlitzer electric piano ?
Wurlitzer electric piano
['davul', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Wurlitzer electric piano', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Bendir', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Bendir property:country_of_origin ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Bendir. Could you tell me the answer for that?
(Q816793,P495,c(Q15617994))
Q816793
['Q816793', 'P495', {'concept': 'Q15617994'}]
['Bendir', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q43
SYSTEM
Turkey
Q43
(Q816793,P495,c(Q15617994))
action filter_type
action find
entity Q816793
relation P495
type Q15617994
That musical instrument originated from [ANSWER]
['Q816793', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q816793 property:P495 ?o . ?o rdf:type ontology:Q15617994 }
Turkey
That musical instrument originated from Turkey
Turkey
action filter_type
action find
entity Bendir
relation country of origin
type designation for an administrative territorial entity
['Bendir', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Bendir property:country_of_origin ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
Which administrative territories are the origins of more number of releases than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q43
relation P495
type Q15617994
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?t ) WHERE { ?g property:P495 ?l . ?l rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q2031291 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { resource:Q43 property:P495 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?t > ?u ) }
action greater
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Turkey
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?t ) WHERE { ?g property:country_of_origin ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:release } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { resource:Turkey property:country_of_origin ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t > ?u ) }
[]
designation for an administrative territorial entity release
Q38 Q30 Q55
SYSTEM
Italy, United States of America, Netherlands
Q668 Q142 Q55 Q145 Q33 Q30 Q34 Q38 Q843 Q17 Q29
(c(Q2031291),P495,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q43
relation P495
type Q15617994
[ANSWERS] are the origins of more number of releases than that administrative territory
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?t ) WHERE { ?g property:P495 ?l . ?l rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q2031291 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { resource:Q43 property:P495 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?t > ?u ) }
India France Netherlands United Kingdom Finland United States of America Sweden Italy Pakistan Japan Spain
Italy, United States of America and Netherlands are the origins of more number of releases than that administrative territory
Italy United States of America Netherlands
action greater
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Turkey
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?t ) WHERE { ?g property:country_of_origin ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:release } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { resource:Turkey property:country_of_origin ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t > ?u ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2249325 Q1759986
P27 P17
Q15617994
USER
Which administrative territories are Wurlitzer electric piano a part of or are the native countriesof Yossi Banai ?
OR((Q1759986,P17,c(Q15617994)), (Q2249325,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1759986
relation P17
action find
entity Q2249325
relation P27
type Q15617994
{'OR': [['Q1759986', 'P17', {'concept': 'Q15617994'}], ['Q2249325', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q1759986 property:P17 ?l } UNION { resource:Q2249325 property:P27 ?l } } . ?l rdf:type ontology:Q15617994 }
Yossi Banai Wurlitzer electric piano
action filter_type
action union
action find
entity Wurlitzer electric piano
relation country
action find
entity Yossi Banai
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Yossi Banai', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Wurlitzer_electric_piano property:country ?l } UNION { resource:Yossi_Banai property:country_of_citizenship ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q801
SYSTEM
United States of America, Israel
Q30 Q801
OR((Q1759986,P17,c(Q15617994)), (Q2249325,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1759986
relation P17
action find
entity Q2249325
relation P27
type Q15617994
[ANSWERS] are Wurlitzer electric piano a part of or are the native countriesof Yossi Banai
{'OR': [['Q1759986', 'P17', {'concept': 'Q15617994'}], ['Q2249325', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q1759986 property:P17 ?l } UNION { resource:Q2249325 property:P27 ?l } } . ?l rdf:type ontology:Q15617994 }
United States of America Israel
United States of America and Israel are Wurlitzer electric piano a part of or are the native countriesof Yossi Banai
United States of America Israel
action filter_type
action union
action find
entity Wurlitzer electric piano
relation country
action find
entity Yossi Banai
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Yossi Banai', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Wurlitzer_electric_piano property:country ?l } UNION { resource:Yossi_Banai property:country_of_citizenship ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q41
P180
Q15617994 Q2342494 Q340169
USER
How many administrative territories are demonstrated in more number of collectables and medias than Greece ?
(c(Q2342494)|c(Q340169),P180,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q41
relation P180
type Q2342494
type Q340169
[[{'concept': 'Q2342494'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:P180 resource:Q41 . { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:Q2342494 ) ( ontology:Q340169 ) } } } } . FILTER ( ?k > ?i ) . { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?k ) WHERE { VALUES ( ?s ) { ( ontology:Q2342494 ) ( ontology:Q340169 ) } . ?v rdf:type ?s } GROUP BY ?b } }
Greece
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action count
action filter_multi_types
action find_reverse
entity Greece
relation depicts
type collectable
type media
[[{'concept': 'collectable'}, {'concept': 'media'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:depicts resource:Greece . { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:collectable ) ( ontology:media ) } } } } . FILTER ( ?k > ?i ) . { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?k ) WHERE { VALUES ( ?s ) { ( ontology:collectable ) ( ontology:media ) } . ?v rdf:type ?s } GROUP BY ?b } }
[]
designation for an administrative territorial entity collectable media
SYSTEM
10
Q674904 Q145 Q739 Q736 Q1028 Q298 Q159605 Q79 Q1011 Q913434
(c(Q2342494)|c(Q340169),P180,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q41
relation P180
type Q2342494
type Q340169
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:P180 resource:Q41 . { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:Q2342494 ) ( ontology:Q340169 ) } } } } . FILTER ( ?k > ?i ) . { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?k ) WHERE { VALUES ( ?s ) { ( ontology:Q2342494 ) ( ontology:Q340169 ) } . ?v rdf:type ?s } GROUP BY ?b } }
Krumau am Kamp United Kingdom Colombia Ecuador Morocco Chile Tivoli Egypt Cape Verde Les Halles
10
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action count
action filter_multi_types
action find_reverse
entity Greece
relation depicts
type collectable
type media
[[{'concept': 'collectable'}, {'concept': 'media'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:depicts resource:Greece . { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:collectable ) ( ontology:media ) } } } } . FILTER ( ?k > ?i ) . { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?k ) WHERE { VALUES ( ?s ) { ( ontology:collectable ) ( ontology:media ) } . ?v rdf:type ?s } GROUP BY ?b } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q811
P180
Q15617994 Q2342494 Q340169
USER
And also tell me about Nicaragua?
(c(Q2342494)|c(Q340169),P180,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q811
relation P180
type Q2342494
type Q340169
[[{'concept': 'Q2342494'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?p WHERE { VALUES ( ?j ) { ( ontology:Q2342494 ) ( ontology:Q340169 ) } . ?e rdf:type ?j } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { { ?o rdf:type ontology:Q2342494 } UNION { ?o rdf:type ontology:Q340169 } } . ?o property:P180 resource:Q811 } } . FILTER ( ?y > ?w ) }
Nicaragua
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action count
action filter_multi_types
action find_reverse
entity Nicaragua
relation depicts
type collectable
type media
[[{'concept': 'collectable'}, {'concept': 'media'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?p WHERE { VALUES ( ?j ) { ( ontology:collectable ) ( ontology:media ) } . ?e rdf:type ?j } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { { ?o rdf:type ontology:collectable } UNION { ?o rdf:type ontology:media } } . ?o property:depicts resource:Nicaragua } } . FILTER ( ?y > ?w ) }
[]
designation for an administrative territorial entity collectable media
SYSTEM
10
Q674904 Q145 Q739 Q736 Q1028 Q298 Q159605 Q79 Q1011 Q913434
(c(Q2342494)|c(Q340169),P180,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q811
relation P180
type Q2342494
type Q340169
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?p WHERE { VALUES ( ?j ) { ( ontology:Q2342494 ) ( ontology:Q340169 ) } . ?e rdf:type ?j } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { { ?o rdf:type ontology:Q2342494 } UNION { ?o rdf:type ontology:Q340169 } } . ?o property:P180 resource:Q811 } } . FILTER ( ?y > ?w ) }
Krumau am Kamp United Kingdom Colombia Ecuador Morocco Chile Tivoli Egypt Cape Verde Les Halles
10
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action count
action filter_multi_types
action find_reverse
entity Nicaragua
relation depicts
type collectable
type media
[[{'concept': 'collectable'}, {'concept': 'media'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?p WHERE { VALUES ( ?j ) { ( ontology:collectable ) ( ontology:media ) } . ?e rdf:type ?j } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { { ?o rdf:type ontology:collectable } UNION { ?o rdf:type ontology:media } } . ?o property:depicts resource:Nicaragua } } . FILTER ( ?y > ?w ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have a diplomatic relationship with atmost 61 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 61
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?c ) WHERE { ?r property:P530 ?m . ?r rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } GROUP BY ?r } . FILTER ( ?c <= 61 ) }
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 61
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?c ) WHERE { ?r property:diplomatic_relation ?m . ?r rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?c <= 61 ) }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 61
[ANSWERS] have a diplomatic relationship with atmost 61 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?c ) WHERE { ?r property:P530 ?m . ?r rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } GROUP BY ?r } . FILTER ( ?c <= 61 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have a diplomatic relationship with atmost 61 administrative territories
Denmark Canada Austria
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 61
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?c ) WHERE { ?r property:diplomatic_relation ?m . ?r rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?c <= 61 ) }
[]