Simple Question (Direct)
Simple Question
Q3772068
P161
Q502895
USER
Which people starred in Anni struggenti ?
(Q3772068,P161,c(Q502895))
action filter_type
action find
entity Q3772068
relation P161
type Q502895
['Q3772068', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q3772068 property:P161 ?c }
Anni struggenti
action filter_type
action find
entity Anni struggenti
relation cast member
type common name
['Anni struggenti', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Anni_struggenti property:cast_member ?c }
[]
common name
Q3737852 Q555379 Q3667510
SYSTEM
Fabio Traversa, Gabriele Ferzetti, Chiara Salerno
Q3737852 Q555379 Q3667510
(Q3772068,P161,c(Q502895))
action filter_type
action find
entity Q3772068
relation P161
type Q502895
[ANSWERS] starred in Anni struggenti
['Q3772068', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q3772068 property:P161 ?c }
Fabio Traversa Gabriele Ferzetti Chiara Salerno
Fabio Traversa, Gabriele Ferzetti and Chiara Salerno starred in Anni struggenti
Fabio Traversa Gabriele Ferzetti Chiara Salerno
action filter_type
action find
entity Anni struggenti
relation cast member
type common name
['Anni struggenti', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Anni_struggenti property:cast_member ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3772068
P57
Q502895
USER
Who directed that work of art ?
(Q3737852,P57,c(Q502895)) (Q555379,P57,c(Q502895)) (Q3667510,P57,c(Q502895))
action filter_type
action find
entity Q3772068
relation P57
type Q502895
['Q3737852', 'P57', {'concept': 'Q502895'}] ['Q555379', 'P57', {'concept': 'Q502895'}] ['Q3667510', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q3772068 property:P57 ?n . ?n rdf:type ontology:Q502895 }
Anni struggenti
action filter_type
action find
entity Anni struggenti
relation director
type common name
['Fabio Traversa', 'director', {'concept': 'common name'}] ['Gabriele Ferzetti', 'director', {'concept': 'common name'}] ['Chiara Salerno', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Anni_struggenti property:director ?n . ?n rdf:type ontology:common_name }
[]
common name
Q4015545
SYSTEM
Vittorio Sindoni
Q4015545
(Q3737852,P57,c(Q502895)) (Q555379,P57,c(Q502895)) (Q3667510,P57,c(Q502895))
action filter_type
action find
entity Q3772068
relation P57
type Q502895
[ANSWER] directed that work of art
['Q3737852', 'P57', {'concept': 'Q502895'}] ['Q555379', 'P57', {'concept': 'Q502895'}] ['Q3667510', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q3772068 property:P57 ?n . ?n rdf:type ontology:Q502895 }
Vittorio Sindoni
Vittorio Sindoni directed that work of art
Vittorio Sindoni
action filter_type
action find
entity Anni struggenti
relation director
type common name
['Fabio Traversa', 'director', {'concept': 'common name'}] ['Gabriele Ferzetti', 'director', {'concept': 'common name'}] ['Chiara Salerno', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Anni_struggenti property:director ?n . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q555379
P106
Q12737077 Q28640
USER
How many occupations and professions are the professions of Gabriele Ferzetti ?
(Q555379,P106,c(Q12737077)) (Q555379,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q555379
relation P106
type Q12737077
action filter_type
action find
entity Q555379
relation P106
type Q28640
['Q555379', 'P106', {'concept': 'Q12737077'}] ['Q555379', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { ?m rdf:type ontology:Q12737077 . resource:Q555379 property:P106 ?m } UNION { ?m rdf:type ontology:Q28640 . resource:Q555379 property:P106 ?m } }
Gabriele Ferzetti
action count
action union
action filter_type
action find
entity Gabriele Ferzetti
relation occupation
type occupation
action filter_type
action find
entity Gabriele Ferzetti
relation occupation
type profession
['Gabriele Ferzetti', 'occupation', {'concept': 'occupation'}] ['Gabriele Ferzetti', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { ?m rdf:type ontology:occupation . resource:Gabriele_Ferzetti property:occupation ?m } UNION { ?m rdf:type ontology:profession . resource:Gabriele_Ferzetti property:occupation ?m } }
[]
occupation profession
SYSTEM
2 occupations and 1 professions
Q10800557 Q33999 Q2259451
(Q555379,P106,c(Q12737077)) (Q555379,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q555379
relation P106
type Q12737077
action filter_type
action find
entity Q555379
relation P106
type Q28640
[ANSWER]
['Q555379', 'P106', {'concept': 'Q12737077'}] ['Q555379', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { ?m rdf:type ontology:Q12737077 . resource:Q555379 property:P106 ?m } UNION { ?m rdf:type ontology:Q28640 . resource:Q555379 property:P106 ?m } }
film actor actor stage actor
2 occupations and 1 professions
action count
action union
action filter_type
action find
entity Gabriele Ferzetti
relation occupation
type occupation
action filter_type
action find
entity Gabriele Ferzetti
relation occupation
type profession
['Gabriele Ferzetti', 'occupation', {'concept': 'occupation'}] ['Gabriele Ferzetti', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { ?m rdf:type ontology:occupation . resource:Gabriele_Ferzetti property:occupation ?m } UNION { ?m rdf:type ontology:profession . resource:Gabriele_Ferzetti property:occupation ?m } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1143157
P1441
Q15416 Q234460 Q502895
USER
Which people are present in less number of television programs or texts than Jair ?
(c(Q502895),P1441,c(Q15416)|c(Q234460))
action less
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action count
action filter_multi_types
action find
entity Q1143157
relation P1441
type Q15416
type Q234460
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) ?k WHERE { { ?k property:P1441 ?d . ?k rdf:type ontology:Q502895 . ?d rdf:type ontology:Q15416 } UNION { ?k property:P1441 ?d . ?k rdf:type ontology:Q502895 . ?d rdf:type ontology:Q234460 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { resource:Q1143157 property:P1441 ?n . { { ?n rdf:type ontology:Q15416 } UNION { ?n rdf:type ontology:Q234460 } } } } . FILTER ( ?a < ?p ) }
Jair
action less
action union
action find_tuple_counts
relation present in work
type common name
type television program
action find_tuple_counts
relation present in work
type common name
type text
action count
action filter_multi_types
action find
entity Jair
relation present in work
type television program
type text
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'text'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) ?k WHERE { { ?k property:present_in_work ?d . ?k rdf:type ontology:common_name . ?d rdf:type ontology:television_program } UNION { ?k property:present_in_work ?d . ?k rdf:type ontology:common_name . ?d rdf:type ontology:text } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { resource:Jair property:present_in_work ?n . { { ?n rdf:type ontology:television_program } UNION { ?n rdf:type ontology:text } } } } . FILTER ( ?a < ?p ) }
[]
television program text common name
Q17457 Q110436 Q270438
SYSTEM
Donald Knuth, Cory Doctorow, Charles of Valois
Q603233 Q660359 Q2447493 Q80048 Q529984 Q23885172 Q4430779 Q249381 Q232525 Q240258 Q24579400 Q7307192 Q131195 Q2426699 Q24624067 Q2574151 Q160116 Q785349 Q2052042 Q318912 Q3858588 Q4154984 Q4006447 Q363623 Q3343834 Q2451581 Q2046277 Q715713 Q24577230 Q494455 Q673959 Q185801 Q6239779 Q34428 Q2033697 Q24622402 Q20656752 Q311556 Q294192 Q19975705 Q560559 Q25885222 Q1867479 Q134646 Q879668 Q2170784 Q181538 Q24623408 Q8413 Q2600794 Q2282686 Q459606 Q437417 Q3778878 Q3774081 Q1348720 Q24624893 Q1396131 Q3591188 Q716237 Q2264125 Q608841 Q2124082 Q24625686 Q2137929 Q315276 Q3148218 Q24577318 Q515828 Q24625326 Q25858050 Q26858752 Q923021 Q24633210 Q715547 Q3745274 Q3867479 Q1446 Q1641601 Q19348839 Q2073479 Q2723049 Q1093885 Q1346246 Q2578955 Q3010053 Q1851709 Q164889 Q24625073 Q27621044 Q1380878 Q16879711 Q24623579 Q366070 Q1377025 Q2276030 Q270438 Q2711883 Q886399 Q1341779 Q326585 Q972487 Q313395 Q2304442 Q8581 Q2651263 Q24577238 Q209793 Q24632700 Q1808889 Q587893 Q24626363 Q2685920 Q256076 Q24633126 Q1091513 Q3658171 Q2601106 Q4804479 Q26721185 Q2292243 Q2448083 Q633681 Q24623790 Q2296791 Q200947 Q24083251 Q1947936 Q211396 Q25923184 Q2075711 Q312311 Q2361344 Q3275910 Q169329 Q2477603 Q110436 Q23906252 Q2519772 Q879088 Q302322 Q183089 Q7734 Q3761044 Q2168182 Q878882 Q76721 Q26858995 Q2487300 Q283466 Q9441 Q372783 Q16006746 Q17457 Q786748 Q24626010 Q26858919 Q2047062 Q1227361
(c(Q502895),P1441,c(Q15416)|c(Q234460))
action less
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action count
action filter_multi_types
action find
entity Q1143157
relation P1441
type Q15416
type Q234460
[ANSWERS] are present in less number of television programs or texts than Jair
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) ?k WHERE { { ?k property:P1441 ?d . ?k rdf:type ontology:Q502895 . ?d rdf:type ontology:Q15416 } UNION { ?k property:P1441 ?d . ?k rdf:type ontology:Q502895 . ?d rdf:type ontology:Q234460 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { resource:Q1143157 property:P1441 ?n . { { ?n rdf:type ontology:Q15416 } UNION { ?n rdf:type ontology:Q234460 } } } } . FILTER ( ?a < ?p ) }
Julius Asclepiodotus Cecco Angiolieri Ferrex Al Capone Eric Anundsson Victor Petit Immanuel Markandeya Theodelinda Olof Björnsson Jebidiah Farnsworth Refil Constantius Chlorus Dyfnwal Moelmud Bea Hansen Sisillius III Alexander III Cangrande I della Scala Mempricius Eric the Victorious Mino da San Quirico Kai Darab Urianus Cassivellaunus Norman Winther Cordelia of Britain Parikshit Salvatore Maranzano Harriet Mutesi Orville Wright Leil Mikhail Kutuzov John Hooper Philip Sisillius I Frank Fauteux Bernard C. Webber Allectus Guy of Lusignan Daniel Webster Cluff Constans II James Harcourt Jago of Britain Boniface VIII Björn Ironside Anund Uppsale Rudolf Abel Eldon Hanan Constantine the Great Erik Björnsson Locrinus Ambrosius Aurelianus Cunobeline Guglielmo Borsiere Gracianus Municeps Guy de Montfort, Count of Nola Raymond Sybert Wilbur Wright Erik Refilsson Song Jiang Bladud Arvirargus Azzo VIII d'Este, Marquis of Ferrara Andy Fitzgerald Gurgustius Agilulf Ignacy Przybyszewski Sara Katende Tasciovanus Miriam Webber Helen Kingsleigh Sarah Katende Gorboduc George "Tiny" Myers Mandubracius Filippo Minutolo Musciatto Franzesi Caracalla Tattenai Salammbô Shaunaka Mayasura Hathi Johnny Ringo Porrex I Céleste de Chateaubriand Rud Hud Hudibras Manfred, King of Sicily Richard Livesey Davy Brown Vortimer Sage Animandaya Wallace Quirey George William Russell Bharata Archmail Charles of Valois Gurguit Barbtruc Maelgwn Gwynedd Kai Lohrasp Vortigern Buonamico Buffalmacco Authari Coel Hen Saladin Trahern Robert Katende Constantine III John Stello Kimarcus Sisillius II Mel Gouthro Bledudo Cunedagius Donald Bangs Son of Gorbonianus Phiona Mutesi Rukmi Ash Vasudevan Lena Gogan Rivallo Brutus Greenshield Björn Eriksson D.A. Brown Molly Bloom Ahmad ibn Fadlan Stan the Man Beldgabred Magnus Maximus Elizabeth Ham Andragius Peter III of Aragon Durvasa Anne Françoise Elisabeth Lange Conrad of Montferrat Vaisampayana Cory Doctorow Caf' Francisco Sawyl Penuchel Björn at Haugi Calandrino Publius Septimius Geta Joshua Geri Spini Ebraucus Togodumnus Godfrey of Bouillon Aloysius Kyazze Cunedda Roger of Lauria Gautama Buddha Adrian Cronauer James B. Donovan Donald Knuth Pedro González de Mendoza Ervin Maske Hope Katende Marius of Britain John of Procida
Donald Knuth, Cory Doctorow and Charles of Valois are present in less number of television programs or texts than Jair
Donald Knuth Cory Doctorow Charles of Valois
action less
action union
action find_tuple_counts
relation present in work
type common name
type television program
action find_tuple_counts
relation present in work
type common name
type text
action count
action filter_multi_types
action find
entity Jair
relation present in work
type television program
type text
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'text'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) ?k WHERE { { ?k property:present_in_work ?d . ?k rdf:type ontology:common_name . ?d rdf:type ontology:television_program } UNION { ?k property:present_in_work ?d . ?k rdf:type ontology:common_name . ?d rdf:type ontology:text } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { resource:Jair property:present_in_work ?n . { { ?n rdf:type ontology:television_program } UNION { ?n rdf:type ontology:text } } } } . FILTER ( ?a < ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q313216
P1441
Q15416 Q234460 Q502895
USER
And how about Uzziah?
(c(Q502895),P1441,c(Q15416)|c(Q234460))
action less
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action count
action filter_multi_types
action find
entity Q313216
relation P1441
type Q15416
type Q234460
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) ?i WHERE { ?w rdf:type ?t . VALUES ( ?t ) { ( ontology:Q15416 ) ( ontology:Q234460 ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:Q313216 property:P1441 ?m . { VALUES ( ?j ) { ( ontology:Q15416 ) ( ontology:Q234460 ) } . ?m rdf:type ?j } } } . FILTER ( ?z < ?g ) }
Uzziah
action less
action union
action find_tuple_counts
relation present in work
type common name
type television program
action find_tuple_counts
relation present in work
type common name
type text
action count
action filter_multi_types
action find
entity Uzziah
relation present in work
type television program
type text
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'text'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) ?i WHERE { ?w rdf:type ?t . VALUES ( ?t ) { ( ontology:television_program ) ( ontology:text ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:Uzziah property:present_in_work ?m . { VALUES ( ?j ) { ( ontology:television_program ) ( ontology:text ) } . ?m rdf:type ?j } } } . FILTER ( ?z < ?g ) }
[]
television program text common name
Q17457 Q110436 Q270438
SYSTEM
Donald Knuth, Cory Doctorow, Charles of Valois
Q603233 Q660359 Q2447493 Q80048 Q529984 Q23885172 Q4430779 Q249381 Q232525 Q240258 Q24579400 Q7307192 Q131195 Q2426699 Q24624067 Q2574151 Q160116 Q785349 Q2052042 Q318912 Q3858588 Q4154984 Q4006447 Q363623 Q3343834 Q2451581 Q2046277 Q715713 Q24577230 Q494455 Q673959 Q185801 Q6239779 Q34428 Q2033697 Q24622402 Q20656752 Q311556 Q294192 Q19975705 Q560559 Q25885222 Q1867479 Q134646 Q879668 Q2170784 Q181538 Q24623408 Q8413 Q2600794 Q2282686 Q459606 Q437417 Q3778878 Q3774081 Q1348720 Q24624893 Q1396131 Q3591188 Q716237 Q2264125 Q608841 Q2124082 Q24625686 Q2137929 Q315276 Q3148218 Q24577318 Q515828 Q24625326 Q25858050 Q26858752 Q923021 Q24633210 Q715547 Q3745274 Q3867479 Q1446 Q1641601 Q19348839 Q2073479 Q2723049 Q1093885 Q1346246 Q2578955 Q3010053 Q1851709 Q164889 Q24625073 Q27621044 Q1380878 Q16879711 Q24623579 Q366070 Q1377025 Q2276030 Q270438 Q2711883 Q886399 Q1341779 Q326585 Q972487 Q313395 Q2304442 Q8581 Q2651263 Q24577238 Q209793 Q24632700 Q1808889 Q587893 Q24626363 Q2685920 Q256076 Q24633126 Q1091513 Q3658171 Q2601106 Q4804479 Q26721185 Q2292243 Q2448083 Q633681 Q24623790 Q2296791 Q200947 Q24083251 Q1947936 Q211396 Q25923184 Q2075711 Q312311 Q2361344 Q3275910 Q169329 Q2477603 Q110436 Q23906252 Q2519772 Q879088 Q302322 Q183089 Q7734 Q3761044 Q2168182 Q878882 Q76721 Q26858995 Q2487300 Q283466 Q9441 Q372783 Q16006746 Q17457 Q786748 Q24626010 Q26858919 Q2047062 Q1227361
(c(Q502895),P1441,c(Q15416)|c(Q234460))
action less
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action count
action filter_multi_types
action find
entity Q313216
relation P1441
type Q15416
type Q234460
[ANSWERS]
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) ?i WHERE { ?w rdf:type ?t . VALUES ( ?t ) { ( ontology:Q15416 ) ( ontology:Q234460 ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:Q313216 property:P1441 ?m . { VALUES ( ?j ) { ( ontology:Q15416 ) ( ontology:Q234460 ) } . ?m rdf:type ?j } } } . FILTER ( ?z < ?g ) }
Julius Asclepiodotus Cecco Angiolieri Ferrex Al Capone Eric Anundsson Victor Petit Immanuel Markandeya Theodelinda Olof Björnsson Jebidiah Farnsworth Refil Constantius Chlorus Dyfnwal Moelmud Bea Hansen Sisillius III Alexander III Cangrande I della Scala Mempricius Eric the Victorious Mino da San Quirico Kai Darab Urianus Cassivellaunus Norman Winther Cordelia of Britain Parikshit Salvatore Maranzano Harriet Mutesi Orville Wright Leil Mikhail Kutuzov John Hooper Philip Sisillius I Frank Fauteux Bernard C. Webber Allectus Guy of Lusignan Daniel Webster Cluff Constans II James Harcourt Jago of Britain Boniface VIII Björn Ironside Anund Uppsale Rudolf Abel Eldon Hanan Constantine the Great Erik Björnsson Locrinus Ambrosius Aurelianus Cunobeline Guglielmo Borsiere Gracianus Municeps Guy de Montfort, Count of Nola Raymond Sybert Wilbur Wright Erik Refilsson Song Jiang Bladud Arvirargus Azzo VIII d'Este, Marquis of Ferrara Andy Fitzgerald Gurgustius Agilulf Ignacy Przybyszewski Sara Katende Tasciovanus Miriam Webber Helen Kingsleigh Sarah Katende Gorboduc George "Tiny" Myers Mandubracius Filippo Minutolo Musciatto Franzesi Caracalla Tattenai Salammbô Shaunaka Mayasura Hathi Johnny Ringo Porrex I Céleste de Chateaubriand Rud Hud Hudibras Manfred, King of Sicily Richard Livesey Davy Brown Vortimer Sage Animandaya Wallace Quirey George William Russell Bharata Archmail Charles of Valois Gurguit Barbtruc Maelgwn Gwynedd Kai Lohrasp Vortigern Buonamico Buffalmacco Authari Coel Hen Saladin Trahern Robert Katende Constantine III John Stello Kimarcus Sisillius II Mel Gouthro Bledudo Cunedagius Donald Bangs Son of Gorbonianus Phiona Mutesi Rukmi Ash Vasudevan Lena Gogan Rivallo Brutus Greenshield Björn Eriksson D.A. Brown Molly Bloom Ahmad ibn Fadlan Stan the Man Beldgabred Magnus Maximus Elizabeth Ham Andragius Peter III of Aragon Durvasa Anne Françoise Elisabeth Lange Conrad of Montferrat Vaisampayana Cory Doctorow Caf' Francisco Sawyl Penuchel Björn at Haugi Calandrino Publius Septimius Geta Joshua Geri Spini Ebraucus Togodumnus Godfrey of Bouillon Aloysius Kyazze Cunedda Roger of Lauria Gautama Buddha Adrian Cronauer James B. Donovan Donald Knuth Pedro González de Mendoza Ervin Maske Hope Katende Marius of Britain John of Procida
Donald Knuth Cory Doctorow Charles of Valois
action less
action union
action find_tuple_counts
relation present in work
type common name
type television program
action find_tuple_counts
relation present in work
type common name
type text
action count
action filter_multi_types
action find
entity Uzziah
relation present in work
type television program
type text
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'text'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) ?i WHERE { ?w rdf:type ?t . VALUES ( ?t ) { ( ontology:television_program ) ( ontology:text ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:Uzziah property:present_in_work ?m . { VALUES ( ?j ) { ( ontology:television_program ) ( ontology:text ) } . ?m rdf:type ?j } } } . FILTER ( ?z < ?g ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P3279
Q502895 Q500834 Q18608583
USER
How many people were recognized as the statistical leader of atmost 1 tournaments or recurring sporting events ?
(c(Q500834)|c(Q18608583),P3279,c(Q502895))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q500834
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
value 1
[[{'concept': 'Q500834'}, {'concept': 'Q18608583'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) ?v WHERE { { ?o property:P3279 ?v . ?v rdf:type ontology:Q502895 . ?o rdf:type ontology:Q500834 } UNION { ?o property:P3279 ?v . ?v rdf:type ontology:Q502895 . ?o rdf:type ontology:Q18608583 } } GROUP BY ?v } . FILTER ( ?x <= 1 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type tournament
action find_reverse_tuple_counts
relation statistical leader
type common name
type recurring sporting event
value 1
[[{'concept': 'tournament'}, {'concept': 'recurring sporting event'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) ?v WHERE { { ?o property:statistical_leader ?v . ?v rdf:type ontology:common_name . ?o rdf:type ontology:tournament } UNION { ?o property:statistical_leader ?v . ?v rdf:type ontology:common_name . ?o rdf:type ontology:recurring_sporting_event } } GROUP BY ?v } . FILTER ( ?x <= 1 ) }
[]
common name tournament recurring sporting event
SYSTEM
354
Q348032 Q568295 Q4153527 Q27187406 Q4723826 Q3705891 Q1254600 Q431455 Q57079 Q17403110 Q352110 Q316183 Q1638747 Q1791161 Q44470 Q554889 Q25369 Q455540 Q456766 Q357096 Q978689 Q11691650 Q644091 Q1363974 Q498257 Q17264815 Q3802207 Q1033050 Q36159 Q27187226 Q26132520 Q368561 Q273561 Q370068 Q1584802 Q4973709 Q3595275 Q4893969 Q16232325 Q310519 Q677546 Q822531 Q7332071 Q1032995 Q3855901 Q1635555 Q952921 Q10515951 Q2345884 Q516765 Q1572946 Q314185 Q8053501 Q16228417 Q16198360 Q277780 Q366109 Q1617436 Q901437 Q27187398 Q317223 Q129041 Q58335 Q1237848 Q2489833 Q2609359 Q375574 Q309731 Q3814247 Q3814712 Q352159 Q61219 Q3930044 Q360219 Q6451152 Q18749100 Q555488 Q1628301 Q3703756 Q27187302 Q3807995 Q7356016 Q18957309 Q16841652 Q6322012 Q950564 Q2211310 Q596100 Q1758586 Q7606648 Q12643739 Q7322663 Q18206776 Q27187275 Q3731471 Q20713339 Q721076 Q26838731 Q16563047 Q1560424 Q664405 Q434824 Q455970 Q60417 Q1091369 Q3846678 Q27510015 Q466385 Q311533 Q224535 Q460507 Q717344 Q4018600 Q739699 Q732825 Q190094 Q27518724 Q44815 Q1337310 Q1638755 Q3325479 Q2526170 Q44464 Q6388861 Q2718535 Q3848178 Q683030 Q3809921 Q437241 Q2679406 Q3930387 Q41421 Q3317928 Q5086674 Q27187336 Q2449620 Q15069755 Q505800 Q16229571 Q1634785 Q372859 Q533350 Q3976459 Q1640839 Q201885 Q3882086 Q11889550 Q14470242 Q47470 Q3857382 Q1353620 Q186478 Q11561907 Q7131158 Q7130157 Q3787321 Q1797248 Q152871 Q703224 Q312651 Q440121 Q2451584 Q3123694 Q27187381 Q371067 Q440382 Q291345 Q27187388 Q775971 Q2356899 Q1629949 Q3870710 Q517350 Q605561 Q2600792 Q1508678 Q2699075 Q20671499 Q504835 Q1123222 Q316261 Q935769 Q19829005 Q80471 Q27518101 Q2336113 Q1899299 Q1980759 Q2333206 Q444118 Q3811117 Q24678886 Q354774 Q2468364 Q1378121 Q3830637 Q458584 Q18706436 Q8002848 Q12643733 Q3751831 Q607383 Q3827157 Q3829239 Q3508948 Q926325 Q196185 Q2309134 Q465968 Q16227000 Q1246116 Q7192274 Q616572 Q169452 Q169999 Q3620463 Q5238520 Q703757 Q18398239 Q209368 Q1179395 Q62162 Q160363 Q1691427 Q6832426 Q2565247 Q4027073 Q3719980 Q27187370 Q3616183 Q553232 Q2897880 Q1266392 Q2077350 Q284176 Q18630884 Q1763902 Q2910958 Q3192666 Q24088775 Q16209548 Q21932226 Q27187326 Q3180283 Q27187319 Q366559 Q702406 Q58590 Q18352226 Q3342371 Q27187254 Q21259159 Q3806182 Q7666079 Q4801743 Q202295 Q310541 Q2423715 Q20873438 Q29545 Q26257453 Q451780 Q371193 Q3830797 Q2021449 Q4965612 Q2714829 Q5170529 Q1634199 Q493027 Q24002 Q5262323 Q2466594 Q1435883 Q1913679 Q3699232 Q1100455 Q27187285 Q3876996 Q977135 Q1071728 Q182455 Q3476711 Q380018 Q2408361 Q6289235 Q376173 Q16233299 Q18417889 Q511509 Q1364009 Q288575 Q16209606 Q4714896 Q19577360 Q726234 Q179051 Q27187350 Q82004 Q379603 Q3856209 Q2419943 Q5170460 Q2409213 Q433392 Q3788234 Q380015 Q343341 Q270653 Q510074 Q16228471 Q441283 Q31683 Q628060 Q311195 Q2310881 Q20744974 Q542563 Q351862 Q718794 Q3563317 Q977666 Q741842 Q450869 Q7539568 Q521771 Q360993 Q14470768 Q6547747 Q3561200 Q3956838 Q14469655 Q3961216 Q927966 Q939343 Q211876 Q43744 Q2459470 Q583904 Q2560815 Q2309972 Q313913 Q166336 Q459258 Q2602217 Q2640666 Q485817 Q306872 Q152107 Q6438385 Q517722 Q16228365 Q965738 Q5259012
(c(Q500834)|c(Q18608583),P3279,c(Q502895))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q500834
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
value 1
[ANSWER]
[[{'concept': 'Q500834'}, {'concept': 'Q18608583'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) ?v WHERE { { ?o property:P3279 ?v . ?v rdf:type ontology:Q502895 . ?o rdf:type ontology:Q500834 } UNION { ?o property:P3279 ?v . ?v rdf:type ontology:Q502895 . ?o rdf:type ontology:Q18608583 } } GROUP BY ?v } . FILTER ( ?x <= 1 ) }
Šarūnas Marčiulionis Liz Cambage Ana Dabović Nigel McNeal Alfredo Ott Derrick Low Dragan Labović Sergej Barbarez Jürgen Klinsmann Mack Tuck George Gervin Pete Maravich Trey Johnson Hortência Marcari Uwe Seeler Bo McCalebb Kobe Bryant Esteban Solari Paul Arizin Josh Childress Freddy Crispina Correia Michael Preetz Rawle Marshall Lothar Emmerich Alhaji Mohammed Isaac Fontaine Matt Lojeski LeBron James Michalis Shialis Omar Krayem Bob Pettit Anne-Marie Colchen Branko Milisavljević Keydren Clark Shin Dong-pa Geethu Anna Jose Bernardo Vasconcelos Marco Tagbajumi Ulf Kirsten Heiko Herrlich Bernard King Ricky Franklin Ramel Curry Mfon Udoka Lars Hansen Patrick Mills Jorge Filipe Monteiro Siniša Gogić Andre Alves Jørn Andersen George Mikan Yiannos Ioannou Jordan McRae Matt Bauscher Peja Stojaković Mario Basler Shavlik Randolph Damon Williams Tasos Zouvanis Fernando Cavenaghi Carmelo Anthony Leandro Barbosa Mickaël Poté Cal Bruton Sean May Darren Phillip Márcio Amoroso Corey Fisher Kenyan Weaks Stephen Curry Fredi Bobic Randy Culpepper Łukasz Sosin Kyle Fogg James Miller Álvaro Salvadores Claude Gregory Davin White Charalambos Papadopoulos Jerome Dyson Rocky Smith Ángela Salvadores Jabari Brown Jānis Kaufmanis José Filipe Correia Semedo Gastón Sangoy Troy DeVries Spas Dzhevizov Stefon Jackson Toni Prostran Ricardo Guillén Nirra Fields Kostakis Pieridis Eric Devendorf Evaldas Žabas Alberto Herreros Darryl Bryant Heino Veskila Joe Arlauckas József Dzurják Rick Barry Amaya Valdemoro Dieter Müller Aleksandar Ćapin Marcus Douthit Antri Violari Rainer Rauffmann Dominique Wilkins Bobby Dixon Predrag Danilović Bojan Bogdanović Wayne Hightower Alex English Charles Smith Allen Iverson Marilena Georgiou Élber Giovane Emiliano Rodríguez Miljan Goljović Mouhammad Faye Dario Šarić Rudi Völler Kendal Pinder Milan Gurović Marino Baždarić Roland Wohlfarth Jonathan Gibson Stefan Kuntz Rūdolfs Jurciņš Rasheim Wright Michael Jordan Modibo Niakate Charron Fisher Andros Savva Jozef Kožlej Danny Gibson Thomas Christiansen Darius Theus Donell Taylor Adrian Dantley Darius Washington, Jr. Suad Beširević Rick Hughes Theofanis Gekas Omar Quintero Quinnel Brown Lamont Jones Uwe Rahn Michael Efevberha Neil Johnston Luca Toni Ramu Tokashiki Panikos Krystallis Panayiotis Xiourouppas Hristo Zahariev Oscar Schmidt Karl-Heinz Rummenigge Thomas Allofs Rudy Fernández Dave Bing Pete Mickeal Géraldine Robert Lenos Kittos Carlton Myers Evan Turner DeLisha Milton-Jones Sylvester Vernon Evanthia Maltsi Derrick Obasohan Blake Ahearn Nate Johnson Tyler Hansbrough Jerel McNeal Carl English George Yardley Justin Dentmon Saša Zagorac Andrew Gaze Laura Rus Linas Kleiza Oded Kattash Yannick Franke Miroslav Klose Maria Daniella Johansson Kees Akerboom, Sr. Marios Neophytou Todor Stoykov Dejan Milojević Michalis Konstantinou Julie Nykiel Jan Barbarič Marek Mintál Margo Dydek Keith Langford Andrea Borrell Gregor Fučka Robert Arnold Will Hanley Toni Bizaca Frank Hassell Marc Salyers Larry McNeill Leandro García Morales Anthony Grundy Charlie Bell Russell Westbrook Lee Nailon Ann Wauters Melvin Ejim Doron Jamchi Pierre Jackson Endéné Miyem Shaquille O'Neal Klaus Fischer Antwain Barbour David Pereira da Costa Martin Max Brandis Raley-Ross Raško Katić De'Teri Mayes Fritz Walter Aílton Gonçalves da Silva Joe Fulks Michael Madanly Miljan Mrdaković Darnell Hinson Edward Jurkiewicz Panikos Hatziloizou Andreas Stylianou Bob McAdoo Marcus Hatten Alphonso Ford Radhouane Slimane Michael Scott Terran Petteway Jeff Xavier Boris Gorenc Kani Kouyaté Antonia Edmondson Jason Cadee Eric Chatfield Lakis Theodorou Dionte Christmas Kostas Vasiliades Horst Hrubesch Hannes Löhr Yao Ming Isabela Ramona Nneka Ogwumike Panikos Papadopoulos Javier Duren Jaime Lloreda Sérgio Luis Gardino da Silva Arturo Guerrero Tracy Mcmi Juan Carlos Navarro Jacques Perrier Quinn McDowell Kevin Durant Kostas Tsiges Nate Archibald José Juan Barea Leroy Edwards Yuko Oga Brian Wethers Khalid El-Amin Corin Henry Dontae' Jones Andray Blatche Andy Panko Derek Rucker Joeano Marcelo Machado Max Zaslofsky Livio Franceschini Iva Perovanović Panikos Efthymiades Nikos Pappas Horace Jenkins József Kiprich Wilt Chamberlain Sean Colson Jonas Valančiūnas Zdravko Radulović Josh Pace Chris Copeland Sean Kilpatrick Federico Mussini Andrija Žižić Tadija Dragićević Érika de Souza Will Clyburn Aleksandar Vezenkov Džanan Musa Chris Woods Kareem Abdul-Jabbar Andreas Kanaris Bobby Brown Tony Yeboah Michael Lee Ike Diogu Corey Webster Steve Burtt Suzy Batkovic Hüseyin Öztürk Igor Rakočević İbrahim Kutluay Lauren Jackson Alessandro Gentile Anthony Miles Austin Nichols Dwyane Wade Sabahudin Bilalović Jerry West Dewarick Spencer Damion Lee Marcus Brown Sotiris Kaiafas Drew Nicholas Giorgos Savvidis Luis Flores Elvin Hayes Lothar Kobluhn Slađan Šćepović Paweł Stok Eric Gordon Jack Leasure Liliana Kostova Charalambos Andreou Sharaud Curry Al Green Simone Edwards David Simon Wojciech Kowalczyk David Robinson Gerd Müller Miroslav Berić Jaycee Carroll Jamie Arnold Dimitar Makriev Ebbe Sand Klaus Allofs Sancho Lyttle Michael Wright Janeth Arcain Rudolf Brunnenmeier Abby Bishop Jupp Heynckes Kristo Saage Hamed Haddadi Errick McCollum Zoran Slavnić Dennis Trammell
354
action count
action atmost
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type tournament
action find_reverse_tuple_counts
relation statistical leader
type common name
type recurring sporting event
value 1
[[{'concept': 'tournament'}, {'concept': 'recurring sporting event'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) ?v WHERE { { ?o property:statistical_leader ?v . ?v rdf:type ontology:common_name . ?o rdf:type ontology:tournament } UNION { ?o property:statistical_leader ?v . ?v rdf:type ontology:common_name . ?o rdf:type ontology:recurring_sporting_event } } GROUP BY ?v } . FILTER ( ?x <= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q270438
P22
Q502895
USER
How many people are the offspring of Charles of Valois ?
(c(Q502895),P22,Q270438)
action count
action filter_type
action find_reverse
entity Q270438
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q270438']
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P22 resource:Q270438 . ?i rdf:type ontology:Q502895 }
Charles of Valois
action count
action filter_type
action find_reverse
entity Charles of Valois
relation father
type common name
[{'concept': 'common name'}, 'father', 'Charles of Valois']
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:father resource:Charles_of_Valois . ?i rdf:type ontology:common_name }
[]
common name
SYSTEM
11
Q1384129 Q2363495 Q3263567 Q237501 Q260269 Q768737 Q1034017 Q772606 Q916305 Q3087225 Q170586
(c(Q502895),P22,Q270438)
action count
action filter_type
action find_reverse
entity Q270438
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q270438']
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P22 resource:Q270438 . ?i rdf:type ontology:Q502895 }
Charles II, Count of Alençon Isabella of Valois, Duchess of Bourbon Lluís de Valois Blanche of Valois Catherine of Valois Marie of Valois, Duchess of Calabria Margaret of Valois, Countess of Blois Isabelle of Valois, Duchess of Brittany Joan of Valois, Countess of Hainaut Joan of Valois, Countess of Beaumont Philip VI of France
11
action count
action filter_type
action find_reverse
entity Charles of Valois
relation father
type common name
[{'concept': 'common name'}, 'father', 'Charles of Valois']
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:father resource:Charles_of_Valois . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4015545
P58
Q838948
USER
Which works of art have Vittorio Sindoni as screenwriter ?
(c(Q838948),P58,Q4015545)
action filter_type
action find_reverse
entity Q4015545
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q4015545']
SELECT DISTINCT ?s WHERE { ?s property:P58 resource:Q4015545 . ?s rdf:type ontology:Q838948 }
Vittorio Sindoni
action filter_type
action find_reverse
entity Vittorio Sindoni
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Vittorio Sindoni']
SELECT DISTINCT ?s WHERE { ?s property:screenwriter resource:Vittorio_Sindoni . ?s rdf:type ontology:work_of_art }
[]
work of art
Q3899752 Q3818798 Q3899499
SYSTEM
Perdutamente tuo... mi firmo Macaluso Carmelo fu Giuseppe, Deadly Inheritance, Per amore di Cesarina
Q3899752 Q3818798 Q3899499 Q3772068
(c(Q838948),P58,Q4015545)
action filter_type
action find_reverse
entity Q4015545
relation P58
type Q838948
[ANSWERS] have Vittorio Sindoni as screenwriter
[{'concept': 'Q838948'}, 'P58', 'Q4015545']
SELECT DISTINCT ?s WHERE { ?s property:P58 resource:Q4015545 . ?s rdf:type ontology:Q838948 }
Perdutamente tuo... mi firmo Macaluso Carmelo fu Giuseppe Deadly Inheritance Per amore di Cesarina Anni struggenti
Perdutamente tuo... mi firmo Macaluso Carmelo fu Giuseppe, Deadly Inheritance and Per amore di Cesarina have Vittorio Sindoni as screenwriter
Perdutamente tuo... mi firmo Macaluso Carmelo fu Giuseppe Deadly Inheritance Per amore di Cesarina
action filter_type
action find_reverse
entity Vittorio Sindoni
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Vittorio Sindoni']
SELECT DISTINCT ?s WHERE { ?s property:screenwriter resource:Vittorio_Sindoni . ?s rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3899499
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q3899499,P136,c(Q1792379))
action filter_type
action find
entity Q3899499
relation P136
type Q1792379
['Q3899499', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?o WHERE { resource:Q3899499 property:P136 ?o . ?o rdf:type ontology:Q1792379 }
Per amore di Cesarina
action filter_type
action find
entity Per amore di Cesarina
relation genre
type art genre
['Per amore di Cesarina', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?o WHERE { resource:Per_amore_di_Cesarina property:genre ?o . ?o rdf:type ontology:art_genre }
[]
art genre
Clarification for simple ques.
Q3818798
SYSTEM
Did you mean Deadly Inheritance ?
Q3899752 Q3818798 Q3899499
(Q3899752,P136,c(Q1792379)) (Q3818798,P136,c(Q1792379)) (Q3899499,P136,c(Q1792379))
[ANSWER]
['Q3899752', 'P136', {'concept': 'Q1792379'}] ['Q3818798', 'P136', {'concept': 'Q1792379'}] ['Q3899499', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?o WHERE { resource:Q3899499 property:P136 ?o . ?o rdf:type ontology:Q1792379 }
Perdutamente tuo... mi firmo Macaluso Carmelo fu Giuseppe Deadly Inheritance Per amore di Cesarina
Did you mean Deadly Inheritance ?
Deadly Inheritance
['Perdutamente tuo... mi firmo Macaluso Carmelo fu Giuseppe', 'genre', {'concept': 'art genre'}] ['Deadly Inheritance', 'genre', {'concept': 'art genre'}] ['Per amore di Cesarina', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?o WHERE { resource:Per_amore_di_Cesarina property:genre ?o . ?o rdf:type ontology:art_genre }
[]
Simple Question (Coreferenced)
USER
No, I meant Per amore di Cesarina. Could you tell me the answer for that?
(Q3899499,P136,c(Q1792379))
Q3899499
['Q3899499', 'P136', {'concept': 'Q1792379'}]
['Per amore di Cesarina', 'genre', {'concept': 'art genre'}]
[]
Q157443
SYSTEM
comedy film
Q157443
(Q3899499,P136,c(Q1792379))
action filter_type
action find
entity Q3899499
relation P136
type Q1792379
The [ANSWER] can be considered as category for that work of art
['Q3899499', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?o WHERE { resource:Q3899499 property:P136 ?o . ?o rdf:type ontology:Q1792379 }
comedy film
The comedy film can be considered as category for that work of art
comedy film
action filter_type
action find
entity Per amore di Cesarina
relation genre
type art genre
['Per amore di Cesarina', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?o WHERE { resource:Per_amore_di_Cesarina property:genre ?o . ?o rdf:type ontology:art_genre }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q157443 Q4015545
P136 P57
Q838948
USER
Which works of art are Vittorio Sindoni a director of and have comedy film as genre ?
AND((c(Q838948),P57,Q4015545), (c(Q838948),P136,Q157443))
action filter_type
action intersection
action find_reverse
entity Q4015545
relation P57
action find_reverse
entity Q157443
relation P136
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P57', 'Q4015545'], [{'concept': 'Q838948'}, 'P136', 'Q157443']]}
SELECT DISTINCT ?d WHERE { ?d property:P136 resource:Q157443 . ?d property:P57 resource:Q4015545 . ?d rdf:type ontology:Q838948 }
comedy film Vittorio Sindoni
action filter_type
action intersection
action find_reverse
entity Vittorio Sindoni
relation director
action find_reverse
entity comedy film
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'director', 'Vittorio Sindoni'], [{'concept': 'work of art'}, 'genre', 'comedy film']]}
SELECT DISTINCT ?d WHERE { ?d property:genre resource:comedy_film . ?d property:director resource:Vittorio_Sindoni . ?d rdf:type ontology:work_of_art }
[]
work of art
Q3899499
SYSTEM
Per amore di Cesarina
Q3899499
AND((c(Q838948),P57,Q4015545), (c(Q838948),P136,Q157443))
action filter_type
action intersection
action find_reverse
entity Q4015545
relation P57
action find_reverse
entity Q157443
relation P136
type Q838948
[ANSWER] is Vittorio Sindoni a director of and have comedy film as genre
{'AND': [[{'concept': 'Q838948'}, 'P57', 'Q4015545'], [{'concept': 'Q838948'}, 'P136', 'Q157443']]}
SELECT DISTINCT ?d WHERE { ?d property:P136 resource:Q157443 . ?d property:P57 resource:Q4015545 . ?d rdf:type ontology:Q838948 }
Per amore di Cesarina
Per amore di Cesarina is Vittorio Sindoni a director of and have comedy film as genre
Per amore di Cesarina
action filter_type
action intersection
action find_reverse
entity Vittorio Sindoni
relation director
action find_reverse
entity comedy film
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'director', 'Vittorio Sindoni'], [{'concept': 'work of art'}, 'genre', 'comedy film']]}
SELECT DISTINCT ?d WHERE { ?d property:genre resource:comedy_film . ?d property:director resource:Vittorio_Sindoni . ?d rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3899499
P495
Q15617994
USER
What is the origin of that work of art ?
(Q3899499,P495,c(Q15617994))
action filter_type
action find
entity Q3899499
relation P495
type Q15617994
['Q3899499', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q3899499 property:P495 ?m . ?m rdf:type ontology:Q15617994 }
Per amore di Cesarina
action filter_type
action find
entity Per amore di Cesarina
relation country of origin
type designation for an administrative territorial entity
['Per amore di Cesarina', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Per_amore_di_Cesarina property:country_of_origin ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3899499,P495,c(Q15617994))
action filter_type
action find
entity Q3899499
relation P495
type Q15617994
The origin of that work of art is in [ANSWER]
['Q3899499', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q3899499 property:P495 ?m . ?m rdf:type ontology:Q15617994 }
Italy
The origin of that work of art is in Italy
Italy
action filter_type
action find
entity Per amore di Cesarina
relation country of origin
type designation for an administrative territorial entity
['Per amore di Cesarina', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Per_amore_di_Cesarina property:country_of_origin ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1087236 Q3899499
P495
Q15617994
USER
Or Christ Stopped at Eboli?
OR((Q3899499,P495,c(Q15617994)), (Q1087236,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q3899499
relation P495
action find
entity Q1087236
relation P495
type Q15617994
{'OR': [['Q3899499', 'P495', {'concept': 'Q15617994'}], ['Q1087236', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { ?w property:P495 ?a . VALUES ( ?w ) { ( resource:Q3899499 ) ( resource:Q1087236 ) } } . ?a rdf:type ontology:Q15617994 }
Christ Stopped at Eboli Per amore di Cesarina
action filter_type
action union
action find
entity Per amore di Cesarina
relation country of origin
action find
entity Christ Stopped at Eboli
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Per amore di Cesarina', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Christ Stopped at Eboli', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { ?w property:country_of_origin ?a . VALUES ( ?w ) { ( resource:Per_amore_di_Cesarina ) ( resource:Christ_Stopped_at_Eboli ) } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q38
SYSTEM
France, Italy
Q142 Q38
OR((Q3899499,P495,c(Q15617994)), (Q1087236,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q3899499
relation P495
action find
entity Q1087236
relation P495
type Q15617994
[ANSWERS] Or Christ Stopped at Eboli
{'OR': [['Q3899499', 'P495', {'concept': 'Q15617994'}], ['Q1087236', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { ?w property:P495 ?a . VALUES ( ?w ) { ( resource:Q3899499 ) ( resource:Q1087236 ) } } . ?a rdf:type ontology:Q15617994 }
France Italy
France and Italy Or Christ Stopped at Eboli
France Italy
action filter_type
action union
action find
entity Per amore di Cesarina
relation country of origin
action find
entity Christ Stopped at Eboli
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Per amore di Cesarina', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Christ Stopped at Eboli', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { ?w property:country_of_origin ?a . VALUES ( ?w ) { ( resource:Per_amore_di_Cesarina ) ( resource:Christ_Stopped_at_Eboli ) } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]