Simple Question (Direct)
Simple Question
Q21621496
P106
Q12737077
USER
What is the job of Mehdi Hosseini ?
(Q21621496,P106,c(Q12737077))
action filter_type
action find
entity Q21621496
relation P106
type Q12737077
['Q21621496', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q21621496 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Mehdi Hosseini
action filter_type
action find
entity Mehdi Hosseini
relation occupation
type occupation
['Mehdi Hosseini', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Mehdi_Hosseini property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q21621496,P106,c(Q12737077))
action filter_type
action find
entity Q21621496
relation P106
type Q12737077
The job of Mehdi Hosseini is an [ANSWER]
['Q21621496', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q21621496 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
association football player
The job of Mehdi Hosseini is an association football player
association football player
action filter_type
action find
entity Mehdi Hosseini
relation occupation
type occupation
['Mehdi Hosseini', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Mehdi_Hosseini property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P425
Q349
USER
Who has that one as the associated field of occupation ?
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q937857 property:P425 ?n . ?n rdf:type ontology:Q349 }
association football player
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:association_football_player property:field_of_this_occupation ?n . ?n rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
[ANSWER] has that one as the associated field of occupation
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q937857 property:P425 ?n . ?n rdf:type ontology:Q349 }
association football
Association football has that one as the associated field of occupation
association football
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:association_football_player property:field_of_this_occupation ?n . ?n rdf:type ontology:sport }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saint of min number of occupations ?
(c(Q12737077),P417,Q208331)
action argmin
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?e ) { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?m ) WHERE { ?c property:P417 ?o . ?o rdf:type ontology:Q502895 . ?c rdf:type ontology:Q12737077 } GROUP BY ?o } } . FILTER ( ?t = ?e ) . { SELECT DISTINCT ?l ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P417 ?l . ?l rdf:type ontology:Q502895 . ?n rdf:type ontology:Q12737077 } GROUP BY ?l } }
action argmin
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?e ) { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?m ) WHERE { ?c property:patron_saint ?o . ?o rdf:type ontology:common_name . ?c rdf:type ontology:occupation } GROUP BY ?o } } . FILTER ( ?t = ?e ) . { SELECT DISTINCT ?l ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:patron_saint ?l . ?l rdf:type ontology:common_name . ?n rdf:type ontology:occupation } GROUP BY ?l } }
[]
common name occupation
Q9682 Q191479 Q346
SYSTEM
Elizabeth II, Tadeusz Kościuszko, Louis IX of France
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,Q208331)
action argmin
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[ANSWERS] are the patron saint of min number of occupations
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?e ) { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?m ) WHERE { ?c property:P417 ?o . ?o rdf:type ontology:Q502895 . ?c rdf:type ontology:Q12737077 } GROUP BY ?o } } . FILTER ( ?t = ?e ) . { SELECT DISTINCT ?l ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P417 ?l . ?l rdf:type ontology:Q502895 . ?n rdf:type ontology:Q12737077 } GROUP BY ?l } }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II, Tadeusz Kościuszko and Louis IX of France are the patron saint of min number of occupations
Elizabeth II Tadeusz Kościuszko Louis IX of France
action argmin
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?e ) { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?m ) WHERE { ?c property:patron_saint ?o . ?o rdf:type ontology:common_name . ?c rdf:type ontology:occupation } GROUP BY ?o } } . FILTER ( ?t = ?e ) . { SELECT DISTINCT ?l ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:patron_saint ?l . ?l rdf:type ontology:common_name . ?n rdf:type ontology:occupation } GROUP BY ?l } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P915
Q838948
USER
Which works of art were filmed at Spain ?
(c(Q838948),P915,Q29)
action filter_type
action find_reverse
entity Q29
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q29']
SELECT DISTINCT ?w WHERE { ?w property:P915 resource:Q29 . ?w rdf:type ontology:Q838948 }
Spain
action filter_type
action find_reverse
entity Spain
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Spain']
SELECT DISTINCT ?w WHERE { ?w property:filming_location resource:Spain . ?w rdf:type ontology:work_of_art }
[]
work of art
Q108297 Q107226 Q323827
SYSTEM
Spartacus, The Bourne Ultimatum, Doctor Zhivago
Q990857 Q2983218 Q228186 Q733003 Q6060368 Q164813 Q5242958 Q879174 Q3222253 Q1740288 Q2060283 Q860425 Q18713033 Q5659581 Q5148528 Q1127790 Q464964 Q16933459 Q2484388 Q1131173 Q671423 Q3277324 Q2701566 Q3281101 Q2534044 Q930071 Q3428553 Q547259 Q3936036 Q7164420 Q107761 Q19405 Q661693 Q17086555 Q3893167 Q1198096 Q76479 Q212145 Q821604 Q190765 Q3208216 Q18415 Q6126842 Q1373198 Q679918 Q1760278 Q1352428 Q597239 Q1775628 Q1431878 Q2066531 Q892039 Q1265869 Q1612412 Q1759875 Q1305104 Q1316253 Q5361071 Q16782 Q763144 Q273676 Q845252 Q3067642 Q15873488 Q195011 Q762927 Q15052351 Q574196 Q2712855 Q2268877 Q1306579 Q60792 Q3061599 Q309003 Q12102714 Q7573862 Q1162803 Q262173 Q7361466 Q185658 Q212123 Q4445949 Q277038 Q730765 Q2529482 Q7994598 Q240061 Q909239 Q649850 Q4189197 Q3226852 Q241811 Q714989 Q3062620 Q4666737 Q107226 Q323827 Q1199631 Q485836 Q2309964 Q192979 Q3960185 Q244115 Q41483 Q2616450 Q7995027 Q4121945 Q1918038 Q5826620 Q4500618 Q217220 Q510657 Q367748 Q960926 Q7820305 Q226773 Q108297 Q632328 Q945883 Q1877554 Q7372082 Q1339013 Q4745596 Q920225 Q688329 Q19363675 Q394978 Q1754755 Q1350521 Q1424099 Q1428124 Q18822293 Q617874 Q1199513 Q16259187 Q270988 Q1210832 Q7719656 Q512475 Q552036 Q1498454 Q638356 Q1130310 Q45988 Q181069 Q3791287 Q1092932 Q153677 Q1657565
(c(Q838948),P915,Q29)
action filter_type
action find_reverse
entity Q29
relation P915
type Q838948
[ANSWERS] were filmed at Spain
[{'concept': 'Q838948'}, 'P915', 'Q29']
SELECT DISTINCT ?w WHERE { ?w property:P915 resource:Q29 . ?w rdf:type ontology:Q838948 }
Brothers Tengo ganas de ti Lawrence of Arabia The Sheriff of Fractured Jaw Para Elisa Perfume: The Story of a Murderer Day of the Assassin Biutiful The Running Man Kevin & Perry Go Large Savage Grace Che Part 1: The Argentine Hunter's Prayer After Color's Notes The Happy Thieves The Dictator The Sun Also Rises The King of the Mountain Suddenly, Last Summer Navajo Joe Mindscape Sleep Tight Soldiers of Salamina The Trojan Women Robin and Marian Sidewalls Cannon for Cordoba The Texican Penny Princess You Only Live Twice The Ninth Gate Anything for Her Pyro... The Thing Without a Face Bread, Love and Andalusia The Wind and the Lion A Fistful of Dollars The World Is Not Enough Black Beauty 1492: Conquest of Paradise The Last Grenade Spirits of the Dead Jalisco canta en Sevilla La taglia è tua... l'uomo l'ammazzo io Knight and Day The Hit Chino Reds Villa Rides Shipwrecked Lost Command Bon Appétit Pandora and the Flying Dutchman Julius Caesar Valdez Is Coming Crack in the World Solomon and Sheba Eliminators Buried Sivaji Asterix at the Olympic Games The Machinist Zindagi Na Milegi Dobara Living Is Easy with Eyes Closed Pistol for a Hundred Coffins King of Kings Spanish Teen Rally Anthony Zimmer No Rest for the Wicked Semana santa A Pistol for Ringo Wheels on Meals The Counselor Conan the Barbarian Blackout Spartacus and the Ten Gladiators Ursus The Inbetweeners Movie Roma Indiana Jones and the Last Crusade Vicky Cristina Barcelona Honeymoon Academy The Impossible Blame It on Fidel Chimes at Midnight White Comanche Dead Men Don't Count North West Frontier Horror Express Moscow Zero Pieces Django Battle of Britain Extraterrestrial Abendland The Bourne Ultimatum Doctor Zhivago The Spanish Gardener La Femme et le Pantin Tetro Clash of the Titans She Killed in Ecstasy 55 Days at Peking The Good, the Bad and the Ugly Eloïse's Lover White Love House of Jericho Ma Mère Sex of Angels Di Di Hollywood Patton Duck, You Sucker! The Fall of the Roman Empire Garringo Tomorrowland Wrath of the Titans Spartacus Green Zone El Cid Mr. Arkadin Rowing with the Wind The Cold Light of Day Americano Seven Dollars on the Red Even Dwarfs Started Small Love at First Sight Agnosía Bolero The Devil's Backbone Live Flesh Flesh and Blood Our Lady of Sorrows The Hill Armour of God El Hijo de Hernández 800 Bullets The Adventures of Baron Munchausen The Boy Who Stole a Million Nicholas and Alexandra Sexy Beast Uncovered A Reason to Live, a Reason to Die The Skin I Live In Pancho Villa Star Wars Episode II: Attack of the Clones The Seven from Texas Circus World For a Few Dollars More Navy SEALs
Spartacus, The Bourne Ultimatum and Doctor Zhivago were filmed at Spain
Spartacus The Bourne Ultimatum Doctor Zhivago
action filter_type
action find_reverse
entity Spain
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Spain']
SELECT DISTINCT ?w WHERE { ?w property:filming_location resource:Spain . ?w rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q323827
P162
Q502895
USER
Who produced that work of art ?
(Q323827,P162,c(Q502895))
action filter_type
action find
entity Q323827
relation P162
type Q502895
['Q323827', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q323827 property:P162 ?n . ?n rdf:type ontology:Q502895 }
Doctor Zhivago
action filter_type
action find
entity Doctor Zhivago
relation producer
type common name
['Doctor Zhivago', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Doctor_Zhivago property:producer ?n . ?n rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q108297
SYSTEM
Did you mean Spartacus ?
Q108297 Q107226 Q323827
(Q108297,P162,c(Q502895)) (Q107226,P162,c(Q502895)) (Q323827,P162,c(Q502895))
[ANSWER]
['Q108297', 'P162', {'concept': 'Q502895'}] ['Q107226', 'P162', {'concept': 'Q502895'}] ['Q323827', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q323827 property:P162 ?n . ?n rdf:type ontology:Q502895 }
Spartacus The Bourne Ultimatum Doctor Zhivago
Did you mean Spartacus ?
Spartacus
['Spartacus', 'producer', {'concept': 'common name'}] ['The Bourne Ultimatum', 'producer', {'concept': 'common name'}] ['Doctor Zhivago', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Doctor_Zhivago property:producer ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Doctor Zhivago. Could you tell me the answer for that?
(Q323827,P162,c(Q502895))
Q323827
['Q323827', 'P162', {'concept': 'Q502895'}]
['Doctor Zhivago', 'producer', {'concept': 'common name'}]
[]
Q299419
SYSTEM
Carlo Ponti, Sr.
Q299419
(Q323827,P162,c(Q502895))
action filter_type
action find
entity Q323827
relation P162
type Q502895
[ANSWER] produced that work of art
['Q323827', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q323827 property:P162 ?n . ?n rdf:type ontology:Q502895 }
Carlo Ponti, Sr.
Carlo Ponti, Sr. produced that work of art
Carlo Ponti, Sr.
action filter_type
action find
entity Doctor Zhivago
relation producer
type common name
['Doctor Zhivago', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Doctor_Zhivago property:producer ?n . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories do that person belong to ?
(Q299419,P27,c(Q15617994))
action count
action filter_type
action find
entity Q299419
relation P27
type Q15617994
['Q299419', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Q299419 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Carlo Ponti, Sr.
relation country of citizenship
type designation for an administrative territorial entity
['Carlo Ponti, Sr.', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Carlo_Ponti,_Sr. property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q38
(Q299419,P27,c(Q15617994))
action count
action filter_type
action find
entity Q299419
relation P27
type Q15617994
[ANSWER]
['Q299419', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Q299419 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Italy
1
action count
action filter_type
action find
entity Carlo Ponti, Sr.
relation country of citizenship
type designation for an administrative territorial entity
['Carlo Ponti, Sr.', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Carlo_Ponti,_Sr. property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q937857 Q118382
P921
Q838948
USER
How many works of art are association football player or slavery in the United States a main subject of ?
(c(Q838948),P921,Q937857) (c(Q838948),P921,Q118382)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P921
type Q838948
action filter_type
action find_reverse
entity Q118382
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q937857'] [{'concept': 'Q838948'}, 'P921', 'Q118382']
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { ?d property:P921 resource:Q118382 . ?d rdf:type ontology:Q838948 } UNION { ?d property:P921 resource:Q937857 . ?d rdf:type ontology:Q838948 } }
association football player slavery in the United States
action count
action union
action filter_type
action find_reverse
entity association football player
relation main subject
type work of art
action filter_type
action find_reverse
entity slavery in the United States
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'association football player'] [{'concept': 'work of art'}, 'main subject', 'slavery in the United States']
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { ?d property:main_subject resource:slavery_in_the_United_States . ?d rdf:type ontology:work_of_art } UNION { ?d property:main_subject resource:association_football_player . ?d rdf:type ontology:work_of_art } }
[]
work of art
SYSTEM
26
Q7243810 Q309621 Q32433 Q745753 Q5309040 Q7418735 Q7831193 Q1141731 Q6694470 Q820452 Q7746755 Q2875 Q862317 Q5497675 Q7033842 Q669578 Q3549227 Q3023357 Q7765367 Q3057932 Q4660720 Q250954 Q7113516 Q472361 Q571032 Q3605118
(c(Q838948),P921,Q937857) (c(Q838948),P921,Q118382)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P921
type Q838948
action filter_type
action find_reverse
entity Q118382
relation P921
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P921', 'Q937857'] [{'concept': 'Q838948'}, 'P921', 'Q118382']
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { ?d property:P921 resource:Q118382 . ?d rdf:type ontology:Q838948 } UNION { ?d property:P921 resource:Q937857 . ?d rdf:type ontology:Q838948 } }
Prince Among Slaves The Mask of Zorro Lincoln Mandingo Drum Sankofa Traces of the Trade: A Story from the Deep North Manderlay Loyalties Uncle Tom's Cabin The Legend of Nigger Charley Gone with the Wind Glory Frederick Douglass and the White Negro Nightjohn Ride with the Devil Uncle Tom's Cabin 12 Years a Slave The Soul of Nigger Charley Slaves A Woman Called Moses Beloved Over the River...Life of Lydia Maria Child, Abolitionist for Freedom Amistad Django Unchained Goodbye Uncle Tom
26
action count
action union
action filter_type
action find_reverse
entity association football player
relation main subject
type work of art
action filter_type
action find_reverse
entity slavery in the United States
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'association football player'] [{'concept': 'work of art'}, 'main subject', 'slavery in the United States']
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { ?d property:main_subject resource:slavery_in_the_United_States . ?d rdf:type ontology:work_of_art } UNION { ?d property:main_subject resource:association_football_player . ?d rdf:type ontology:work_of_art } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q299419
P22
Q502895
USER
Who are the offspring of Carlo Ponti, Sr. ?
(c(Q502895),P22,Q299419)
action filter_type
action find_reverse
entity Q299419
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q299419']
SELECT DISTINCT ?i WHERE { ?i property:P22 resource:Q299419 . ?i rdf:type ontology:Q502895 }
Carlo Ponti, Sr.
action filter_type
action find_reverse
entity Carlo Ponti, Sr.
relation father
type common name
[{'concept': 'common name'}, 'father', 'Carlo Ponti, Sr.']
SELECT DISTINCT ?i WHERE { ?i property:father resource:Carlo_Ponti,_Sr. . ?i rdf:type ontology:common_name }
[]
common name
Q327436 Q22808135 Q1042396
SYSTEM
Edoardo Ponti, Guendalina Ponti, Carlo Ponti
Q327436 Q22808135 Q1042396
(c(Q502895),P22,Q299419)
action filter_type
action find_reverse
entity Q299419
relation P22
type Q502895
The offspring of Carlo Ponti , Sr. are [ANSWERS]
[{'concept': 'Q502895'}, 'P22', 'Q299419']
SELECT DISTINCT ?i WHERE { ?i property:P22 resource:Q299419 . ?i rdf:type ontology:Q502895 }
Edoardo Ponti Guendalina Ponti Carlo Ponti
The offspring of Carlo Ponti , Sr. are Edoardo Ponti, Guendalina Ponti and Carlo Ponti
Edoardo Ponti Guendalina Ponti Carlo Ponti
action filter_type
action find_reverse
entity Carlo Ponti, Sr.
relation father
type common name
[{'concept': 'common name'}, 'father', 'Carlo Ponti, Sr.']
SELECT DISTINCT ?i WHERE { ?i property:father resource:Carlo_Ponti,_Sr. . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q327436 Q22808135 Q1042396
P25
Q502895
USER
Which people were the mother of Edoardo Ponti, Guendalina Ponti and Carlo Ponti ?
(Q327436,P25,c(Q502895)) (Q22808135,P25,c(Q502895)) (Q1042396,P25,c(Q502895))
action union
action filter_type
action find
entity Q327436
relation P25
type Q502895
action filter_type
action find
entity Q22808135
relation P25
type Q502895
action filter_type
action find
entity Q1042396
relation P25
type Q502895
['Q327436', 'P25', {'concept': 'Q502895'}] ['Q22808135', 'P25', {'concept': 'Q502895'}] ['Q1042396', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { resource:Q22808135 property:P25 ?t . ?t rdf:type ontology:Q502895 } UNION { resource:Q327436 property:P25 ?t . ?t rdf:type ontology:Q502895 } }
Edoardo Ponti Guendalina Ponti Carlo Ponti
action union
action filter_type
action find
entity Edoardo Ponti
relation mother
type common name
action filter_type
action find
entity Guendalina Ponti
relation mother
type common name
action filter_type
action find
entity Carlo Ponti
relation mother
type common name
['Edoardo Ponti', 'mother', {'concept': 'common name'}] ['Guendalina Ponti', 'mother', {'concept': 'common name'}] ['Carlo Ponti', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { resource:Guendalina_Ponti property:mother ?t . ?t rdf:type ontology:common_name } UNION { resource:Edoardo_Ponti property:mother ?t . ?t rdf:type ontology:common_name } }
[]
common name
Q43252 Q22808138 Q43252
SYSTEM
Giuliana Fiastri for 2nd, Sophia Loren for 1st, 3rd
Q43252 Q22808138 Q43252
(Q327436,P25,c(Q502895)) (Q22808135,P25,c(Q502895)) (Q1042396,P25,c(Q502895))
action union
action filter_type
action find
entity Q327436
relation P25
type Q502895
action filter_type
action find
entity Q22808135
relation P25
type Q502895
action filter_type
action find
entity Q1042396
relation P25
type Q502895
[ANSWERS]
['Q327436', 'P25', {'concept': 'Q502895'}] ['Q22808135', 'P25', {'concept': 'Q502895'}] ['Q1042396', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { resource:Q22808135 property:P25 ?t . ?t rdf:type ontology:Q502895 } UNION { resource:Q327436 property:P25 ?t . ?t rdf:type ontology:Q502895 } }
Sophia Loren Giuliana Fiastri Sophia Loren
Sophia Loren, Giuliana Fiastri and Sophia Loren were the mother of Edoardo Ponti, Guendalina Ponti and Carlo Ponti
Sophia Loren Giuliana Fiastri Sophia Loren
action union
action filter_type
action find
entity Edoardo Ponti
relation mother
type common name
action filter_type
action find
entity Guendalina Ponti
relation mother
type common name
action filter_type
action find
entity Carlo Ponti
relation mother
type common name
['Edoardo Ponti', 'mother', {'concept': 'common name'}] ['Guendalina Ponti', 'mother', {'concept': 'common name'}] ['Carlo Ponti', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { resource:Guendalina_Ponti property:mother ?t . ?t rdf:type ontology:common_name } UNION { resource:Edoardo_Ponti property:mother ?t . ?t rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q43252
P26
Q502895
USER
Which person is married to Sophia Loren ?
(Q43252,P26,c(Q502895))
action filter_type
action find
entity Q43252
relation P26
type Q502895
['Q43252', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q43252 property:P26 ?n . ?n rdf:type ontology:Q502895 }
Sophia Loren
action filter_type
action find
entity Sophia Loren
relation spouse
type common name
['Sophia Loren', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Sophia_Loren property:spouse ?n . ?n rdf:type ontology:common_name }
[]
common name
Q299419
SYSTEM
Carlo Ponti, Sr.
Q299419
(Q43252,P26,c(Q502895))
action filter_type
action find
entity Q43252
relation P26
type Q502895
[ANSWER] is married to Sophia Loren
['Q43252', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q43252 property:P26 ?n . ?n rdf:type ontology:Q502895 }
Carlo Ponti, Sr.
Carlo Ponti, Sr. is married to Sophia Loren
Carlo Ponti, Sr.
action filter_type
action find
entity Sophia Loren
relation spouse
type common name
['Sophia Loren', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Sophia_Loren property:spouse ?n . ?n rdf:type ontology:common_name }
[]