Simple Question (Direct)
Simple Question
Q3940815
P21
Q290
USER
Which sex does Romel Raffin have ?
(Q3940815,P21,c(Q290))
action filter_type
action find
entity Q3940815
relation P21
type Q290
['Q3940815', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q3940815 property:P21 ?h . ?h rdf:type ontology:Q290 }
Romel Raffin
action filter_type
action find
entity Romel Raffin
relation gender
type sex
['Romel Raffin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Romel_Raffin property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3940815,P21,c(Q290))
action filter_type
action find
entity Q3940815
relation P21
type Q290
Romel Raffin has a [ANSWER]
['Q3940815', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q3940815 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
Romel Raffin has a male
male
action filter_type
action find
entity Romel Raffin
relation gender
type sex
['Romel Raffin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Romel_Raffin property:gender ?h . ?h rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can max number of people perform with ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?y ) WHERE { ?p rdf:type ontology:Q502895 . ?i rdf:type ontology:Q34379 . ?p property:P1303 ?i } GROUP BY ?i } . FILTER ( ?y = ?r ) . { SELECT DISTINCT ( MAX ( ?n ) AS ?r ) { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?d } } }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?y ) WHERE { ?p rdf:type ontology:common_name . ?i rdf:type ontology:musical_instrument . ?p property:instrument ?i } GROUP BY ?i } . FILTER ( ?y = ?r ) . { SELECT DISTINCT ( MAX ( ?n ) AS ?r ) { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?d } } }
[]
musical instrument common name
Q5994
SYSTEM
piano
Q5994
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Max number of people can perform on [ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?y ) WHERE { ?p rdf:type ontology:Q502895 . ?i rdf:type ontology:Q34379 . ?p property:P1303 ?i } GROUP BY ?i } . FILTER ( ?y = ?r ) . { SELECT DISTINCT ( MAX ( ?n ) AS ?r ) { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?d } } }
piano
Max number of people can perform on piano
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?y ) WHERE { ?p rdf:type ontology:common_name . ?i rdf:type ontology:musical_instrument . ?p property:instrument ?i } GROUP BY ?i } . FILTER ( ?y = ?r ) . { SELECT DISTINCT ( MAX ( ?n ) AS ?r ) { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?d } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3940815
P106
Q12737077
USER
What are the job of Romel Raffin ?
(Q3940815,P106,c(Q12737077))
action filter_type
action find
entity Q3940815
relation P106
type Q12737077
['Q3940815', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q3940815 property:P106 ?h }
Romel Raffin
action filter_type
action find
entity Romel Raffin
relation occupation
type occupation
['Romel Raffin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Romel_Raffin property:occupation ?h }
[]
occupation
Q5137571 Q3665646
SYSTEM
basketball coach, basketball player
Q5137571 Q3665646
(Q3940815,P106,c(Q12737077))
action filter_type
action find
entity Q3940815
relation P106
type Q12737077
The job of Romel Raffin are a [ANSWERS]
['Q3940815', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q3940815 property:P106 ?h }
basketball coach basketball player
The job of Romel Raffin are a basketball coach and basketball player
basketball coach basketball player
action filter_type
action find
entity Romel Raffin
relation occupation
type occupation
['Romel Raffin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Romel_Raffin property:occupation ?h }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q19959386
P106
Q502895
USER
Do Günter Erxleben have those occupations as his/her means of employment ?
(Q19959386,P106,Q5137571) (Q19959386,P106,Q3665646)
action is_in
entity prev_answer
action find
entity Q19959386
relation P106
['Q19959386', 'P106', 'Q5137571'] ['Q19959386', 'P106', 'Q3665646']
ASK WHERE { VALUES ( ?n ) { ( resource:Q5137571 ) ( resource:Q3665646 ) } . resource:Q19959386 property:P106 ?n }
Günter Erxleben
action is_in
entity prev_answer
action find
entity Günter Erxleben
relation occupation
['Günter Erxleben', 'occupation', 'basketball coach'] ['Günter Erxleben', 'occupation', 'basketball player']
ASK WHERE { VALUES ( ?n ) { ( resource:basketball_coach ) ( resource:basketball_player ) } . resource:Günter_Erxleben property:occupation ?n }
[]
common name
SYSTEM
NO
(Q19959386,P106,Q5137571) (Q19959386,P106,Q3665646)
action is_in
entity prev_answer
action find
entity Q19959386
relation P106
[ANSWER]
['Q19959386', 'P106', 'Q5137571'] ['Q19959386', 'P106', 'Q3665646']
ASK WHERE { VALUES ( ?n ) { ( resource:Q5137571 ) ( resource:Q3665646 ) } . resource:Q19959386 property:P106 ?n }
No
action is_in
entity prev_answer
action find
entity Günter Erxleben
relation occupation
['Günter Erxleben', 'occupation', 'basketball coach'] ['Günter Erxleben', 'occupation', 'basketball player']
ASK WHERE { VALUES ( ?n ) { ( resource:basketball_coach ) ( resource:basketball_player ) } . resource:Günter_Erxleben property:occupation ?n }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
How many people are the names of person who are the patron saints of atmost 3 occupations ?
(c(Q12737077),P417,c(Q502895))
action count
action atmost
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:P417 ?s . ?s rdf:type ontology:Q502895 . ?m rdf:type ontology:Q12737077 } GROUP BY ?s } . FILTER ( ?b <= 3 ) }
action count
action atmost
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:patron_saint ?s . ?s rdf:type ontology:common_name . ?m rdf:type ontology:occupation } GROUP BY ?s } . FILTER ( ?b <= 3 ) }
[]
common name occupation
SYSTEM
317
Q2366998 Q453698 Q561838 Q380092 Q129674 Q133704 Q229190 Q43945 Q3922154 Q152457 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q43689 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q328804 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q166876 Q163900 Q31966 Q170547 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q212850 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q374822 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q9438 Q1502088 Q8413 Q558148 Q160373 Q130997 Q515953 Q1274242 Q312758 Q443392 Q5575577 Q379685 Q191479 Q42887 Q3745904 Q191107 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q128538 Q37599 Q316599 Q232975 Q183240 Q122376 Q119289 Q145746 Q15284282 Q360798 Q298845 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q48438 Q159834 Q119512 Q44281 Q63070 Q134666 Q170164 Q43399 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q196653 Q560531 Q4161703 Q508214 Q9200 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q193507 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q463600 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q43669 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q44265 Q232453 Q192816 Q58559 Q445357 Q40662 Q359878 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q283447 Q26486 Q324700 Q158504 Q744884 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q151967 Q312314 Q149727 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q60059 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q17590 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q200895 Q523662 Q284323 Q59071 Q1383532 Q160445 Q44248 Q1269112 Q2424767 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action count
action atmost
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:P417 ?s . ?s rdf:type ontology:Q502895 . ?m rdf:type ontology:Q12737077 } GROUP BY ?s } . FILTER ( ?b <= 3 ) }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Catherine of Siena Jude the Apostle Prisco di Nocera Saint Roch 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 Ambrose Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus John the Evangelist Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Isidore of Seville Saint Francis Xavier Mark the Evangelist Anthony the Great 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 Vitus 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 Adrian of Nicomedia Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Thomas Aquinas Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Damasus I Maximilian of Lorch Romanus of Caesarea Jean-Baptiste de La Salle Saint Bibiana Gobnait Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Clare of Assisi 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 Dorothea of Caesarea Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Luke the Evangelist Theodore of Amasea Saint Maurice Anastasia of Sirmium Saint Lucy Callixtus I Leonard of Port Maurice Joseph Adolphus Saint Eligius Saint Florian Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Saint George Hubertus William of Maleval Ignatius of Loyola Mary Magdalene Stephen I Helena of Constantinople Andrew 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 Saint Veronica Suitbert of Kaiserswerdt Dimitry Prilutsky Cyriacus Paul Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Christopher Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Saint Petronilla 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 Thomas the Apostle 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 Benedict of Nursia Martha Saint Barbara Leo IX Henry John the Baptist Erasmus of Formiae Cyprian Camillus de Lellis Agnes of Rome Gaudentius of Novara John of God Emilianus of Trevi Ephysius Castrese di Sessa Alexius of Rome Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Saint Cecilia Lambert of Maastricht Ladislaus I of Hungary Urban of Langres Clement of Ohrid Zita Edward the Confessor Barbatus of Benevento John the Apostle Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Saint Blaise Bruno of Cologne Saint Giles Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Apollonia Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Albertus Magnus Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Lawrence of Rome Sigismund of Burgundy Joseph of Arimathea Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Agatha of Sicily Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Jerome Saint Ninian Anthony of Apamea Elizabeth Ann Seton Charalampus Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
317
action count
action atmost
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:patron_saint ?s . ?s rdf:type ontology:common_name . ?m rdf:type ontology:occupation } GROUP BY ?s } . FILTER ( ?b <= 3 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q838948 Q191067
USER
How many occupations were the main subjects of exactly 2 works of art and articles 's work ?
(c(Q838948)|c(Q191067),P921,c(Q12737077))
action count
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
value 2
[[{'concept': 'Q838948'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) ?v WHERE { VALUES ( ?a ) { ( ontology:Q838948 ) ( ontology:Q191067 ) } . ?g rdf:type ?a } GROUP BY ?v } . FILTER ( ?f = 2 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type article
value 2
[[{'concept': 'work of art'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) ?v WHERE { VALUES ( ?a ) { ( ontology:work_of_art ) ( ontology:article ) } . ?g rdf:type ?a } GROUP BY ?v } . FILTER ( ?f = 2 ) }
[]
occupation work of art article
SYSTEM
4
Q1930187 Q101539 Q16003605 Q16003532
(c(Q838948)|c(Q191067),P921,c(Q12737077))
action count
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
value 2
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) ?v WHERE { VALUES ( ?a ) { ( ontology:Q838948 ) ( ontology:Q191067 ) } . ?g rdf:type ?a } GROUP BY ?v } . FILTER ( ?f = 2 ) }
journalist flight attendant elementary school student middle school student
4
action count
action equal
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type article
value 2
[[{'concept': 'work of art'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) ?v WHERE { VALUES ( ?a ) { ( ontology:work_of_art ) ( ontology:article ) } . ?g rdf:type ?a } GROUP BY ?v } . FILTER ( ?f = 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q838948 Q2342494
USER
How many occupations were the main subjects of atleast 21 works of art or collectables 's work ?
(c(Q838948)|c(Q2342494),P921,c(Q12737077))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
value 21
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) ?t WHERE { ?d rdf:type ?u . VALUES ( ?u ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } GROUP BY ?t } . FILTER ( ?x >= 21 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
value 21
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) ?t WHERE { ?d rdf:type ?u . VALUES ( ?u ) { ( ontology:collectable ) ( ontology:work_of_art ) } } GROUP BY ?t } . FILTER ( ?x >= 21 ) }
[]
occupation work of art collectable
SYSTEM
3
Q33999 Q9402 Q33231
(c(Q838948)|c(Q2342494),P921,c(Q12737077))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
value 21
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) ?t WHERE { ?d rdf:type ?u . VALUES ( ?u ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } GROUP BY ?t } . FILTER ( ?x >= 21 ) }
actor ninja photographer
3
action count
action atleast
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
value 21
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) ?t WHERE { ?d rdf:type ?u . VALUES ( ?u ) { ( ontology:collectable ) ( ontology:work_of_art ) } } GROUP BY ?t } . FILTER ( ?x >= 21 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q593995
P870
Q34379 Q838948 Q9748
USER
Which musical instruments are the instrumentations used in less number of works of art or concertoes than player piano ?
(c(Q838948)|c(Q9748),P870,c(Q34379))
action less
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q838948
action find_reverse_tuple_counts
relation P870
type Q34379
type Q9748
action count
action filter_multi_types
action find_reverse
entity Q593995
relation P870
type Q838948
type Q9748
[[{'concept': 'Q838948'}, {'concept': 'Q9748'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { VALUES ( ?s ) { ( ontology:Q838948 ) ( ontology:Q9748 ) } . ?g rdf:type ?s } . ?g property:P870 resource:Q593995 } } . FILTER ( ?m < ?x ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?e WHERE { { ?a property:P870 ?e . ?e rdf:type ontology:Q34379 . ?a rdf:type ontology:Q838948 } UNION { ?e rdf:type ontology:Q34379 . ?a rdf:type ontology:Q9748 . ?a property:P870 ?e } } GROUP BY ?e } }
player piano
action less
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type work of art
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type concerto
action count
action filter_multi_types
action find_reverse
entity player piano
relation instrumentation
type work of art
type concerto
[[{'concept': 'work of art'}, {'concept': 'concerto'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { VALUES ( ?s ) { ( ontology:work_of_art ) ( ontology:concerto ) } . ?g rdf:type ?s } . ?g property:instrumentation resource:player_piano } } . FILTER ( ?m < ?x ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?e WHERE { { ?a property:instrumentation ?e . ?e rdf:type ontology:musical_instrument . ?a rdf:type ontology:work_of_art } UNION { ?e rdf:type ontology:musical_instrument . ?a rdf:type ontology:concerto . ?a property:instrumentation ?e } } GROUP BY ?e } }
[]
musical instrument work of art concerto
Q521151 Q213461 Q46185
SYSTEM
baryton, harmonium, bass guitar
Q213461 Q46185 Q845193 Q190172 Q189737 Q626035 Q521151 Q8338 Q320341 Q39777 Q11404 Q206987
(c(Q838948)|c(Q9748),P870,c(Q34379))
action less
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q838948
action find_reverse_tuple_counts
relation P870
type Q34379
type Q9748
action count
action filter_multi_types
action find_reverse
entity Q593995
relation P870
type Q838948
type Q9748
[ANSWERS] are the instrumentations used in less number of works of art or concertoes than player piano
[[{'concept': 'Q838948'}, {'concept': 'Q9748'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { VALUES ( ?s ) { ( ontology:Q838948 ) ( ontology:Q9748 ) } . ?g rdf:type ?s } . ?g property:P870 resource:Q593995 } } . FILTER ( ?m < ?x ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?e WHERE { { ?a property:P870 ?e . ?e rdf:type ontology:Q34379 . ?a rdf:type ontology:Q838948 } UNION { ?e rdf:type ontology:Q34379 . ?a rdf:type ontology:Q9748 . ?a property:P870 ?e } } GROUP BY ?e } }
harmonium bass guitar xylorimba cymbal timpani glockenspiel baryton trumpet celesta maraca drum vibraphone
Baryton, harmonium and bass guitar are the instrumentations used in less number of works of art or concertoes than player piano
baryton harmonium bass guitar
action less
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type work of art
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type concerto
action count
action filter_multi_types
action find_reverse
entity player piano
relation instrumentation
type work of art
type concerto
[[{'concept': 'work of art'}, {'concept': 'concerto'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { VALUES ( ?s ) { ( ontology:work_of_art ) ( ontology:concerto ) } . ?g rdf:type ?s } . ?g property:instrumentation resource:player_piano } } . FILTER ( ?m < ?x ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?e WHERE { { ?a property:instrumentation ?e . ?e rdf:type ontology:musical_instrument . ?a rdf:type ontology:work_of_art } UNION { ?e rdf:type ontology:musical_instrument . ?a rdf:type ontology:concerto . ?a property:instrumentation ?e } } GROUP BY ?e } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q81982
P870
Q34379 Q838948 Q9748
USER
And what about harpsichord?
(c(Q838948)|c(Q9748),P870,c(Q34379))
action less
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q838948
action find_reverse_tuple_counts
relation P870
type Q34379
type Q9748
action count
action filter_multi_types
action find_reverse
entity Q81982
relation P870
type Q838948
type Q9748
[[{'concept': 'Q838948'}, {'concept': 'Q9748'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?l WHERE { ?q rdf:type ?m . VALUES ( ?m ) { ( ontology:Q838948 ) ( ontology:Q9748 ) } } GROUP BY ?l } . FILTER ( ?y < ?k ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:P870 resource:Q81982 . { { ?j rdf:type ontology:Q838948 } UNION { ?j rdf:type ontology:Q9748 } } } } }
harpsichord
action less
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type work of art
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type concerto
action count
action filter_multi_types
action find_reverse
entity harpsichord
relation instrumentation
type work of art
type concerto
[[{'concept': 'work of art'}, {'concept': 'concerto'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?l WHERE { ?q rdf:type ?m . VALUES ( ?m ) { ( ontology:work_of_art ) ( ontology:concerto ) } } GROUP BY ?l } . FILTER ( ?y < ?k ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:instrumentation resource:harpsichord . { { ?j rdf:type ontology:work_of_art } UNION { ?j rdf:type ontology:concerto } } } } }
[]
musical instrument work of art concerto
Q521151 Q80284 Q8371
SYSTEM
baryton, viola, cello
Q80284 Q8371 Q213461 Q46185 Q845193 Q190172 Q189737 Q626035 Q593995 Q521151 Q8338 Q320341 Q1444 Q39777 Q11404 Q206987
(c(Q838948)|c(Q9748),P870,c(Q34379))
action less
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q838948
action find_reverse_tuple_counts
relation P870
type Q34379
type Q9748
action count
action filter_multi_types
action find_reverse
entity Q81982
relation P870
type Q838948
type Q9748
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q9748'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?l WHERE { ?q rdf:type ?m . VALUES ( ?m ) { ( ontology:Q838948 ) ( ontology:Q9748 ) } } GROUP BY ?l } . FILTER ( ?y < ?k ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:P870 resource:Q81982 . { { ?j rdf:type ontology:Q838948 } UNION { ?j rdf:type ontology:Q9748 } } } } }
viola cello harmonium bass guitar xylorimba cymbal timpani glockenspiel player piano baryton trumpet celesta organ maraca drum vibraphone
baryton viola cello
action less
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type work of art
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type concerto
action count
action filter_multi_types
action find_reverse
entity harpsichord
relation instrumentation
type work of art
type concerto
[[{'concept': 'work of art'}, {'concept': 'concerto'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?l WHERE { ?q rdf:type ?m . VALUES ( ?m ) { ( ontology:work_of_art ) ( ontology:concerto ) } } GROUP BY ?l } . FILTER ( ?y < ?k ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:instrumentation resource:harpsichord . { { ?j rdf:type ontology:work_of_art } UNION { ?j rdf:type ontology:concerto } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q312758
P417
Q502895 Q12737077
USER
Which people are the names of the patron saint of greater number of occupations than Jean-Baptiste de La Salle ?
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q312758
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:Q312758 property:P417 ?p . ?p rdf:type ontology:Q502895 } } . FILTER ( ?h > ?d ) . { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?h ) WHERE { ?i property:P417 ?j . ?i rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q502895 } GROUP BY ?j } }
Jean-Baptiste de La Salle
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Jean-Baptiste de La Salle
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:Jean-Baptiste_de_La_Salle property:patron_saint ?p . ?p rdf:type ontology:common_name } } . FILTER ( ?h > ?d ) . { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?h ) WHERE { ?i property:patron_saint ?j . ?i rdf:type ontology:occupation . ?j rdf:type ontology:common_name } GROUP BY ?j } }
[]
common name occupation
Q166876 Q229190 Q44248
SYSTEM
Isidore of Seville, Catherine of Siena, Jerome
Q229190 Q328804 Q166876 Q170547 Q128538 Q183240 Q196653 Q44265 Q192816 Q43982 Q179718 Q43600 Q744884 Q151967 Q200895 Q44248
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q312758
relation P417
type Q502895
[ANSWERS] are the names of the patron saint of greater number of occupations than Jean-Baptiste de La Salle
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:Q312758 property:P417 ?p . ?p rdf:type ontology:Q502895 } } . FILTER ( ?h > ?d ) . { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?h ) WHERE { ?i property:P417 ?j . ?i rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q502895 } GROUP BY ?j } }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Luke the Evangelist Saint Lucy Saint Veronica Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria Matthew the Apostle Zita Saint Blaise Agatha of Sicily Jerome
Isidore of Seville, Catherine of Siena and Jerome are the names of the patron saint of greater number of occupations than Jean-Baptiste de La Salle
Isidore of Seville Catherine of Siena Jerome
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Jean-Baptiste de La Salle
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:Jean-Baptiste_de_La_Salle property:patron_saint ?p . ?p rdf:type ontology:common_name } } . FILTER ( ?h > ?d ) . { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?h ) WHERE { ?i property:patron_saint ?j . ?i rdf:type ontology:occupation . ?j rdf:type ontology:common_name } GROUP BY ?j } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q183332
P417
Q502895 Q12737077
USER
And also tell me about Saint Sebastian?
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q183332
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:P417 ?l . ?l rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Q183332 property:P417 ?a . ?a rdf:type ontology:Q502895 } } . FILTER ( ?z > ?w ) }
Saint Sebastian
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Sebastian
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:patron_saint ?l . ?l rdf:type ontology:common_name . ?o rdf:type ontology:occupation } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Saint_Sebastian property:patron_saint ?a . ?a rdf:type ontology:common_name } } . FILTER ( ?z > ?w ) }
[]
common name occupation
Q9438 Q60059 Q166876
SYSTEM
Thomas Aquinas, Albertus Magnus, Isidore of Seville
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q183332
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:P417 ?l . ?l rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Q183332 property:P417 ?a . ?a rdf:type ontology:Q502895 } } . FILTER ( ?z > ?w ) }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
Thomas Aquinas Albertus Magnus Isidore of Seville
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Sebastian
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:patron_saint ?l . ?l rdf:type ontology:common_name . ?o rdf:type ontology:occupation } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Saint_Sebastian property:patron_saint ?a . ?a rdf:type ontology:common_name } } . FILTER ( ?z > ?w ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q9438 Q60059 Q166876
P50
Q2342494
USER
Which collectables have Thomas Aquinas, Albertus Magnus and Isidore of Seville as their author ?
(c(Q2342494),P50,Q9438) (c(Q2342494),P50,Q60059) (c(Q2342494),P50,Q166876)
action union
action filter_type
action find_reverse
entity Q9438
relation P50
type Q2342494
action filter_type
action find_reverse
entity Q60059
relation P50
type Q2342494
action filter_type
action find_reverse
entity Q166876
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q9438'] [{'concept': 'Q2342494'}, 'P50', 'Q60059'] [{'concept': 'Q2342494'}, 'P50', 'Q166876']
SELECT DISTINCT ?a WHERE { { ?a property:P50 resource:Q9438 . ?a rdf:type ontology:Q2342494 } UNION { ?a property:P50 resource:Q60059 . ?a rdf:type ontology:Q2342494 } }
Thomas Aquinas Albertus Magnus Isidore of Seville
action union
action filter_type
action find_reverse
entity Thomas Aquinas
relation author
type collectable
action filter_type
action find_reverse
entity Albertus Magnus
relation author
type collectable
action filter_type
action find_reverse
entity Isidore of Seville
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Thomas Aquinas'] [{'concept': 'collectable'}, 'author', 'Albertus Magnus'] [{'concept': 'collectable'}, 'author', 'Isidore of Seville']
SELECT DISTINCT ?a WHERE { { ?a property:author resource:Thomas_Aquinas . ?a rdf:type ontology:collectable } UNION { ?a property:author resource:Albertus_Magnus . ?a rdf:type ontology:collectable } }
[]
collectable
Q119823 Q2839792 Q1218746
SYSTEM
on being and essence, De vegetabilis et plantis libri septem, Historia de regibus Gothorum, Vandalorum et Suevorum
Q119823 Q2839792 Q1218746
(c(Q2342494),P50,Q9438) (c(Q2342494),P50,Q60059) (c(Q2342494),P50,Q166876)
action union
action filter_type
action find_reverse
entity Q9438
relation P50
type Q2342494
action filter_type
action find_reverse
entity Q60059
relation P50
type Q2342494
action filter_type
action find_reverse
entity Q166876
relation P50
type Q2342494
[ANSWERS]
[{'concept': 'Q2342494'}, 'P50', 'Q9438'] [{'concept': 'Q2342494'}, 'P50', 'Q60059'] [{'concept': 'Q2342494'}, 'P50', 'Q166876']
SELECT DISTINCT ?a WHERE { { ?a property:P50 resource:Q9438 . ?a rdf:type ontology:Q2342494 } UNION { ?a property:P50 resource:Q60059 . ?a rdf:type ontology:Q2342494 } }
on being and essence De vegetabilis et plantis libri septem Historia de regibus Gothorum, Vandalorum et Suevorum
On being and essence, De vegetabilis et plantis libri septem and Historia de regibus Gothorum, Vandalorum et Suevorum have Thomas Aquinas, Albertus Magnus and Isidore of Seville as their author
on being and essence De vegetabilis et plantis libri septem Historia de regibus Gothorum, Vandalorum et Suevorum
action union
action filter_type
action find_reverse
entity Thomas Aquinas
relation author
type collectable
action filter_type
action find_reverse
entity Albertus Magnus
relation author
type collectable
action filter_type
action find_reverse
entity Isidore of Seville
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Thomas Aquinas'] [{'concept': 'collectable'}, 'author', 'Albertus Magnus'] [{'concept': 'collectable'}, 'author', 'Isidore of Seville']
SELECT DISTINCT ?a WHERE { { ?a property:author resource:Thomas_Aquinas . ?a rdf:type ontology:collectable } UNION { ?a property:author resource:Albertus_Magnus . ?a rdf:type ontology:collectable } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9438
P180
Q3305213
USER
Which painting demonstrates Thomas Aquinas ?
(c(Q3305213),P180,Q9438)
action filter_type
action find_reverse
entity Q9438
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q9438']
SELECT DISTINCT ?o WHERE { ?o property:P180 resource:Q9438 . ?o rdf:type ontology:Q3305213 }
Thomas Aquinas
action filter_type
action find_reverse
entity Thomas Aquinas
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'Thomas Aquinas']
SELECT DISTINCT ?o WHERE { ?o property:depicts resource:Thomas_Aquinas . ?o rdf:type ontology:painting }
[]
painting
Q1215717
SYSTEM
Coronation of the Virgin
Q1215717
(c(Q3305213),P180,Q9438)
action filter_type
action find_reverse
entity Q9438
relation P180
type Q3305213
Madonna [ANSWER] demonstrates Thomas Aquinas
[{'concept': 'Q3305213'}, 'P180', 'Q9438']
SELECT DISTINCT ?o WHERE { ?o property:P180 resource:Q9438 . ?o rdf:type ontology:Q3305213 }
Coronation of the Virgin
Madonna Coronation of the Virgin demonstrates Thomas Aquinas
Coronation of the Virgin
action filter_type
action find_reverse
entity Thomas Aquinas
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'Thomas Aquinas']
SELECT DISTINCT ?o WHERE { ?o property:depicts resource:Thomas_Aquinas . ?o rdf:type ontology:painting }
[]