Simple Question (Direct)
Simple Question
Q945343
P27
Q1048835
USER
Which political territory is the native country of Dennis Darling ?
(Q945343,P27,c(Q1048835))
action filter_type
action find
entity Q945343
relation P27
type Q1048835
['Q945343', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q945343 property:P27 ?f . ?f rdf:type ontology:Q1048835 }
Dennis Darling
action filter_type
action find
entity Dennis Darling
relation country of citizenship
type political territorial entity
['Dennis Darling', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Dennis_Darling property:country_of_citizenship ?f . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q778
SYSTEM
The Bahamas
Q778
(Q945343,P27,c(Q1048835))
action filter_type
action find
entity Q945343
relation P27
type Q1048835
[ANSWER] is the native country of Dennis Darling
['Q945343', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q945343 property:P27 ?f . ?f rdf:type ontology:Q1048835 }
The Bahamas
The Bahamas is the native country of Dennis Darling
The Bahamas
action filter_type
action find
entity Dennis Darling
relation country of citizenship
type political territorial entity
['Dennis Darling', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Dennis_Darling property:country_of_citizenship ?f . ?f rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q945343
P106
Q12737077
USER
What is the profession of Dennis Darling ?
(Q945343,P106,c(Q12737077))
action filter_type
action find
entity Q945343
relation P106
type Q12737077
['Q945343', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q945343 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Dennis Darling
action filter_type
action find
entity Dennis Darling
relation occupation
type occupation
['Dennis Darling', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Dennis_Darling property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q4009406
SYSTEM
sprinter
Q4009406
(Q945343,P106,c(Q12737077))
action filter_type
action find
entity Q945343
relation P106
type Q12737077
The profession of Dennis Darling is a [ANSWER]
['Q945343', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q945343 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
sprinter
The profession of Dennis Darling is a sprinter
sprinter
action filter_type
action find
entity Dennis Darling
relation occupation
type occupation
['Dennis Darling', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Dennis_Darling property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q163900
P417
Q502895 Q12737077
USER
How many people are the patron saint of less number of occupations than Saint Francis Xavier ?
(c(Q12737077),P417,c(Q502895))
action count
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q163900
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:P417 resource:Q163900 . ?e rdf:type ontology:Q12737077 } } . FILTER ( ?k < ?j ) . { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:P417 ?h . ?h rdf:type ontology:Q502895 . ?c rdf:type ontology:Q12737077 } GROUP BY ?h } }
Saint Francis Xavier
action count
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Saint Francis Xavier
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:patron_saint resource:Saint_Francis_Xavier . ?e rdf:type ontology:occupation } } . FILTER ( ?k < ?j ) . { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:patron_saint ?h . ?h rdf:type ontology:common_name . ?c rdf:type ontology:occupation } GROUP BY ?h } }
[]
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 less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q163900
relation P417
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:P417 resource:Q163900 . ?e rdf:type ontology:Q12737077 } } . FILTER ( ?k < ?j ) . { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:P417 ?h . ?h rdf:type ontology:Q502895 . ?c rdf:type ontology:Q12737077 } GROUP BY ?h } }
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 less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Saint Francis Xavier
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:patron_saint resource:Saint_Francis_Xavier . ?e rdf:type ontology:occupation } } . FILTER ( ?k < ?j ) . { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:patron_saint ?h . ?h rdf:type ontology:common_name . ?c rdf:type ontology:occupation } GROUP BY ?h } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q2342494 Q340169
USER
How many occupations are expressed in approximately 2 collectables and medias ?
(c(Q2342494)|c(Q340169),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
value 2
[[{'concept': 'Q2342494'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) ?v WHERE { VALUES ( ?m ) { ( ontology:Q340169 ) ( ontology:Q2342494 ) } . ?o rdf:type ?m } GROUP BY ?v } . FILTER ( ?y = 2 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type media
value 2
[[{'concept': 'collectable'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) ?v WHERE { VALUES ( ?m ) { ( ontology:media ) ( ontology:collectable ) } . ?o rdf:type ?m } GROUP BY ?v } . FILTER ( ?y = 2 ) }
[]
occupation collectable media
SYSTEM
2
Q4991371 Q639669
(c(Q2342494)|c(Q340169),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
value 2
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) ?v WHERE { VALUES ( ?m ) { ( ontology:Q340169 ) ( ontology:Q2342494 ) } . ?o rdf:type ?m } GROUP BY ?v } . FILTER ( ?y = 2 ) }
soldier musician
2
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type media
value 2
[[{'concept': 'collectable'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) ?v WHERE { VALUES ( ?m ) { ( ontology:media ) ( ontology:collectable ) } . ?o rdf:type ?m } GROUP BY ?v } . FILTER ( ?y = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q945343
P641
Q31629
USER
What did Dennis Darling participate in ?
(Q945343,P641,c(Q31629))
action filter_type
action find
entity Q945343
relation P641
type Q31629
['Q945343', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?q WHERE { resource:Q945343 property:P641 ?q . ?q rdf:type ontology:Q31629 }
Dennis Darling
action filter_type
action find
entity Dennis Darling
relation sport
type type of sport
['Dennis Darling', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?q WHERE { resource:Dennis_Darling property:sport ?q . ?q rdf:type ontology:type_of_sport }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q945343,P641,c(Q31629))
action filter_type
action find
entity Q945343
relation P641
type Q31629
Dennis Darling participated in [ANSWER]
['Q945343', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?q WHERE { resource:Q945343 property:P641 ?q . ?q rdf:type ontology:Q31629 }
athletics
Dennis Darling participated in athletics
athletics
action filter_type
action find
entity Dennis Darling
relation sport
type type of sport
['Dennis Darling', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?q WHERE { resource:Dennis_Darling property:sport ?q . ?q rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q542
P425
Q12737077
USER
Which occupations do that type of sport belong to ?
(c(Q12737077),P425,Q542)
action filter_type
action find_reverse
entity Q542
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q542']
SELECT DISTINCT ?k WHERE { ?k property:P425 resource:Q542 . ?k rdf:type ontology:Q12737077 }
athletics
action filter_type
action find_reverse
entity athletics
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'athletics']
SELECT DISTINCT ?k WHERE { ?k property:field_of_this_occupation resource:athletics . ?k rdf:type ontology:occupation }
[]
occupation
Q19827985 Q7831495
SYSTEM
track and field coach, track and field official
Q19827985 Q7831495
(c(Q12737077),P425,Q542)
action filter_type
action find_reverse
entity Q542
relation P425
type Q12737077
That type of sport belong to the [ANSWERS]
[{'concept': 'Q12737077'}, 'P425', 'Q542']
SELECT DISTINCT ?k WHERE { ?k property:P425 resource:Q542 . ?k rdf:type ontology:Q12737077 }
track and field coach track and field official
That type of sport belong to the track and field coach and track and field official
track and field coach track and field official
action filter_type
action find_reverse
entity athletics
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'athletics']
SELECT DISTINCT ?k WHERE { ?k property:field_of_this_occupation resource:athletics . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q19827985 Q7831495
P425
Q31629
USER
Which types of sport have those ones as the associated field of occupation ?
(Q19827985,P425,c(Q31629)) (Q7831495,P425,c(Q31629))
action filter_type
action find
entity prev_answer
relation P425
type Q31629
['Q19827985', 'P425', {'concept': 'Q31629'}] ['Q7831495', 'P425', {'concept': 'Q31629'}]
SELECT DISTINCT ?s WHERE { ?q property:P425 ?s . ?s rdf:type ontology:Q31629 . VALUES ( ?q ) { ( resource:Q19827985 ) ( resource:Q7831495 ) } }
track and field coach track and field official
action filter_type
action find
entity prev_answer
relation field of this occupation
type type of sport
['track and field coach', 'field of this occupation', {'concept': 'type of sport'}] ['track and field official', 'field of this occupation', {'concept': 'type of sport'}]
SELECT DISTINCT ?s WHERE { ?q property:field_of_this_occupation ?s . ?s rdf:type ontology:type_of_sport . VALUES ( ?q ) { ( resource:track_and_field_coach ) ( resource:track_and_field_official ) } }
[]
type of sport
Q542 Q542
SYSTEM
athletics
Q542 Q542
(Q19827985,P425,c(Q31629)) (Q7831495,P425,c(Q31629))
action filter_type
action find
entity prev_answer
relation P425
type Q31629
And [ANSWER] and [ANSWER] have those ones as the associated field of occupation
['Q19827985', 'P425', {'concept': 'Q31629'}] ['Q7831495', 'P425', {'concept': 'Q31629'}]
SELECT DISTINCT ?s WHERE { ?q property:P425 ?s . ?s rdf:type ontology:Q31629 . VALUES ( ?q ) { ( resource:Q19827985 ) ( resource:Q7831495 ) } }
athletics athletics
And athletics and athletics have those ones as the associated field of occupation
athletics athletics
action filter_type
action find
entity prev_answer
relation field of this occupation
type type of sport
['track and field coach', 'field of this occupation', {'concept': 'type of sport'}] ['track and field official', 'field of this occupation', {'concept': 'type of sport'}]
SELECT DISTINCT ?s WHERE { ?q property:field_of_this_occupation ?s . ?s rdf:type ontology:type_of_sport . VALUES ( ?q ) { ( resource:track_and_field_coach ) ( resource:track_and_field_official ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q778
P840
Q838948
USER
Which works of art have their narrative set in The Bahamas ?
(c(Q838948),P840,Q778)
action filter_type
action find_reverse
entity Q778
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q778']
SELECT DISTINCT ?r WHERE { ?r property:P840 resource:Q778 . ?r rdf:type ontology:Q838948 }
The Bahamas
action filter_type
action find_reverse
entity The Bahamas
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'The Bahamas']
SELECT DISTINCT ?r WHERE { ?r property:narrative_location resource:The_Bahamas . ?r rdf:type ontology:work_of_art }
[]
work of art
Q151904 Q107724 Q180279
SYSTEM
Casino Royale, Thunderball, Never Say Never Again
Q1130297 Q14272676 Q766427 Q180279 Q151904 Q107724 Q389151 Q5457171 Q1545251 Q4842321 Q2061368 Q1199839
(c(Q838948),P840,Q778)
action filter_type
action find_reverse
entity Q778
relation P840
type Q838948
[ANSWERS] have their narrative set in The Bahamas
[{'concept': 'Q838948'}, 'P840', 'Q778']
SELECT DISTINCT ?r WHERE { ?r property:P840 resource:Q778 . ?r rdf:type ontology:Q838948 }
Into the Blue The Other Woman Pain & Gain Never Say Never Again Casino Royale Thunderball After the Sunset Flame of the Islands The Happy Ending Bahama Passage Islands in the Stream Jaws: The Revenge
Casino Royale, Thunderball and Never Say Never Again have their narrative set in The Bahamas
Casino Royale Thunderball Never Say Never Again
action filter_type
action find_reverse
entity The Bahamas
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'The Bahamas']
SELECT DISTINCT ?r WHERE { ?r property:narrative_location resource:The_Bahamas . ?r rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q151904 Q107724 Q180279
P161
Q502895
USER
Who were casted in Casino Royale, Thunderball and Never Say Never Again ?
(Q151904,P161,c(Q502895)) (Q107724,P161,c(Q502895)) (Q180279,P161,c(Q502895))
action union
action filter_type
action find
entity Q151904
relation P161
type Q502895
action filter_type
action find
entity Q107724
relation P161
type Q502895
action filter_type
action find
entity Q180279
relation P161
type Q502895
['Q151904', 'P161', {'concept': 'Q502895'}] ['Q107724', 'P161', {'concept': 'Q502895'}] ['Q180279', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?w ) { ( resource:Q107724 ) ( resource:Q151904 ) } . ?w property:P161 ?o }
Casino Royale Thunderball Never Say Never Again
action union
action filter_type
action find
entity Casino Royale
relation cast member
type common name
action filter_type
action find
entity Thunderball
relation cast member
type common name
action filter_type
action find
entity Never Say Never Again
relation cast member
type common name
['Casino Royale', 'cast member', {'concept': 'common name'}] ['Thunderball', 'cast member', {'concept': 'common name'}] ['Never Say Never Again', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?w ) { ( resource:Thunderball ) ( resource:Casino_Royale ) } . ?w property:cast_member ?o }
[]
common name
Q4573 Q4573 Q28054
SYSTEM
Judi Dench for 3rd, Sean Connery for 1st, 2nd
Q3052551 Q1852090 Q86336 Q2500306 Q3810251 Q4547 Q64610 Q530997 Q5226021 Q1887051 Q343059 Q434790 Q95316 Q28054 Q959138 Q1255329 Q315258 Q1189407 Q294647 Q257165 Q239552 Q526677 Q191644 Q123628 Q7815248 Q1342843 Q1508089 Q1927055 Q2848238 Q7153771 Q1029099 Q29092 Q434602 Q1557469 Q269832 Q365044 Q4573 Q7308595 Q353050 Q1859922 Q437806 Q1804810 Q323452 Q16013003 Q273351 Q573128 Q888254 Q232860 Q458755 Q3046377 Q3938408 Q1748652 Q456889 Q2409879 Q3473815 Q78533 Q372497 Q203215 Q7253042 Q1391469 Q4573 Q747891 Q131380 Q235294 Q492176 Q309980 Q23760
(Q151904,P161,c(Q502895)) (Q107724,P161,c(Q502895)) (Q180279,P161,c(Q502895))
action union
action filter_type
action find
entity Q151904
relation P161
type Q502895
action filter_type
action find
entity Q107724
relation P161
type Q502895
action filter_type
action find
entity Q180279
relation P161
type Q502895
[ANSWERS]
['Q151904', 'P161', {'concept': 'Q502895'}] ['Q107724', 'P161', {'concept': 'Q502895'}] ['Q180279', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?w ) { ( resource:Q107724 ) ( resource:Q151904 ) } . ?w property:P161 ?o }
Emmanuel Avena Tobias Menzies Richard Sammel Urbano Barberini Joseph Millson Daniel Craig Veruschka von Lehndorff Jesper Christensen Darwin Shaw Malcolm Sinclair Jeffrey Wright Tsai Chin Ludger Pistor Judi Dench Claudio Santamaria Simon Abkarian Giancarlo Giannini Christina Cole Mads Mikkelsen Ivana Miličević Caterina Murino Sébastien Foucan Eva Green Carlos Leal Tom Chadbon Isaach de Bankolé George Pravda Michael Brennan André Maranne Paul Stassino Jack Gwillim Desmond Llewelyn Martine Beswick Guy Doleman Claudine Auger Adolfo Celi Sean Connery Reginald Beckwith Philip Locke Rik Van Nutter Luciana Paluzzi Philip Stone Bernard Lee Patrick Holt Molly Peters Anthony Dawson Bob Simmons Lois Maxwell Roland Culver Earl Cameron Robert Rietti Gavan O'Herlihy Pamela Salem Derek Deadman Saskia Cohen-Tanugi Klaus Maria Brandauer Bernie Casey Max von Sydow Prunella Gee Valerie Leon Sean Connery Pat Roach Kim Basinger Barbara Carrera Alec McCowen Edward Fox Rowan Atkinson
Sean Connery, Sean Connery and Judi Dench were casted in Casino Royale, Thunderball and Never Say Never Again
Sean Connery Sean Connery Judi Dench
action union
action filter_type
action find
entity Casino Royale
relation cast member
type common name
action filter_type
action find
entity Thunderball
relation cast member
type common name
action filter_type
action find
entity Never Say Never Again
relation cast member
type common name
['Casino Royale', 'cast member', {'concept': 'common name'}] ['Thunderball', 'cast member', {'concept': 'common name'}] ['Never Say Never Again', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?w ) { ( resource:Thunderball ) ( resource:Casino_Royale ) } . ?w property:cast_member ?o }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4573
P1411
Q618779
USER
Which awards did that person receive ?
(Q4573,P1411,c(Q618779))
action filter_type
action find
entity Q4573
relation P1411
type Q618779
['Q4573', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?p WHERE { resource:Q4573 property:P1411 ?p . ?p rdf:type ontology:Q618779 }
Sean Connery
action filter_type
action find
entity Sean Connery
relation nominated for
type award
['Sean Connery', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?p WHERE { resource:Sean_Connery property:nominated_for ?p . ?p rdf:type ontology:award }
[]
award
Clarification for simple ques.
Q4573
SYSTEM
Did you mean Sean Connery ?
Q4573 Q4573 Q28054
(Q4573,P1411,c(Q618779)) (Q4573,P1411,c(Q618779)) (Q28054,P1411,c(Q618779))
[ANSWER]
['Q4573', 'P1411', {'concept': 'Q618779'}] ['Q4573', 'P1411', {'concept': 'Q618779'}] ['Q28054', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?p WHERE { resource:Q4573 property:P1411 ?p . ?p rdf:type ontology:Q618779 }
Sean Connery Sean Connery Judi Dench
Did you mean Sean Connery ?
Sean Connery
['Sean Connery', 'nominated for', {'concept': 'award'}] ['Sean Connery', 'nominated for', {'concept': 'award'}] ['Judi Dench', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?p WHERE { resource:Sean_Connery property:nominated_for ?p . ?p rdf:type ontology:award }
[]
Simple Question (Coreferenced)
USER
Yes
(Q4573,P1411,c(Q618779))
['Q4573', 'P1411', {'concept': 'Q618779'}]
['Sean Connery', 'nominated for', {'concept': 'award'}]
[]
Q641316 Q1535145
SYSTEM
Golden Raspberry Award for Worst Supporting Actor, Golden Raspberry Award for Worst Screen Couple/Ensemble
Q641316 Q1535145
(Q4573,P1411,c(Q618779))
action filter_type
action find
entity Q4573
relation P1411
type Q618779
That person received the [ANSWERS]
['Q4573', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?p WHERE { resource:Q4573 property:P1411 ?p . ?p rdf:type ontology:Q618779 }
Golden Raspberry Award for Worst Supporting Actor Golden Raspberry Award for Worst Screen Couple/Ensemble
That person received the Golden Raspberry Award for Worst Supporting Actor and Golden Raspberry Award for Worst Screen Couple/Ensemble
Golden Raspberry Award for Worst Supporting Actor Golden Raspberry Award for Worst Screen Couple/Ensemble
action filter_type
action find
entity Sean Connery
relation nominated for
type award
['Sean Connery', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?p WHERE { resource:Sean_Connery property:nominated_for ?p . ?p rdf:type ontology:award }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q4573
P161
Q838948 Q15416
USER
How many works of art and television programs have Sean Connery in their star cast ?
(c(Q838948),P161,Q4573) (c(Q15416),P161,Q4573)
action count
action union
action filter_type
action find_reverse
entity Q4573
relation P161
type Q838948
action filter_type
action find_reverse
entity Q4573
relation P161
type Q15416
[{'concept': 'Q838948'}, 'P161', 'Q4573'] [{'concept': 'Q15416'}, 'P161', 'Q4573']
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { ?y rdf:type ontology:Q838948 . ?y property:P161 resource:Q4573 } UNION { ?y property:P161 resource:Q4573 . ?y rdf:type ontology:Q15416 } }
Sean Connery
action count
action union
action filter_type
action find_reverse
entity Sean Connery
relation cast member
type work of art
action filter_type
action find_reverse
entity Sean Connery
relation cast member
type television program
[{'concept': 'work of art'}, 'cast member', 'Sean Connery'] [{'concept': 'television program'}, 'cast member', 'Sean Connery']
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { ?y rdf:type ontology:work_of_art . ?y property:cast_member resource:Sean_Connery } UNION { ?y property:cast_member resource:Sean_Connery . ?y rdf:type ontology:television_program } }
[]
work of art television program
SYSTEM
72 works of art and 1 television programs
Q507994 Q2714901 Q2037780 Q107724 Q333971 Q2476250 Q185658 Q467053 Q4352302 Q147845 Q2850201 Q2625085 Q1753894 Q1423767 Q1756022 Q1384594 Q2574700 Q1920111 Q1217573 Q7805033 Q3190085 Q1140439 Q1028499 Q7526129 Q216720 Q586154 Q296732 Q1042931 Q1426318 Q239794 Q180279 Q1529877 Q486822 Q930071 Q106571 Q1395374 Q330612 Q633614 Q107761 Q2704636 Q546471 Q1659511 Q129895 Q485841 Q7091354 Q1198096 Q102754 Q2039391 Q567577 Q4656758 Q1115213 Q2366200 Q1192193 Q1756571 Q156539 Q1168073 Q106440 Q468484 Q155018 Q20002144 Q494985 Q108525 Q1263875 Q2247896 Q617874 Q3241699 Q107914 Q3563361 Q300423 Q771408 Q1426984 Q578873 Q1632217
(c(Q838948),P161,Q4573) (c(Q15416),P161,Q4573)
action count
action union
action filter_type
action find_reverse
entity Q4573
relation P161
type Q838948
action filter_type
action find_reverse
entity Q4573
relation P161
type Q15416
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q4573'] [{'concept': 'Q15416'}, 'P161', 'Q4573']
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { ?y rdf:type ontology:Q838948 . ?y property:P161 resource:Q4573 } UNION { ?y property:P161 resource:Q4573 . ?y rdf:type ontology:Q15416 } }
The Hunt for Red October The Red Tent The Offence Thunderball First Knight No Road Back Indiana Jones and the Last Crusade A Bridge Too Far Action of the Tiger Zardoz The Bowler and the Bunnet Five Days One Summer Shalako Playing by Heart The Presidio Cuba Tarzan's Greatest Adventure Memories of Me Rising Sun Time Lock Junket Whore Finding Forrester Sword of the Valiant Sir Billi The Rock The Russia House The Next Man The Man Who Would Be King Time Bandits Outland Never Say Never Again Meteor Robin Hood: Prince of Thieves Robin and Marian From Russia with Love Family Business Dragonheart A Night to Remember You Only Live Twice Another Time, Another Place The First Great Train Robbery Just Cause Marnie Woman of Straw On the Fiddle The Wind and the Lion Dr. No The Frightened City The League of Extraordinary Gentlemen A Fine Madness G'olé! Ransom The Anderson Tapes Un monde nouveau Highlander Darby O'Gill and the Little People Goldfinger The Longest Day The Name of the Rose Macbeth The Avengers The Untouchables Hell Drivers The Molly Maguires The Hill Murder on the Orient Express Diamonds Are Forever Lilacs in the Spring A Good Man in Africa Highlander II: The Quickening Wrong Is Right Entrapment Medicine Man
72 works of art and 1 television programs
action count
action union
action filter_type
action find_reverse
entity Sean Connery
relation cast member
type work of art
action filter_type
action find_reverse
entity Sean Connery
relation cast member
type television program
[{'concept': 'work of art'}, 'cast member', 'Sean Connery'] [{'concept': 'television program'}, 'cast member', 'Sean Connery']
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { ?y rdf:type ontology:work_of_art . ?y property:cast_member resource:Sean_Connery } UNION { ?y property:cast_member resource:Sean_Connery . ?y rdf:type ontology:television_program } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4573
P551
Q56061
USER
Where did Sean Connery live ?
(Q4573,P551,c(Q56061))
action filter_type
action find
entity Q4573
relation P551
type Q56061
['Q4573', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q4573 property:P551 ?f . ?f rdf:type ontology:Q56061 }
Sean Connery
action filter_type
action find
entity Sean Connery
relation residence
type administrative territorial entity
['Sean Connery', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Sean_Connery property:residence ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q23436
SYSTEM
Edinburgh
Q23436
(Q4573,P551,c(Q56061))
action filter_type
action find
entity Q4573
relation P551
type Q56061
Sean Connery lived in [ANSWER]
['Q4573', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q4573 property:P551 ?f . ?f rdf:type ontology:Q56061 }
Edinburgh
Sean Connery lived in Edinburgh
Edinburgh
action filter_type
action find
entity Sean Connery
relation residence
type administrative territorial entity
['Sean Connery', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Sean_Connery property:residence ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q23436 Q925761
P20
Q502895
USER
Does Eric Griffiths have that administrative territory as the location of death ?
(Q925761,P20,Q23436)
action is_in
entity Q23436
action find
entity Q925761
relation P20
['Q925761', 'P20', 'Q23436']
ASK WHERE { resource:Q925761 property:P20 resource:Q23436 }
Edinburgh Eric Griffiths
action is_in
entity Edinburgh
action find
entity Eric Griffiths
relation place of death
['Eric Griffiths', 'place of death', 'Edinburgh']
ASK WHERE { resource:Eric_Griffiths property:place_of_death resource:Edinburgh }
[]
common name
SYSTEM
YES
(Q925761,P20,Q23436)
action is_in
entity Q23436
action find
entity Q925761
relation P20
[ANSWER]
['Q925761', 'P20', 'Q23436']
ASK WHERE { resource:Q925761 property:P20 resource:Q23436 }
Yes
action is_in
entity Edinburgh
action find
entity Eric Griffiths
relation place of death
['Eric Griffiths', 'place of death', 'Edinburgh']
ASK WHERE { resource:Eric_Griffiths property:place_of_death resource:Edinburgh }
[]