Simple Question (Direct)
Simple Question
Q429851
P1532
Q15617994
USER
Which administrative territory is represented by Alfredo Viejo Sánchez ?
(Q429851,P1532,c(Q15617994))
action filter_type
action find
entity Q429851
relation P1532
type Q15617994
['Q429851', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q429851 property:P1532 ?n }
Alfredo Viejo Sánchez
action filter_type
action find
entity Alfredo Viejo Sánchez
relation country for sport
type designation for an administrative territorial entity
['Alfredo Viejo Sánchez', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Alfredo_Viejo_Sánchez property:country_for_sport ?n }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
(Q429851,P1532,c(Q15617994))
action filter_type
action find
entity Q429851
relation P1532
type Q15617994
[ANSWER]
['Q429851', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q429851 property:P1532 ?n }
Mexico
Mexico
action filter_type
action find
entity Alfredo Viejo Sánchez
relation country for sport
type designation for an administrative territorial entity
['Alfredo Viejo Sánchez', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Alfredo_Viejo_Sánchez property:country_for_sport ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q429851
P106
Q12737077
USER
What does that person do for a living ?
(Q96,P106,c(Q12737077))
action filter_type
action find
entity Q429851
relation P106
type Q12737077
['Q96', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q429851 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Alfredo Viejo Sánchez
action filter_type
action find
entity Alfredo Viejo Sánchez
relation occupation
type occupation
['Mexico', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Alfredo_Viejo_Sánchez property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q96,P106,c(Q12737077))
action filter_type
action find
entity Q429851
relation P106
type Q12737077
[ANSWER]
['Q96', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q429851 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
association football player
association football player
action filter_type
action find
entity Alfredo Viejo Sánchez
relation occupation
type occupation
['Mexico', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Alfredo_Viejo_Sánchez property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saints of atmost 2 occupations ?
(c(Q12737077),P417,c(Q502895))
action atmost
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?t <= 2 ) . { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:P417 ?v . ?v rdf:type ontology:Q502895 . ?k rdf:type ontology:Q12737077 } GROUP BY ?v } }
action atmost
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?t <= 2 ) . { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:patron_saint ?v . ?v rdf:type ontology:common_name . ?k rdf:type ontology:occupation } GROUP BY ?v } }
[]
common name occupation
Q9682 Q9438 Q191479
SYSTEM
Elizabeth II, Thomas Aquinas, Tadeusz Kościuszko
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 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 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 Q523662 Q284323 Q59071 Q1383532 Q160445 Q44248 Q1269112 Q2424767 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action atmost
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?t <= 2 ) . { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:P417 ?v . ?v rdf:type ontology:Q502895 . ?k rdf:type ontology:Q12737077 } GROUP BY ?v } }
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 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 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 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
Elizabeth II Thomas Aquinas Tadeusz Kościuszko
action atmost
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?t <= 2 ) . { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:patron_saint ?v . ?v rdf:type ontology:common_name . ?k rdf:type ontology:occupation } GROUP BY ?v } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do atleast 412 people know to play ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 412
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?p ) WHERE { ?q rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 . ?o property:P1303 ?q } GROUP BY ?q } . FILTER ( ?p >= 412 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 412
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?p ) WHERE { ?q rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name . ?o property:instrument ?q } GROUP BY ?q } . FILTER ( ?p >= 412 ) }
[]
musical instrument common name
Q5994 Q46185 Q80019
SYSTEM
piano, bass guitar, double bass
Q46185 Q80019 Q5994 Q8338 Q8371 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 412
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?p ) WHERE { ?q rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 . ?o property:P1303 ?q } GROUP BY ?q } . FILTER ( ?p >= 412 ) }
bass guitar double bass piano trumpet cello violin organ drum kit
piano bass guitar double bass
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 412
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?p ) WHERE { ?q rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name . ?o property:instrument ?q } GROUP BY ?q } . FILTER ( ?p >= 412 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q18661427
P180
Q34379 Q1792379
USER
Which art genres depict less number of musical instruments than Memorial of the people of Pori ?
(c(Q1792379),P180,c(Q34379))
action less
action find_tuple_counts
relation P180
type Q1792379
type Q34379
action count
action filter_type
action find
entity Q18661427
relation P180
type Q34379
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?a ) WHERE { ?h rdf:type ontology:Q1792379 . ?f rdf:type ontology:Q34379 . ?h property:P180 ?f } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { resource:Q18661427 property:P180 ?k . ?k rdf:type ontology:Q34379 } } . FILTER ( ?a < ?d ) }
Memorial of the people of Pori
action less
action find_tuple_counts
relation depicts
type art genre
type musical instrument
action count
action filter_type
action find
entity Memorial of the people of Pori
relation depicts
type musical instrument
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?a ) WHERE { ?h rdf:type ontology:art_genre . ?f rdf:type ontology:musical_instrument . ?h property:depicts ?f } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { resource:Memorial_of_the_people_of_Pori property:depicts ?k . ?k rdf:type ontology:musical_instrument } } . FILTER ( ?a < ?d ) }
[]
musical instrument art genre
Q5712848 Q4668641 Q3207118
SYSTEM
Self-Portrait with Monkey, Above and Below, The Ring of Fire
Q21856809 Q26267230 Q1189907 Q22677514 Q3362398 Q2963437 Q22073388 Q26318263 Q4668641 Q22670282 Q2302151 Q5883078 Q3687196 Q18353841 Q22915045 Q26706171 Q26928600 Q5712848 Q3900659 Q742530 Q18688281 Q742333 Q937330 Q3374376 Q1615638 Q22677763 Q22677825 Q6944995 Q248726 Q27087718 Q3207118 Q22670323 Q26317896 Q214127 Q315569 Q1353984 Q3399515 Q158607 Q659396 Q18559971 Q18917896 Q26709687 Q22575803 Q1339864 Q2415378 Q191163 Q18579186 Q5448026 Q12303833 Q22677734 Q26668969
(c(Q1792379),P180,c(Q34379))
action less
action find_tuple_counts
relation P180
type Q1792379
type Q34379
action count
action filter_type
action find
entity Q18661427
relation P180
type Q34379
[ANSWERS]
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?a ) WHERE { ?h rdf:type ontology:Q1792379 . ?f rdf:type ontology:Q34379 . ?h property:P180 ?f } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { resource:Q18661427 property:P180 ?k . ?k rdf:type ontology:Q34379 } } . FILTER ( ?a < ?d ) }
Selim Palmgren Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) Water Lilies Market place parliament Panorama du Caire One Thousand Pictures of the Ocean (Chie no umi) Henry M. Jackson Bust of Edward VII Above and Below Crying girl animal painting Hollywood novel Christ's Charge to Peter Architectural painting Zinc sculptures of the Pori town hall Sir Austen Henry Layard Existentialist literature Self-Portrait with Monkey The Miraculous Draught of Fishes idyll Portrait of A.S.Pushkin history painting kouros mythological painting submarine films Statue of Risto Ryti Maire-sculpture My Bed Venus figurine Bust Of Sir Henry Tate, Outside Tate Library, Brixton Oval The Ring of Fire JUHANA III - The king of Sweden 1568-1592 -relief Monument To John Heminge And Henry Condell In Former Churchyard Of Church Of St Mary Aldermanbury genre painting Karl Marx Monument landscape photography equestrian portrait marine art equestrian statue Rock art at Åbodsjön history sculpture Antoine Coypel Going swimming, from the theme mother and child sports film schutterstuk landscape art Petrus Franciscus Greive (1811-1872) figure painting floral painting Statue of Duke John Bust Of Sir Joseph Paxton At Crystal Palace Park
Self-Portrait with Monkey Above and Below The Ring of Fire
action less
action find_tuple_counts
relation depicts
type art genre
type musical instrument
action count
action filter_type
action find
entity Memorial of the people of Pori
relation depicts
type musical instrument
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?a ) WHERE { ?h rdf:type ontology:art_genre . ?f rdf:type ontology:musical_instrument . ?h property:depicts ?f } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { resource:Memorial_of_the_people_of_Pori property:depicts ?k . ?k rdf:type ontology:musical_instrument } } . FILTER ( ?a < ?d ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q5712848 Q4668641 Q3207118
P17
Q15617994
USER
Which administrative territories are those art genres situated in ?
(Q5712848,P17,c(Q15617994)) (Q4668641,P17,c(Q15617994)) (Q3207118,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q5712848', 'P17', {'concept': 'Q15617994'}] ['Q4668641', 'P17', {'concept': 'Q15617994'}] ['Q3207118', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?o property:P17 ?l . ?l rdf:type ontology:Q15617994 . VALUES ( ?o ) { ( resource:Q21856809 ) ( resource:Q26267230 ) ( resource:Q1189907 ) } }
Self-Portrait with Monkey Above and Below The Ring of Fire
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Self-Portrait with Monkey', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Above and Below', 'country', {'concept': 'designation for an administrative territorial entity'}] ['The Ring of Fire', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?o property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?o ) { ( resource:Selim_Palmgren ) ( resource:Portrait_of_a_king_of_marksmen_(presumably_Jacobus_Albertus_de_Backer) ) ( resource:Water_Lilies ) } }
[]
designation for an administrative territorial entity
Q30 Q30 Q142
SYSTEM
France for 3rd, United States of America for 1st, 2nd
Q30 Q30 Q142
(Q5712848,P17,c(Q15617994)) (Q4668641,P17,c(Q15617994)) (Q3207118,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
[ANSWERS]
['Q5712848', 'P17', {'concept': 'Q15617994'}] ['Q4668641', 'P17', {'concept': 'Q15617994'}] ['Q3207118', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?o property:P17 ?l . ?l rdf:type ontology:Q15617994 . VALUES ( ?o ) { ( resource:Q21856809 ) ( resource:Q26267230 ) ( resource:Q1189907 ) } }
United States of America United States of America France
United States of America United States of America France
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Self-Portrait with Monkey', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Above and Below', 'country', {'concept': 'designation for an administrative territorial entity'}] ['The Ring of Fire', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?o property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?o ) { ( resource:Selim_Palmgren ) ( resource:Portrait_of_a_king_of_marksmen_(presumably_Jacobus_Albertus_de_Backer) ) ( resource:Water_Lilies ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9682
P748
Q12737077
USER
Which occupations are appointed by Elizabeth II ?
(c(Q12737077),P748,Q9682)
action filter_type
action find_reverse
entity Q9682
relation P748
type Q12737077
[{'concept': 'Q12737077'}, 'P748', 'Q9682']
SELECT DISTINCT ?p WHERE { ?p property:P748 resource:Q9682 . ?p rdf:type ontology:Q12737077 }
Elizabeth II
action filter_type
action find_reverse
entity Elizabeth II
relation appointed by
type occupation
[{'concept': 'occupation'}, 'appointed by', 'Elizabeth II']
SELECT DISTINCT ?p WHERE { ?p property:appointed_by resource:Elizabeth_II . ?p rdf:type ontology:occupation }
[]
occupation
Q25860233 Q3246797 Q1371091
SYSTEM
Secretary of State for Exiting the European Union, Secretary of State for Transport, Secretary of State for Foreign and Commonwealth Affairs
Q195965 Q1371091 Q1846384 Q1060844 Q1362216 Q2631987 Q691615 Q2636053 Q464103 Q1369302 Q3858507 Q111784 Q3246797 Q14984399 Q3477307 Q2484309 Q3397406 Q7444357 Q7444352 Q609884 Q531471 Q3315116 Q3477306 Q25860233 Q3315134 Q3297079 Q6865995
(c(Q12737077),P748,Q9682)
action filter_type
action find_reverse
entity Q9682
relation P748
type Q12737077
[ANSWERS]
[{'concept': 'Q12737077'}, 'P748', 'Q9682']
SELECT DISTINCT ?p WHERE { ?p property:P748 resource:Q9682 . ?p rdf:type ontology:Q12737077 }
Governor of Gibraltar Secretary of State for Foreign and Commonwealth Affairs Secretary of State for Wales Paymaster General First Minister of Scotland Attorney General for England and Wales Governor of the Virgin Islands Leader of the House of Commons Speaker of the House of Commons Secretary of State for Northern Ireland Secretary of State for Business, Energy and Industrial Strategy Secretary of State for Scotland Secretary of State for Transport Secretary of State for Environment, Food and Rural Affairs Secretary of State for Justice Secretary of State for the Home Department Secretary of State for Health Secretary of State for Work and Pensions Secretary of State for International Development First Lord of the Treasury Chancellor of the Exchequer Minister for the Civil Service Secretary of State for Education Secretary of State for Exiting the European Union Minister for Women and Equalities Secretary of State for Culture, Media and Sport Minister for the Cabinet Office
Secretary of State for Exiting the European Union Secretary of State for Transport Secretary of State for Foreign and Commonwealth Affairs
action filter_type
action find_reverse
entity Elizabeth II
relation appointed by
type occupation
[{'concept': 'occupation'}, 'appointed by', 'Elizabeth II']
SELECT DISTINCT ?p WHERE { ?p property:appointed_by resource:Elizabeth_II . ?p rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3246797
P39
Q502895
USER
Who held the position of that occupation ?
(c(Q502895),P39,Q3246797)
action filter_type
action find_reverse
entity Q3246797
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q3246797']
SELECT DISTINCT ?t WHERE { ?t property:P39 resource:Q3246797 . ?t rdf:type ontology:Q502895 }
Secretary of State for Transport
action filter_type
action find_reverse
entity Secretary of State for Transport
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Secretary of State for Transport']
SELECT DISTINCT ?t WHERE { ?t property:position_held resource:Secretary_of_State_for_Transport . ?t rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1371091
SYSTEM
Did you mean Secretary of State for Foreign and Commonwealth Affairs ?
Q25860233 Q3246797 Q1371091
(c(Q502895),P39,Q25860233) (c(Q502895),P39,Q3246797) (c(Q502895),P39,Q1371091)
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q25860233'] [{'concept': 'Q502895'}, 'P39', 'Q3246797'] [{'concept': 'Q502895'}, 'P39', 'Q1371091']
SELECT DISTINCT ?t WHERE { ?t property:P39 resource:Q3246797 . ?t rdf:type ontology:Q502895 }
Secretary of State for Exiting the European Union Secretary of State for Transport Secretary of State for Foreign and Commonwealth Affairs
Did you mean Secretary of State for Foreign and Commonwealth Affairs ?
Secretary of State for Foreign and Commonwealth Affairs
[{'concept': 'common name'}, 'position held', 'Secretary of State for Exiting the European Union'] [{'concept': 'common name'}, 'position held', 'Secretary of State for Transport'] [{'concept': 'common name'}, 'position held', 'Secretary of State for Foreign and Commonwealth Affairs']
SELECT DISTINCT ?t WHERE { ?t property:position_held resource:Secretary_of_State_for_Transport . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Secretary of State for Transport. Could you tell me the answer for that?
(c(Q502895),P39,Q3246797)
Q3246797
[{'concept': 'Q502895'}, 'P39', 'Q3246797']
[{'concept': 'common name'}, 'position held', 'Secretary of State for Transport']
[]
Q259836 Q2883936 Q337453
SYSTEM
Sir George Young, Barbara Castle, Baroness Castle of Blackburn, Chris Grayling
Q332987 Q259106 Q1555319 Q333267 Q122522 Q3069915 Q389677 Q337453 Q5393524 Q334198 Q332919 Q333312 Q332837 Q333487 Q334362 Q324805 Q333259 Q332385 Q327810 Q93557 Q333128 Q332940 Q296639 Q259836 Q2883936 Q272644 Q1700212 Q333410
(c(Q502895),P39,Q3246797)
action filter_type
action find_reverse
entity Q3246797
relation P39
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P39', 'Q3246797']
SELECT DISTINCT ?t WHERE { ?t property:P39 resource:Q3246797 . ?t rdf:type ontology:Q502895 }
Philip Hammond Douglas Alexander Gus Macdonald Patrick McLoughlin Leslie Hore-Belisha, 1st Baron Hore-Belisha Paul Channon, Baron Kelvedon John Spellar Chris Grayling Ernest Marples John Baird, 1st Viscount Stonehaven Norman Fowler Tom King, Baron King of Bridgwater Stephen Byers Malcolm Rifkind Fred Mulley Nicholas Ridley, Baron Ridley of Liddesdale William Rodgers, Baron Rodgers of Quarry Bank Geoff Hoon Cecil Parkinson John Moore, Baron Moore of Lower Marsh Gavin Strang John MacGregor, Baron MacGregor of Pulham Market Alistair Darling Sir George Young Barbara Castle, Baroness Castle of Blackburn Ruth Kelly John Gilbert, Baron Gilbert Brian Mawhinney, Baron Mawhinney
Sir George Young Barbara Castle, Baroness Castle of Blackburn Chris Grayling
action filter_type
action find_reverse
entity Secretary of State for Transport
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Secretary of State for Transport']
SELECT DISTINCT ?t WHERE { ?t property:position_held resource:Secretary_of_State_for_Transport . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q259836 Q2883936 Q337453
P1412
Q34770
USER
Which languages are those people capable of writing ?
(Q259836,P1412,c(Q34770)) (Q2883936,P1412,c(Q34770)) (Q337453,P1412,c(Q34770))
action filter_type
action find
entity prev_answer
relation P1412
type Q34770
['Q259836', 'P1412', {'concept': 'Q34770'}] ['Q2883936', 'P1412', {'concept': 'Q34770'}] ['Q337453', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { ?k property:P1412 ?c . ?c rdf:type ontology:Q34770 . VALUES ( ?k ) { ( resource:Q332987 ) ( resource:Q259106 ) ( resource:Q1555319 ) } }
Sir George Young Barbara Castle, Baroness Castle of Blackburn Chris Grayling
action filter_type
action find
entity prev_answer
relation languages spoken, written or signed
type language
['Sir George Young', 'languages spoken, written or signed', {'concept': 'language'}] ['Barbara Castle, Baroness Castle of Blackburn', 'languages spoken, written or signed', {'concept': 'language'}] ['Chris Grayling', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { ?k property:languages_spoken,_written_or_signed ?c . ?c rdf:type ontology:language . VALUES ( ?k ) { ( resource:Philip_Hammond ) ( resource:Douglas_Alexander ) ( resource:Gus_Macdonald ) } }
[]
language
Q1860 Q1860 Q1860
SYSTEM
English
Q1860 Q1860 Q1860
(Q259836,P1412,c(Q34770)) (Q2883936,P1412,c(Q34770)) (Q337453,P1412,c(Q34770))
action filter_type
action find
entity prev_answer
relation P1412
type Q34770
[ANSWER]
['Q259836', 'P1412', {'concept': 'Q34770'}] ['Q2883936', 'P1412', {'concept': 'Q34770'}] ['Q337453', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { ?k property:P1412 ?c . ?c rdf:type ontology:Q34770 . VALUES ( ?k ) { ( resource:Q332987 ) ( resource:Q259106 ) ( resource:Q1555319 ) } }
English English English
English English English
action filter_type
action find
entity prev_answer
relation languages spoken, written or signed
type language
['Sir George Young', 'languages spoken, written or signed', {'concept': 'language'}] ['Barbara Castle, Baroness Castle of Blackburn', 'languages spoken, written or signed', {'concept': 'language'}] ['Chris Grayling', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { ?k property:languages_spoken,_written_or_signed ?c . ?c rdf:type ontology:language . VALUES ( ?k ) { ( resource:Philip_Hammond ) ( resource:Douglas_Alexander ) ( resource:Gus_Macdonald ) } }
[]