Simple Question (Direct)
Simple Question
Q296641
P1412
Q34770
USER
Which language does Paul Hogan speak in ?
(Q296641,P1412,c(Q34770))
action filter_type
action find
entity Q296641
relation P1412
type Q34770
['Q296641', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q296641 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
Paul Hogan
action filter_type
action find
entity Paul Hogan
relation languages spoken, written or signed
type language
['Paul Hogan', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Paul_Hogan property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q296641,P1412,c(Q34770))
action filter_type
action find
entity Q296641
relation P1412
type Q34770
Paul Hogan speaks [ANSWER]
['Q296641', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q296641 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
English
Paul Hogan speaks English
English
action filter_type
action find
entity Paul Hogan
relation languages spoken, written or signed
type language
['Paul Hogan', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Paul_Hogan property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q296641
P26
Q502895
USER
Who is the spouse of Paul Hogan ?
(Q296641,P26,c(Q502895))
action filter_type
action find
entity Q296641
relation P26
type Q502895
['Q296641', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q296641 property:P26 ?h . ?h rdf:type ontology:Q502895 }
Paul Hogan
action filter_type
action find
entity Paul Hogan
relation spouse
type common name
['Paul Hogan', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Paul_Hogan property:spouse ?h . ?h rdf:type ontology:common_name }
[]
common name
Q235100
SYSTEM
Linda Kozlowski
Q235100
(Q296641,P26,c(Q502895))
action filter_type
action find
entity Q296641
relation P26
type Q502895
The spouse of Paul Hogan is the [ANSWER]
['Q296641', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q296641 property:P26 ?h . ?h rdf:type ontology:Q502895 }
Linda Kozlowski
The spouse of Paul Hogan is the Linda Kozlowski
Linda Kozlowski
action filter_type
action find
entity Paul Hogan
relation spouse
type common name
['Paul Hogan', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Paul_Hogan property:spouse ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q296641
P1411
Q4220917
USER
Which film award was Paul Hogan nominated for ?
(Q296641,P1411,c(Q4220917))
action filter_type
action find
entity Q296641
relation P1411
type Q4220917
['Q296641', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?h WHERE { resource:Q296641 property:P1411 ?h . ?h rdf:type ontology:Q4220917 }
Paul Hogan
action filter_type
action find
entity Paul Hogan
relation nominated for
type film award
['Paul Hogan', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?h WHERE { resource:Paul_Hogan property:nominated_for ?h . ?h rdf:type ontology:film_award }
[]
film award
Q41417
SYSTEM
Academy Award for Best Writing, Original Screenplay
Q41417
(Q296641,P1411,c(Q4220917))
action filter_type
action find
entity Q296641
relation P1411
type Q4220917
Paul Hogan was nominated for [ANSWER]
['Q296641', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?h WHERE { resource:Q296641 property:P1411 ?h . ?h rdf:type ontology:Q4220917 }
Academy Award for Best Writing, Original Screenplay
Paul Hogan was nominated for Academy Award for Best Writing, Original Screenplay
Academy Award for Best Writing, Original Screenplay
action filter_type
action find
entity Paul Hogan
relation nominated for
type film award
['Paul Hogan', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?h WHERE { resource:Paul_Hogan property:nominated_for ?h . ?h rdf:type ontology:film_award }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1263913
Q4220917
USER
And also tell me about Stephen Seymour?
(Q1263913,P1411,c(Q4220917))
action filter_type
action find
entity Q1263913
relation P1411
type Q4220917
['Q1263913', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?m WHERE { resource:Q1263913 property:P1411 ?m . ?m rdf:type ontology:Q4220917 }
Stephen Seymour
action filter_type
action find
entity Stephen Seymour
relation nominated for
type film award
['Stephen Seymour', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?m WHERE { resource:Stephen_Seymour property:nominated_for ?m . ?m rdf:type ontology:film_award }
[]
film award
Q22253131
SYSTEM
Academy Award for Best Art Direction, Color
Q22253131
(Q1263913,P1411,c(Q4220917))
action filter_type
action find
entity Q1263913
relation P1411
type Q4220917
[ANSWER]
['Q1263913', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?m WHERE { resource:Q1263913 property:P1411 ?m . ?m rdf:type ontology:Q4220917 }
Academy Award for Best Art Direction, Color
Academy Award for Best Art Direction, Color
action filter_type
action find
entity Stephen Seymour
relation nominated for
type film award
['Stephen Seymour', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?m WHERE { resource:Stephen_Seymour property:nominated_for ?m . ?m rdf:type ontology:film_award }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q102131
P417
Q502895 Q56061 Q12737077
USER
How many people are the names of the patron saint of approximately the same number of administrative territories and occupations as Marcellus I ?
(c(Q56061)|c(Q12737077),P417,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q102131
relation P417
type Q56061
type Q12737077
[[{'concept': 'Q56061'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?w ) WHERE { { ?h property:P417 ?r . ?r rdf:type ontology:Q502895 . ?h rdf:type ontology:Q56061 } UNION { ?h property:P417 ?r . ?r rdf:type ontology:Q502895 . ?h rdf:type ontology:Q12737077 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z property:P417 resource:Q102131 . { { ?z rdf:type ontology:Q56061 } UNION { ?z rdf:type ontology:Q12737077 } } } } . FILTER ( ?w = ?u ) }
Marcellus I
action count
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Marcellus I
relation patron saint
type administrative territorial entity
type occupation
[[{'concept': 'administrative territorial entity'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?w ) WHERE { { ?h property:patron_saint ?r . ?r rdf:type ontology:common_name . ?h rdf:type ontology:administrative_territorial_entity } UNION { ?h property:patron_saint ?r . ?r rdf:type ontology:common_name . ?h rdf:type ontology:occupation } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z property:patron_saint resource:Marcellus_I . { { ?z rdf:type ontology:administrative_territorial_entity } UNION { ?z rdf:type ontology:occupation } } } } . FILTER ( ?w = ?u ) }
[]
common name administrative territorial entity occupation
SYSTEM
285
Q2366998 Q453698 Q561838 Q380092 Q129674 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 Q163900 Q31966 Q603655 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 Q3745904 Q191107 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q119289 Q145746 Q15284282 Q360798 Q380345 Q218921 Q316295 Q183332 Q4014956 Q159834 Q119512 Q44281 Q63070 Q134666 Q170164 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q508214 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 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q283447 Q26486 Q324700 Q158504 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q312314 Q149727 Q254896 Q3947956 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q60059 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q208331
(c(Q56061)|c(Q12737077),P417,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q102131
relation P417
type Q56061
type Q12737077
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?w ) WHERE { { ?h property:P417 ?r . ?r rdf:type ontology:Q502895 . ?h rdf:type ontology:Q56061 } UNION { ?h property:P417 ?r . ?r rdf:type ontology:Q502895 . ?h rdf:type ontology:Q12737077 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z property:P417 resource:Q102131 . { { ?z rdf:type ontology:Q56061 } UNION { ?z rdf:type ontology:Q12737077 } } } } . FILTER ( ?w = ?u ) }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola 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 Saint Francis Xavier Mark the Evangelist Fidelis of Como 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 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 Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Leonard of Port Maurice Joseph Adolphus Saint Eligius Saint Maurus Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus William of Maleval Ignatius of Loyola Mary Magdalene Stephen I Helena of Constantinople Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi 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 Cyriacus 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 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 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 Edward the Confessor Barbatus of Benevento John the Apostle Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Saint Giles Anastasius of Persia San Secondo 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 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 Saint Ninian Anthony of Apamea Elizabeth Ann Seton Charalampus Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Olaf II of Norway
285
action count
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Marcellus I
relation patron saint
type administrative territorial entity
type occupation
[[{'concept': 'administrative territorial entity'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?w ) WHERE { { ?h property:patron_saint ?r . ?r rdf:type ontology:common_name . ?h rdf:type ontology:administrative_territorial_entity } UNION { ?h property:patron_saint ?r . ?r rdf:type ontology:common_name . ?h rdf:type ontology:occupation } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z property:patron_saint resource:Marcellus_I . { { ?z rdf:type ontology:administrative_territorial_entity } UNION { ?z rdf:type ontology:occupation } } } } . FILTER ( ?w = ?u ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q102131
P411
Q82799
USER
Which name does that person belong to ?
action filter_type
action find
entity Q102131
relation P411
type Q82799
SELECT DISTINCT ?x WHERE { resource:Q102131 property:P411 ?x . ?x rdf:type ontology:Q82799 }
Marcellus I
action filter_type
action find
entity Marcellus I
relation canonization status
type name
SELECT DISTINCT ?x WHERE { resource:Marcellus_I property:canonization_status ?x . ?x rdf:type ontology:name }
[]
name
Q43115
SYSTEM
saint
Q43115
action filter_type
action find
entity Q102131
relation P411
type Q82799
That person belongs to [ANSWER]
SELECT DISTINCT ?x WHERE { resource:Q102131 property:P411 ?x . ?x rdf:type ontology:Q82799 }
saint
That person belongs to saint
saint
action filter_type
action find
entity Marcellus I
relation canonization status
type name
SELECT DISTINCT ?x WHERE { resource:Marcellus_I property:canonization_status ?x . ?x rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q43115 Q11587348
P411
Q502895
USER
Is Kanji Ishiguro in that name canonization stage ?
(Q11587348,P411,Q43115)
action is_in
entity Q11587348
action find
entity Q43115
relation P411
['Q11587348', 'P411', 'Q43115']
ASK WHERE { resource:Q43115 property:P411 resource:Q11587348 }
saint Kanji Ishiguro
action is_in
entity Kanji Ishiguro
action find
entity saint
relation canonization status
['Kanji Ishiguro', 'canonization status', 'saint']
ASK WHERE { resource:saint property:canonization_status resource:Kanji_Ishiguro }
[]
common name
SYSTEM
NO
(Q11587348,P411,Q43115)
action is_in
entity Q11587348
action find
entity Q43115
relation P411
[ANSWER]
['Q11587348', 'P411', 'Q43115']
ASK WHERE { resource:Q43115 property:P411 resource:Q11587348 }
No
action is_in
entity Kanji Ishiguro
action find
entity saint
relation canonization status
['Kanji Ishiguro', 'canonization status', 'saint']
ASK WHERE { resource:saint property:canonization_status resource:Kanji_Ishiguro }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q296641 Q4333661
P27
Q1048835
USER
Is Paul Hogan an inhabitant of Olesk ?
(Q296641,P27,Q4333661)
action is_in
entity Q4333661
action find
entity Q296641
relation P27
['Q296641', 'P27', 'Q4333661']
ASK WHERE { resource:Q296641 property:P27 resource:Q4333661 }
Paul Hogan Olesk
action is_in
entity Olesk
action find
entity Paul Hogan
relation country of citizenship
['Paul Hogan', 'country of citizenship', 'Olesk']
ASK WHERE { resource:Paul_Hogan property:country_of_citizenship resource:Olesk }
[]
political territorial entity
SYSTEM
NO
(Q296641,P27,Q4333661)
action is_in
entity Q4333661
action find
entity Q296641
relation P27
[ANSWER]
['Q296641', 'P27', 'Q4333661']
ASK WHERE { resource:Q296641 property:P27 resource:Q4333661 }
No
action is_in
entity Olesk
action find
entity Paul Hogan
relation country of citizenship
['Paul Hogan', 'country of citizenship', 'Olesk']
ASK WHERE { resource:Paul_Hogan property:country_of_citizenship resource:Olesk }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q296641
P1346
Q4220917
USER
Where was that person decalred as a champion ?
action filter_type
action find_reverse
entity Q296641
relation P1346
type Q4220917
SELECT DISTINCT ?e WHERE { ?e property:P1346 resource:Q296641 . ?e rdf:type ontology:Q4220917 }
Paul Hogan
action filter_type
action find_reverse
entity Paul Hogan
relation winner
type film award
SELECT DISTINCT ?e WHERE { ?e property:winner resource:Paul_Hogan . ?e rdf:type ontology:film_award }
[]
film award
Q181883
SYSTEM
Golden Globe Award for Best Actor – Motion Picture Musical or Comedy
Q181883
action filter_type
action find_reverse
entity Q296641
relation P1346
type Q4220917
[ANSWER] that person was decalred as a champion
SELECT DISTINCT ?e WHERE { ?e property:P1346 resource:Q296641 . ?e rdf:type ontology:Q4220917 }
Golden Globe Award for Best Actor – Motion Picture Musical or Comedy
Golden Globe Award for Best Actor – Motion Picture Musical or Comedy that person was decalred as a champion
Golden Globe Award for Best Actor – Motion Picture Musical or Comedy
action filter_type
action find_reverse
entity Paul Hogan
relation winner
type film award
SELECT DISTINCT ?e WHERE { ?e property:winner resource:Paul_Hogan . ?e rdf:type ontology:film_award }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q181883 Q1646482 Q165219
P1346
Q502895
USER
Was that film award won by Lin-Manuel Miranda and Robert Downey, Jr. ?
(Q181883,P1346,Q1646482) (Q181883,P1346,Q165219)
action is_in
entity Q181883
action intersection
action find_reverse
entity Q1646482
relation P1346
action find_reverse
entity Q165219
relation P1346
['Q181883', 'P1346', 'Q1646482'] ['Q181883', 'P1346', 'Q165219']
ASK WHERE { resource:Q181883 property:P1346 resource:Q1646482 . resource:Q181883 property:P1346 resource:Q165219 }
Golden Globe Award for Best Actor – Motion Picture Musical or Comedy Lin-Manuel Miranda Robert Downey, Jr.
action is_in
entity Golden Globe Award for Best Actor – Motion Picture Musical or Comedy
action intersection
action find_reverse
entity Lin-Manuel Miranda
relation winner
action find_reverse
entity Robert Downey, Jr.
relation winner
['Golden Globe Award for Best Actor – Motion Picture Musical or Comedy', 'winner', 'Lin-Manuel Miranda'] ['Golden Globe Award for Best Actor – Motion Picture Musical or Comedy', 'winner', 'Robert Downey, Jr.']
ASK WHERE { resource:Golden_Globe_Award_for_Best_Actor_–_Motion_Picture_Musical_or_Comedy property:winner resource:Lin-Manuel_Miranda . resource:Golden_Globe_Award_for_Best_Actor_–_Motion_Picture_Musical_or_Comedy property:winner resource:Robert_Downey,_Jr. }
[]
common name
SYSTEM
NO and YES respectively
(Q181883,P1346,Q1646482) (Q181883,P1346,Q165219)
action is_in
entity Q181883
action intersection
action find_reverse
entity Q1646482
relation P1346
action find_reverse
entity Q165219
relation P1346
[ANSWER]
['Q181883', 'P1346', 'Q1646482'] ['Q181883', 'P1346', 'Q165219']
ASK WHERE { resource:Q181883 property:P1346 resource:Q1646482 . resource:Q181883 property:P1346 resource:Q165219 }
NO and YES respectively
action is_in
entity Golden Globe Award for Best Actor – Motion Picture Musical or Comedy
action intersection
action find_reverse
entity Lin-Manuel Miranda
relation winner
action find_reverse
entity Robert Downey, Jr.
relation winner
['Golden Globe Award for Best Actor – Motion Picture Musical or Comedy', 'winner', 'Lin-Manuel Miranda'] ['Golden Globe Award for Best Actor – Motion Picture Musical or Comedy', 'winner', 'Robert Downey, Jr.']
ASK WHERE { resource:Golden_Globe_Award_for_Best_Actor_–_Motion_Picture_Musical_or_Comedy property:winner resource:Lin-Manuel_Miranda . resource:Golden_Globe_Award_for_Best_Actor_–_Motion_Picture_Musical_or_Comedy property:winner resource:Robert_Downey,_Jr. }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q181883
P166
Q838948
USER
Which works of art were awarded with Golden Globe Award for Best Actor – Motion Picture Musical or Comedy ?
(c(Q838948),P166,Q181883)
action filter_type
action find_reverse
entity Q181883
relation P166
type Q838948
[{'concept': 'Q838948'}, 'P166', 'Q181883']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q838948 . ?d property:P166 resource:Q181883 }
Golden Globe Award for Best Actor – Motion Picture Musical or Comedy
action filter_type
action find_reverse
entity Golden Globe Award for Best Actor – Motion Picture Musical or Comedy
relation award received
type work of art
[{'concept': 'work of art'}, 'award received', 'Golden Globe Award for Best Actor – Motion Picture Musical or Comedy']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:work_of_art . ?d property:award_received resource:Golden_Globe_Award_for_Best_Actor_–_Motion_Picture_Musical_or_Comedy }
[]
work of art
Q107270 Q1125282 Q171861
SYSTEM
Lost in Translation, Man on the Moon, The Artist
Q1125282 Q171861 Q741878 Q107270
(c(Q838948),P166,Q181883)
action filter_type
action find_reverse
entity Q181883
relation P166
type Q838948
[ANSWERS] were awarded with Golden Globe Award for Best Actor – Motion Picture Musical or Comedy
[{'concept': 'Q838948'}, 'P166', 'Q181883']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q838948 . ?d property:P166 resource:Q181883 }
Man on the Moon The Artist Good Morning, Vietnam Lost in Translation
Lost in Translation, Man on the Moon and The Artist were awarded with Golden Globe Award for Best Actor – Motion Picture Musical or Comedy
Lost in Translation Man on the Moon The Artist
action filter_type
action find_reverse
entity Golden Globe Award for Best Actor – Motion Picture Musical or Comedy
relation award received
type work of art
[{'concept': 'work of art'}, 'award received', 'Golden Globe Award for Best Actor – Motion Picture Musical or Comedy']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:work_of_art . ?d property:award_received resource:Golden_Globe_Award_for_Best_Actor_–_Motion_Picture_Musical_or_Comedy }
[]