Simple Question (Direct)
Simple Question
Q504179
P47
Q15617994
USER
Which administrative territories share border with Tirol, South Tyrol ?
(Q504179,P47,c(Q15617994))
action filter_type
action find
entity Q504179
relation P47
type Q15617994
['Q504179', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q504179 property:P47 ?n . ?n rdf:type ontology:Q15617994 }
Tirol, South Tyrol
action filter_type
action find
entity Tirol, South Tyrol
relation shares border with
type designation for an administrative territorial entity
['Tirol, South Tyrol', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Tirol,_South_Tyrol property:shares_border_with ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q474654 Q131605 Q419942
SYSTEM
Riffian, South Tyrol, Merano, Algund
Q474654 Q131605 Q419942
(Q504179,P47,c(Q15617994))
action filter_type
action find
entity Q504179
relation P47
type Q15617994
[ANSWERS] share border with Tirol, South Tyrol
['Q504179', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q504179 property:P47 ?n . ?n rdf:type ontology:Q15617994 }
Riffian, South Tyrol Merano Algund
Riffian, South Tyrol, Merano and Algund share border with Tirol, South Tyrol
Riffian, South Tyrol Merano Algund
action filter_type
action find
entity Tirol, South Tyrol
relation shares border with
type designation for an administrative territorial entity
['Tirol, South Tyrol', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Tirol,_South_Tyrol property:shares_border_with ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q504179
P20
Q502895
USER
Which person expired at Tirol, South Tyrol ?
(c(Q502895),P20,Q504179)
action filter_type
action find_reverse
entity Q504179
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q504179']
SELECT DISTINCT ?x WHERE { ?x property:P20 resource:Q504179 . ?x rdf:type ontology:Q502895 }
Tirol, South Tyrol
action filter_type
action find_reverse
entity Tirol, South Tyrol
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Tirol, South Tyrol']
SELECT DISTINCT ?x WHERE { ?x property:place_of_death resource:Tirol,_South_Tyrol . ?x rdf:type ontology:common_name }
[]
common name
Q652544
SYSTEM
Egmont Jenny
Q652544
(c(Q502895),P20,Q504179)
action filter_type
action find_reverse
entity Q504179
relation P20
type Q502895
At [ANSWER] expired at Tirol, South Tyrol
[{'concept': 'Q502895'}, 'P20', 'Q504179']
SELECT DISTINCT ?x WHERE { ?x property:P20 resource:Q504179 . ?x rdf:type ontology:Q502895 }
Egmont Jenny
At Egmont Jenny expired at Tirol, South Tyrol
Egmont Jenny
action filter_type
action find_reverse
entity Tirol, South Tyrol
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Tirol, South Tyrol']
SELECT DISTINCT ?x WHERE { ?x property:place_of_death resource:Tirol,_South_Tyrol . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q652544
P1412
Q34770
USER
Which language can that person read ?
(Q652544,P1412,c(Q34770))
action filter_type
action find
entity Q652544
relation P1412
type Q34770
['Q652544', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q34770 . resource:Q652544 property:P1412 ?b }
Egmont Jenny
action filter_type
action find
entity Egmont Jenny
relation languages spoken, written or signed
type language
['Egmont Jenny', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:language . resource:Egmont_Jenny property:languages_spoken,_written_or_signed ?b }
[]
language
Q652
SYSTEM
Italian
Q652
(Q652544,P1412,c(Q34770))
action filter_type
action find
entity Q652544
relation P1412
type Q34770
That person can read the [ANSWER]
['Q652544', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q34770 . resource:Q652544 property:P1412 ?b }
Italian
That person can read the Italian
Italian
action filter_type
action find
entity Egmont Jenny
relation languages spoken, written or signed
type language
['Egmont Jenny', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:language . resource:Egmont_Jenny property:languages_spoken,_written_or_signed ?b }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P282
Q8192 Q34770
USER
How many writing systems are the writing systems used for approximately 1 language ?
(c(Q34770),P282,c(Q8192))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
value 1
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:P282 ?d . ?q rdf:type ontology:Q34770 . ?d rdf:type ontology:Q8192 } GROUP BY ?d } . FILTER ( ?j = 1 ) }
action count
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:writing_system ?d . ?q rdf:type ontology:language . ?d rdf:type ontology:writing_system } GROUP BY ?d } . FILTER ( ?j = 1 ) }
[]
writing system language
SYSTEM
3
Q82946 Q30972 Q48332
(c(Q34770),P282,c(Q8192))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
value 1
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:P282 ?d . ?q rdf:type ontology:Q34770 . ?d rdf:type ontology:Q8192 } GROUP BY ?d } . FILTER ( ?j = 1 ) }
katakana Linear A hiragana
3
action count
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:writing_system ?d . ?q rdf:type ontology:language . ?d rdf:type ontology:writing_system } GROUP BY ?d } . FILTER ( ?j = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P37
Q34770 Q15617994
USER
Which administrative territories are known to have max number of languages as their official language ?
(c(Q15617994),P37,c(Q34770))
action argmax
action find_tuple_counts
relation P37
type Q15617994
type Q34770
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?t = ?e ) . { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?t ) WHERE { ?m property:P37 ?v . ?m rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q34770 } GROUP BY ?m } . { SELECT DISTINCT ( MAX ( ?o ) AS ?e ) { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?o ) WHERE { ?w property:P37 ?x . ?w rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q34770 } GROUP BY ?w } } }
action argmax
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?t = ?e ) . { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?t ) WHERE { ?m property:official_language ?v . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:language } GROUP BY ?m } . { SELECT DISTINCT ( MAX ( ?o ) AS ?e ) { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?o ) WHERE { ?w property:official_language ?x . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:language } GROUP BY ?w } } }
[]
language designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(c(Q15617994),P37,c(Q34770))
action argmax
action find_tuple_counts
relation P37
type Q15617994
type Q34770
[ANSWER] is known to have max number of languages as their official language
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?t = ?e ) . { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?t ) WHERE { ?m property:P37 ?v . ?m rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q34770 } GROUP BY ?m } . { SELECT DISTINCT ( MAX ( ?o ) AS ?e ) { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?o ) WHERE { ?w property:P37 ?x . ?w rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q34770 } GROUP BY ?w } } }
Spain
Spain is known to have max number of languages as their official language
Spain
action argmax
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?t = ?e ) . { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?t ) WHERE { ?m property:official_language ?v . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:language } GROUP BY ?m } . { SELECT DISTINCT ( MAX ( ?o ) AS ?e ) { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?o ) WHERE { ?w property:official_language ?x . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:language } GROUP BY ?w } } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of that administrative territory ?
(Q29,P1313,c(Q12737077))
action filter_type
action find
entity Q29
relation P1313
type Q12737077
['Q29', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q29 property:P1313 ?a . ?a rdf:type ontology:Q12737077 }
Spain
action filter_type
action find
entity Spain
relation office held by head of government
type occupation
['Spain', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Spain property:office_held_by_head_of_government ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q844587
SYSTEM
Prime Minister of Spain
Q844587
(Q29,P1313,c(Q12737077))
action filter_type
action find
entity Q29
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of that administrative territory
['Q29', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q29 property:P1313 ?a . ?a rdf:type ontology:Q12737077 }
Prime Minister of Spain
The Prime Minister of Spain serves as the political office that is fulfilled by the head of the government of that administrative territory
Prime Minister of Spain
action filter_type
action find
entity Spain
relation office held by head of government
type occupation
['Spain', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Spain property:office_held_by_head_of_government ?a . ?a rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q44269
P417
Q502895 Q12737077
USER
How many people are the patron saint of approximately the same number of occupations as Saint Nicholas ?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q44269
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?j ) WHERE { ?x rdf:type ontology:Q502895 . ?m rdf:type ontology:Q12737077 . ?m property:P417 ?x } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Q44269 property:P417 ?v . ?v rdf:type ontology:Q502895 } } . FILTER ( ?j = ?o ) }
Saint Nicholas
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Nicholas
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?j ) WHERE { ?x rdf:type ontology:common_name . ?m rdf:type ontology:occupation . ?m property:patron_saint ?x } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Saint_Nicholas property:patron_saint ?v . ?v rdf:type ontology:common_name } } . FILTER ( ?j = ?o ) }
[]
common name occupation
SYSTEM
266
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,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q44269
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?j ) WHERE { ?x rdf:type ontology:Q502895 . ?m rdf:type ontology:Q12737077 . ?m property:P417 ?x } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Q44269 property:P417 ?v . ?v rdf:type ontology:Q502895 } } . FILTER ( ?j = ?o ) }
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
266
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Nicholas
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?j ) WHERE { ?x rdf:type ontology:common_name . ?m rdf:type ontology:occupation . ?m property:patron_saint ?x } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Saint_Nicholas property:patron_saint ?v . ?v rdf:type ontology:common_name } } . FILTER ( ?j = ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q284323
P417
Q502895 Q12737077
USER
And also tell me about Eulalia of Mérida?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q284323
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:P417 ?d . ?d rdf:type ontology:Q502895 . ?x rdf:type ontology:Q12737077 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { resource:Q284323 property:P417 ?v . ?v rdf:type ontology:Q502895 } } . FILTER ( ?p = ?w ) }
Eulalia of Mérida
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Eulalia of Mérida
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:patron_saint ?d . ?d rdf:type ontology:common_name . ?x rdf:type ontology:occupation } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { resource:Eulalia_of_Mérida property:patron_saint ?v . ?v rdf:type ontology:common_name } } . FILTER ( ?p = ?w ) }
[]
common name occupation
SYSTEM
266
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,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q284323
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:P417 ?d . ?d rdf:type ontology:Q502895 . ?x rdf:type ontology:Q12737077 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { resource:Q284323 property:P417 ?v . ?v rdf:type ontology:Q502895 } } . FILTER ( ?p = ?w ) }
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
266
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Eulalia of Mérida
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:patron_saint ?d . ?d rdf:type ontology:common_name . ?x rdf:type ontology:occupation } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { resource:Eulalia_of_Mérida property:patron_saint ?v . ?v rdf:type ontology:common_name } } . FILTER ( ?p = ?w ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P417
Q502895 Q12737077
USER
Which people are 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 ?s WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?w ) { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?v ) WHERE { ?e property:P417 ?y . ?y rdf:type ontology:Q502895 . ?e rdf:type ontology:Q12737077 } GROUP BY ?y } } . FILTER ( ?a = ?w ) . { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?a ) WHERE { ?f property:P417 ?s . ?f rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q502895 } GROUP BY ?s } }
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 ?s WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?w ) { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?v ) WHERE { ?e property:patron_saint ?y . ?y rdf:type ontology:common_name . ?e rdf:type ontology:occupation } GROUP BY ?y } } . FILTER ( ?a = ?w ) . { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?a ) WHERE { ?f property:patron_saint ?s . ?f rdf:type ontology:occupation . ?s rdf:type ontology:common_name } GROUP BY ?s } }
[]
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 patron saint of min number of occupations
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?w ) { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?v ) WHERE { ?e property:P417 ?y . ?y rdf:type ontology:Q502895 . ?e rdf:type ontology:Q12737077 } GROUP BY ?y } } . FILTER ( ?a = ?w ) . { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?a ) WHERE { ?f property:P417 ?s . ?f rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q502895 } GROUP BY ?s } }
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 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 ?s WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?w ) { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?v ) WHERE { ?e property:patron_saint ?y . ?y rdf:type ontology:common_name . ?e rdf:type ontology:occupation } GROUP BY ?y } } . FILTER ( ?a = ?w ) . { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?a ) WHERE { ?f property:patron_saint ?s . ?f rdf:type ontology:occupation . ?s rdf:type ontology:common_name } GROUP BY ?s } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1327500
P1303
Q34379 Q502895
USER
Which musical instruments are played by approximately the same number of people as electronic musical instrument ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1327500
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?n ) WHERE { ?d property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { resource:Q1327500 property:P1303 ?t . ?t rdf:type ontology:Q34379 } } . FILTER ( ?n = ?z ) }
electronic musical instrument
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity electronic musical instrument
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?n ) WHERE { ?d property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { resource:electronic_musical_instrument property:instrument ?t . ?t rdf:type ontology:musical_instrument } } . FILTER ( ?n = ?z ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1327500
relation P1303
type Q34379
[ANSWERS] are played by approximately the same number of people as electronic musical instrument
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?n ) WHERE { ?d property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { resource:Q1327500 property:P1303 ?t . ?t rdf:type ontology:Q34379 } } . FILTER ( ?n = ?z ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano are played by approximately the same number of people as electronic musical instrument
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity electronic musical instrument
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?n ) WHERE { ?d property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { resource:electronic_musical_instrument property:instrument ?t . ?t rdf:type ontology:musical_instrument } } . FILTER ( ?n = ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1343007
P1303
Q34379 Q502895
USER
And also tell me about electronic keyboard?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1343007
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:Q1343007 property:P1303 ?s . ?s rdf:type ontology:Q34379 } } . FILTER ( ?m = ?r ) }
electronic keyboard
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity electronic keyboard
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:electronic_keyboard property:instrument ?s . ?s rdf:type ontology:musical_instrument } } . FILTER ( ?m = ?r ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1343007
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:Q1343007 property:P1303 ?s . ?s rdf:type ontology:Q34379 } } . FILTER ( ?m = ?r ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity electronic keyboard
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:electronic_keyboard property:instrument ?s . ?s rdf:type ontology:musical_instrument } } . FILTER ( ?m = ?r ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q57194 Q29
P47 P19
Q15617994
USER
Which administrative territories share the border with Spain or were Erich Hartmann born in ?
OR((Q29,P47,c(Q15617994)), (Q57194,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q29
relation P47
action find
entity Q57194
relation P19
type Q15617994
{'OR': [['Q29', 'P47', {'concept': 'Q15617994'}], ['Q57194', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . { { resource:Q57194 property:P19 ?f } UNION { resource:Q29 property:P47 ?f } } }
Erich Hartmann Spain
action filter_type
action union
action find
entity Spain
relation shares border with
action find
entity Erich Hartmann
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Spain', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Erich Hartmann', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Erich_Hartmann property:place_of_birth ?f } UNION { resource:Spain property:shares_border_with ?f } } }
[]
designation for an administrative territorial entity
Q142 Q1025 Q45 Q520383 Q1028 Q228
SYSTEM
France, Mauritania, Portugal, Weissach, Morocco, Andorra
Q142 Q1025 Q45 Q520383 Q1028 Q228
OR((Q29,P47,c(Q15617994)), (Q57194,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q29
relation P47
action find
entity Q57194
relation P19
type Q15617994
[ANSWERS] share the border with Spain or were Erich Hartmann born in
{'OR': [['Q29', 'P47', {'concept': 'Q15617994'}], ['Q57194', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . { { resource:Q57194 property:P19 ?f } UNION { resource:Q29 property:P47 ?f } } }
France Mauritania Portugal Weissach Morocco Andorra
France, Mauritania, Portugal, Weissach, Morocco and Andorra share the border with Spain or were Erich Hartmann born in
France Mauritania Portugal Weissach Morocco Andorra
action filter_type
action union
action find
entity Spain
relation shares border with
action find
entity Erich Hartmann
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Spain', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Erich Hartmann', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Erich_Hartmann property:place_of_birth ?f } UNION { resource:Spain property:shares_border_with ?f } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q262
P495
Q15617994 Q2088357 Q15416
USER
Which administrative territories did lesser number of musical ensembles or television programs originate than Algeria ?
(c(Q2088357)|c(Q15416),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q262
relation P495
type Q2088357
type Q15416
[[{'concept': 'Q2088357'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?w WHERE { VALUES ( ?s ) { ( ontology:Q2088357 ) ( ontology:Q15416 ) } . ?g rdf:type ?s } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { ?u rdf:type ?l . VALUES ( ?l ) { ( ontology:Q2088357 ) ( ontology:Q15416 ) } } . ?u property:P495 resource:Q262 } } . FILTER ( ?k < ?v ) }
Algeria
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Algeria
relation country of origin
type musical ensemble
type television program
[[{'concept': 'musical ensemble'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?w WHERE { VALUES ( ?s ) { ( ontology:musical_ensemble ) ( ontology:television_program ) } . ?g rdf:type ?s } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { ?u rdf:type ?l . VALUES ( ?l ) { ( ontology:musical_ensemble ) ( ontology:television_program ) } } . ?u property:country_of_origin resource:Algeria } } . FILTER ( ?k < ?v ) }
[]
designation for an administrative territorial entity musical ensemble television program
Q953 Q184 Q347
SYSTEM
Zambia, Belarus, Liechtenstein
Q805 Q804 Q800 Q1462 Q12536 Q783 Q265 Q36678 Q712 Q711 Q837 Q1460 Q657 Q792 Q4628 Q796 Q954 Q889 Q958 Q986 Q826 Q242 Q244 Q811 Q153136 Q924 Q423 Q983 Q851 Q733 Q29999 Q819 Q730 Q1013 Q159626 Q236 Q232 Q233 Q238 Q1045 Q1044 Q1041 Q921 Q1049 Q1025 Q1027 Q1020 Q184 Q1029 Q1028 Q786 Q227 Q223 Q221 Q347 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q962 Q963 Q115 Q754 Q217 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q77 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q176 Q863 Q953
(c(Q2088357)|c(Q15416),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q262
relation P495
type Q2088357
type Q15416
[ANSWERS] lesser number of musical ensembles or television programs originated than Algeria
[[{'concept': 'Q2088357'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?w WHERE { VALUES ( ?s ) { ( ontology:Q2088357 ) ( ontology:Q15416 ) } . ?g rdf:type ?s } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { ?u rdf:type ?l . VALUES ( ?l ) { ( ontology:Q2088357 ) ( ontology:Q15416 ) } } . ?u property:P495 resource:Q262 } } . FILTER ( ?k < ?v ) }
Yemen Panama Costa Rica Sardinia Abbasid caliphate Honduras Uzbekistan West Bank Fiji Mongolia Nepal Sicily Chad El Salvador Faroe Islands Iraq Zimbabwe Afghanistan South Sudan Eritrea Maldives Belize Barbados Nicaragua Habsburg Empire Tanzania North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Laos Suriname Lesotho Württemberg Montenegro Kazakhstan Malta San Marino Somalia Sierra Leone Senegal Brunei Sudan Mauritania Mauritius Malawi Belarus Mozambique Morocco Dominican Republic Azerbaijan Greenland Republic of Macedonia Liechtenstein Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Benin Botswana Ethiopia Trinidad and Tobago Republic of Moldova Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Quebec Tajikistan Zambia
Zambia, Belarus and Liechtenstein lesser number of musical ensembles or television programs originated than Algeria
Zambia Belarus Liechtenstein
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Algeria
relation country of origin
type musical ensemble
type television program
[[{'concept': 'musical ensemble'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?w WHERE { VALUES ( ?s ) { ( ontology:musical_ensemble ) ( ontology:television_program ) } . ?g rdf:type ?s } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { ?u rdf:type ?l . VALUES ( ?l ) { ( ontology:musical_ensemble ) ( ontology:television_program ) } } . ?u property:country_of_origin resource:Algeria } } . FILTER ( ?k < ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q403
P495
Q15617994 Q2088357 Q15416
USER
And how about Serbia?
(c(Q2088357)|c(Q15416),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q403
relation P495
type Q2088357
type Q15416
[[{'concept': 'Q2088357'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?r ) WHERE { VALUES ( ?p ) { ( ontology:Q2088357 ) ( ontology:Q15416 ) } . ?w rdf:type ?p } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { ?h property:P495 resource:Q403 . { { ?h rdf:type ontology:Q2088357 } UNION { ?h rdf:type ontology:Q15416 } } } } . FILTER ( ?r < ?l ) }
Serbia
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Serbia
relation country of origin
type musical ensemble
type television program
[[{'concept': 'musical ensemble'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?r ) WHERE { VALUES ( ?p ) { ( ontology:musical_ensemble ) ( ontology:television_program ) } . ?w rdf:type ?p } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { ?h property:country_of_origin resource:Serbia . { { ?h rdf:type ontology:musical_ensemble } UNION { ?h rdf:type ontology:television_program } } } } . FILTER ( ?r < ?l ) }
[]
designation for an administrative territorial entity musical ensemble television program
Q230 Q953 Q184
SYSTEM
Georgia, Zambia, Belarus
Q805 Q804 Q800 Q1462 Q12536 Q262 Q783 Q265 Q37 Q36678 Q712 Q711 Q837 Q1460 Q399 Q398 Q657 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q32 Q924 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q1045 Q1044 Q1041 Q921 Q1049 Q1025 Q1027 Q1020 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q223 Q222 Q221 Q229 Q347 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q115 Q114 Q117 Q754 Q750 Q211 Q217 Q214 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q176 Q863 Q953
(c(Q2088357)|c(Q15416),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q403
relation P495
type Q2088357
type Q15416
[ANSWERS]
[[{'concept': 'Q2088357'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?r ) WHERE { VALUES ( ?p ) { ( ontology:Q2088357 ) ( ontology:Q15416 ) } . ?w rdf:type ?p } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { ?h property:P495 resource:Q403 . { { ?h rdf:type ontology:Q2088357 } UNION { ?h rdf:type ontology:Q15416 } } } } . FILTER ( ?r < ?l ) }
Yemen Panama Costa Rica Sardinia Abbasid caliphate Algeria Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Nepal Sicily Armenia Bahrain Chad El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Luxembourg Tanzania North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Somalia Sierra Leone Senegal Brunei Sudan Mauritania Mauritius Malawi Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Greenland Albania Republic of Macedonia Cyprus Liechtenstein Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Latvia Republic of Moldova Slovakia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Quebec Tajikistan Zambia
Georgia Zambia Belarus
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Serbia
relation country of origin
type musical ensemble
type television program
[[{'concept': 'musical ensemble'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?r ) WHERE { VALUES ( ?p ) { ( ontology:musical_ensemble ) ( ontology:television_program ) } . ?w rdf:type ?p } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { ?h property:country_of_origin resource:Serbia . { { ?h rdf:type ontology:musical_ensemble } UNION { ?h rdf:type ontology:television_program } } } } . FILTER ( ?r < ?l ) }
[]