Simple Question (Direct)
Simple Question
Q8573
P509
Q2057971
USER
Which health problem was the cause of death of Sun Yat-sen ?
(Q8573,P509,c(Q2057971))
action filter_type
action find
entity Q8573
relation P509
type Q2057971
['Q8573', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q2057971 . resource:Q8573 property:P509 ?x }
Sun Yat-sen
action filter_type
action find
entity Sun Yat-sen
relation cause of death
type health problem
['Sun Yat-sen', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:health_problem . resource:Sun_Yat-sen property:cause_of_death ?x }
[]
health problem
Q623031
SYSTEM
liver cancer
Q623031
(Q8573,P509,c(Q2057971))
action filter_type
action find
entity Q8573
relation P509
type Q2057971
Pro [ANSWER] was the cause of death of Sun Yat-sen
['Q8573', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q2057971 . resource:Q8573 property:P509 ?x }
liver cancer
Pro liver cancer was the cause of death of Sun Yat-sen
liver cancer
action filter_type
action find
entity Sun Yat-sen
relation cause of death
type health problem
['Sun Yat-sen', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:health_problem . resource:Sun_Yat-sen property:cause_of_death ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8573
P22
Q502895
USER
Which people have that one as a parent ?
(c(Q502895),P22,Q623031)
action filter_type
action find_reverse
entity Q8573
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q623031']
SELECT DISTINCT ?q WHERE { ?q property:P22 resource:Q8573 . ?q rdf:type ontology:Q502895 }
Sun Yat-sen
action filter_type
action find_reverse
entity Sun Yat-sen
relation father
type common name
[{'concept': 'common name'}, 'father', 'liver cancer']
SELECT DISTINCT ?q WHERE { ?q property:father resource:Sun_Yat-sen . ?q rdf:type ontology:common_name }
[]
common name
Q4164318 Q701897 Q4164300
SYSTEM
Fumiko Miyagawa, Sun Fo, Sun Wan
Q4164318 Q701897 Q4164300
(c(Q502895),P22,Q623031)
action filter_type
action find_reverse
entity Q8573
relation P22
type Q502895
[ANSWERS] have that one as a parent
[{'concept': 'Q502895'}, 'P22', 'Q623031']
SELECT DISTINCT ?q WHERE { ?q property:P22 resource:Q8573 . ?q rdf:type ontology:Q502895 }
Fumiko Miyagawa Sun Fo Sun Wan
Fumiko Miyagawa, Sun Fo and Sun Wan have that one as a parent
Fumiko Miyagawa Sun Fo Sun Wan
action filter_type
action find_reverse
entity Sun Yat-sen
relation father
type common name
[{'concept': 'common name'}, 'father', 'liver cancer']
SELECT DISTINCT ?q WHERE { ?q property:father resource:Sun_Yat-sen . ?q rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P22
Q502895
USER
How many people were the dad of that person ?
(Q4164300,P22,c(Q502895))
['Q4164300', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q16177497 property:Q2029179 ?z . ?z rdf:type ontology:Q502895 }
['Sun Wan', 'father', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Sun_Wan property:father ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q4164318
SYSTEM
Did you mean Fumiko Miyagawa ?
(Q4164318,P22,c(Q502895)) (Q701897,P22,c(Q502895)) (Q4164300,P22,c(Q502895))
[ANSWER]
['Q4164318', 'P22', {'concept': 'Q502895'}] ['Q701897', 'P22', {'concept': 'Q502895'}] ['Q4164300', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q16177497 property:Q2029179 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Fumiko Miyagawa ?
Fumiko Miyagawa
['Fumiko Miyagawa', 'father', {'concept': 'common name'}] ['Sun Fo', 'father', {'concept': 'common name'}] ['Sun Wan', 'father', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Sun_Wan property:father ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Sun Wan. Could you tell me the answer for that?
(Q4164300,P22,c(Q502895))
Q4164300
['Q4164300', 'P22', {'concept': 'Q502895'}]
['Sun Wan', 'father', {'concept': 'common name'}]
[]
SYSTEM
1
Q8573
(Q4164300,P22,c(Q502895))
[ANSWER]
['Q4164300', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q16177497 property:Q2029179 ?z . ?z rdf:type ontology:Q502895 }
Sun Yat-sen
1
['Sun Wan', 'father', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Sun_Wan property:father ?z . ?z rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12970116 Q4164300
P9
Q502895
USER
Which people have Sun Wan or Rommel Padilla as thier sibling ?
OR((Q4164300,P9,c(Q502895)), (Q12970116,P9,c(Q502895)))
action filter_type
action union
action find
entity Q4164300
relation P9
action find
entity Q12970116
relation P9
type Q502895
{'OR': [['Q4164300', 'P9', {'concept': 'Q502895'}], ['Q12970116', 'P9', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . { { resource:Q4164300 property:P9 ?f } UNION { resource:Q12970116 property:P9 ?f } } }
Rommel Padilla Sun Wan
action filter_type
action union
action find
entity Sun Wan
relation sister
action find
entity Rommel Padilla
relation sister
type common name
{'OR': [['Sun Wan', 'sister', {'concept': 'common name'}], ['Rommel Padilla', 'sister', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . { { resource:Sun_Wan property:sister ?f } UNION { resource:Rommel_Padilla property:sister ?f } } }
[]
common name
Q4164318 Q3546641
SYSTEM
Fumiko Miyagawa, BB Gandanghari
Q4164318 Q3546641
OR((Q4164300,P9,c(Q502895)), (Q12970116,P9,c(Q502895)))
action filter_type
action union
action find
entity Q4164300
relation P9
action find
entity Q12970116
relation P9
type Q502895
[ANSWERS] have Sun Wan or Rommel Padilla as thier sibling
{'OR': [['Q4164300', 'P9', {'concept': 'Q502895'}], ['Q12970116', 'P9', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . { { resource:Q4164300 property:P9 ?f } UNION { resource:Q12970116 property:P9 ?f } } }
Fumiko Miyagawa BB Gandanghari
Fumiko Miyagawa and BB Gandanghari have Sun Wan or Rommel Padilla as thier sibling
Fumiko Miyagawa BB Gandanghari
action filter_type
action union
action find
entity Sun Wan
relation sister
action find
entity Rommel Padilla
relation sister
type common name
{'OR': [['Sun Wan', 'sister', {'concept': 'common name'}], ['Rommel Padilla', 'sister', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . { { resource:Sun_Wan property:sister ?f } UNION { resource:Rommel_Padilla property:sister ?f } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q11424
USER
Which films had their voice dubbing done by around 31 people ?
(c(Q11424),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 31
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?f = 31 ) . { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?f ) WHERE { ?i rdf:type ontology:Q11424 . ?w rdf:type ontology:Q502895 . ?i property:P725 ?w } GROUP BY ?i } }
action approx
action find_tuple_counts
relation voice actor
type film
type common name
value 31
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?f = 31 ) . { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?f ) WHERE { ?i rdf:type ontology:film . ?w rdf:type ontology:common_name . ?i property:voice_actor ?w } GROUP BY ?i } }
[]
common name film
Q190135 Q165512 Q179673
SYSTEM
The Little Mermaid, One Hundred and One Dalmatians, Beauty and the Beast
Q179673 Q216929 Q165512 Q933887 Q184701 Q190135 Q15270775
(c(Q11424),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 31
[ANSWERS] had their voice dubbing done by around 31 people
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?f = 31 ) . { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?f ) WHERE { ?i rdf:type ontology:Q11424 . ?w rdf:type ontology:Q502895 . ?i property:P725 ?w } GROUP BY ?i } }
Beauty and the Beast Oliver & Company One Hundred and One Dalmatians Tintin and the Temple of the Sun The Aristocats The Little Mermaid Hotel Transylvania 2
The Little Mermaid, One Hundred and One Dalmatians and Beauty and the Beast had their voice dubbing done by around 31 people
The Little Mermaid One Hundred and One Dalmatians Beauty and the Beast
action approx
action find_tuple_counts
relation voice actor
type film
type common name
value 31
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?f = 31 ) . { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?f ) WHERE { ?i rdf:type ontology:film . ?w rdf:type ontology:common_name . ?i property:voice_actor ?w } GROUP BY ?i } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q369691
P417
Q502895 Q44539 Q16970
USER
How many people are the names of person who are the patron saints of greater number of temples or churches than Saint Ursula ?
(c(Q44539)|c(Q16970),P417,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q369691
relation P417
type Q44539
type Q16970
[[{'concept': 'Q44539'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:P417 resource:Q369691 . { VALUES ( ?f ) { ( ontology:Q44539 ) ( ontology:Q16970 ) } . ?d rdf:type ?f } } } . FILTER ( ?l > ?a ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?q WHERE { ?v rdf:type ?j . VALUES ( ?j ) { ( ontology:Q44539 ) ( ontology:Q16970 ) } } GROUP BY ?q } }
Saint Ursula
action count
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action count
action filter_multi_types
action find_reverse
entity Saint Ursula
relation patron saint
type temple
type church
[[{'concept': 'temple'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:patron_saint resource:Saint_Ursula . { VALUES ( ?f ) { ( ontology:temple ) ( ontology:church ) } . ?d rdf:type ?f } } } . FILTER ( ?l > ?a ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?q WHERE { ?v rdf:type ?j . VALUES ( ?j ) { ( ontology:temple ) ( ontology:church ) } } GROUP BY ?q } }
[]
common name temple church
SYSTEM
40
Q133704 Q152457 Q128267 Q328804 Q174044 Q163900 Q170547 Q676555 Q244380 Q177903 Q207113 Q8018 Q33923 Q161775 Q145746 Q167477 Q297742 Q48438 Q44281 Q63070 Q43399 Q196527 Q9200 Q346 Q180936 Q2142772 Q43999 Q359259 Q44269 Q43982 Q179718 Q40662 Q80513 Q26486 Q149727 Q164294 Q159862 Q17590 Q200895 Q310633
(c(Q44539)|c(Q16970),P417,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q369691
relation P417
type Q44539
type Q16970
[ANSWER]
[[{'concept': 'Q44539'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:P417 resource:Q369691 . { VALUES ( ?f ) { ( ontology:Q44539 ) ( ontology:Q16970 ) } . ?d rdf:type ?f } } } . FILTER ( ?l > ?a ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?q WHERE { ?v rdf:type ?j . VALUES ( ?j ) { ( ontology:Q44539 ) ( ontology:Q16970 ) } } GROUP BY ?q } }
Martin of Tours Saint Roch Joseph John the Evangelist Alexander Nevsky Saint Francis Xavier Anthony the Great Francis of Assisi Saint Denis Stephen I of Hungary Hippolytus Augustine of Hippo Peter Stephen Joseph Anthony of Padua Margaret the Virgin Saint George Ignatius of Loyola Mary Magdalene Andrew Saint Wenceslaus I, Duke of Bohemia Paul Louis IX of France Saint Gall Gereon James Saint Emeric of Hungary Saint Nicholas Bartholomew the Apostle Catherine of Alexandria John the Baptist Saint Cecilia Ladislaus I of Hungary Saint Giles Saint Anna Elizabeth of Hungary Lawrence of Rome Agatha of Sicily Demetrius of Thessaloniki
40
action count
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action count
action filter_multi_types
action find_reverse
entity Saint Ursula
relation patron saint
type temple
type church
[[{'concept': 'temple'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:patron_saint resource:Saint_Ursula . { VALUES ( ?f ) { ( ontology:temple ) ( ontology:church ) } . ?d rdf:type ?f } } } . FILTER ( ?l > ?a ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?q WHERE { ?v rdf:type ?j . VALUES ( ?j ) { ( ontology:temple ) ( ontology:church ) } } GROUP BY ?q } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2424767
P417
Q502895 Q44539 Q16970
USER
And what about Anthony of Apamea?
(c(Q44539)|c(Q16970),P417,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q2424767
relation P417
type Q44539
type Q16970
[[{'concept': 'Q44539'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) ?f WHERE { { ?f rdf:type ontology:Q502895 . ?g rdf:type ontology:Q44539 . ?g property:P417 ?f } UNION { ?g property:P417 ?f . ?g rdf:type ontology:Q16970 . ?f rdf:type ontology:Q502895 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:P417 resource:Q2424767 . { { ?y rdf:type ontology:Q44539 } UNION { ?y rdf:type ontology:Q16970 } } } } . FILTER ( ?d > ?u ) }
Anthony of Apamea
action count
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action count
action filter_multi_types
action find_reverse
entity Anthony of Apamea
relation patron saint
type temple
type church
[[{'concept': 'temple'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) ?f WHERE { { ?f rdf:type ontology:common_name . ?g rdf:type ontology:temple . ?g property:patron_saint ?f } UNION { ?g property:patron_saint ?f . ?g rdf:type ontology:church . ?f rdf:type ontology:common_name } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:patron_saint resource:Anthony_of_Apamea . { { ?y rdf:type ontology:temple } UNION { ?y rdf:type ontology:church } } } } . FILTER ( ?d > ?u ) }
[]
common name temple church
SYSTEM
122
Q453698 Q133704 Q152457 Q172390 Q394727 Q268087 Q61914 Q315640 Q719683 Q696682 Q118087 Q320199 Q43689 Q378656 Q61620 Q128267 Q2987904 Q2574015 Q1834624 Q328804 Q174044 Q163900 Q31966 Q170547 Q676555 Q244380 Q192236 Q539890 Q44091 Q181715 Q212850 Q2617668 Q670456 Q1284971 Q188411 Q727316 Q686948 Q309953 Q115550 Q8413 Q515953 Q42887 Q177903 Q207113 Q8018 Q43675 Q618214 Q216946 Q33923 Q161775 Q221522 Q44047 Q128538 Q316599 Q183240 Q145746 Q15284282 Q360798 Q298845 Q167477 Q297742 Q183332 Q48438 Q159834 Q44281 Q63070 Q170164 Q43399 Q379914 Q965463 Q196527 Q336731 Q913528 Q231256 Q560531 Q9200 Q174880 Q346 Q180936 Q2142772 Q7226 Q243427 Q417686 Q43999 Q64196 Q359259 Q43669 Q369691 Q44269 Q831571 Q44265 Q192816 Q43982 Q179718 Q445357 Q40662 Q210096 Q160374 Q80513 Q43600 Q283447 Q26486 Q158504 Q151967 Q312314 Q149727 Q367208 Q164294 Q103556 Q60059 Q651226 Q159862 Q17590 Q235619 Q200895 Q160445 Q44248 Q1269112 Q470608 Q196157 Q310633 Q208331
(c(Q44539)|c(Q16970),P417,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q2424767
relation P417
type Q44539
type Q16970
[ANSWER]
[[{'concept': 'Q44539'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) ?f WHERE { { ?f rdf:type ontology:Q502895 . ?g rdf:type ontology:Q44539 . ?g property:P417 ?f } UNION { ?g property:P417 ?f . ?g rdf:type ontology:Q16970 . ?f rdf:type ontology:Q502895 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:P417 resource:Q2424767 . { { ?y rdf:type ontology:Q44539 } UNION { ?y rdf:type ontology:Q16970 } } } } . FILTER ( ?d > ?u ) }
Saint Amand Martin of Tours Saint Roch Martin I Agnes of Bohemia Pudentiana Gotthard of Hildesheim Francis of Paola Ludger Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Ambrose Saint Pantaleon Cunigunde of Luxembourg Joseph Tryphon of Pechenga Nestor of Magydos Gummarus John the Evangelist Alexander Nevsky Saint Francis Xavier Mark the Evangelist Anthony the Great Francis of Assisi Saint Denis Thomas Becket Lazarus of Bethany Saint Dominic Thérèse of Lisieux Vitus Saint Cunera Procopius of Sázava Victor Maurus Bernard of Clairvaux Renaud de Montauban Alban of Mainz Gregory the Illuminator Nicholas of Flüe Constantine the Great Maximilian of Lorch Clement I Stephen I of Hungary Hippolytus Augustine of Hippo Philip the Apostle Aper of Toul Charles Borromeo Peter Stephen John of Nepomuk James, son of Alphaeus Luke the Evangelist Saint Maurice Saint Lucy Joseph Adolphus Saint Eligius Saint Florian Anthony of Padua Margaret the Virgin Saint Sebastian Saint George Hubertus Ignatius of Loyola Mary Magdalene Helena of Constantinople Andrew Saint Cajetan Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Paul Teresa of Ávila Louis IX of France Saint Gall Gereon Joan of Arc Adalbert of Prague Nazarius James Adelaide, Abbess of Vilich Saint Emeric of Hungary Thomas the Apostle Saint Ursula Saint Nicholas Eusebius of Esztergom Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria Henry John the Baptist Agnes of Rome Norbert of Xanten Saint Cecilia Matthew the Apostle Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Saint Blaise Bruno of Cologne Saint Giles Saint Remigius Saint Anna Henry II, Holy Roman Emperor Albertus Magnus Viktor of Xanten Elizabeth of Hungary Lawrence of Rome Gertrude of Nivelles Agatha of Sicily Saint Boniface Jerome Saint Ninian Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
122
action count
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action count
action filter_multi_types
action find_reverse
entity Anthony of Apamea
relation patron saint
type temple
type church
[[{'concept': 'temple'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) ?f WHERE { { ?f rdf:type ontology:common_name . ?g rdf:type ontology:temple . ?g property:patron_saint ?f } UNION { ?g property:patron_saint ?f . ?g rdf:type ontology:church . ?f rdf:type ontology:common_name } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:patron_saint resource:Anthony_of_Apamea . { { ?y rdf:type ontology:temple } UNION { ?y rdf:type ontology:church } } } } . FILTER ( ?d > ?u ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q190135
P144
Q386724
USER
Which works are an extension The Little Mermaid ?
(c(Q386724),P144,Q190135)
action filter_type
action find_reverse
entity Q190135
relation P144
type Q386724
[{'concept': 'Q386724'}, 'P144', 'Q190135']
SELECT DISTINCT ?e WHERE { ?e property:P144 resource:Q190135 . ?e rdf:type ontology:Q386724 }
The Little Mermaid
action filter_type
action find_reverse
entity The Little Mermaid
relation based on
type work
[{'concept': 'work'}, 'based on', 'The Little Mermaid']
SELECT DISTINCT ?e WHERE { ?e property:based_on resource:The_Little_Mermaid . ?e rdf:type ontology:work }
[]
work
Q24357415 Q7747662
SYSTEM
The Little Mermaid, The Little Mermaid
Q24357415 Q7747662
(c(Q386724),P144,Q190135)
action filter_type
action find_reverse
entity Q190135
relation P144
type Q386724
[ANSWERS] are an extension The Little Mermaid
[{'concept': 'Q386724'}, 'P144', 'Q190135']
SELECT DISTINCT ?e WHERE { ?e property:P144 resource:Q190135 . ?e rdf:type ontology:Q386724 }
The Little Mermaid The Little Mermaid
The Little Mermaid and The Little Mermaid are an extension The Little Mermaid
The Little Mermaid The Little Mermaid
action filter_type
action find_reverse
entity The Little Mermaid
relation based on
type work
[{'concept': 'work'}, 'based on', 'The Little Mermaid']
SELECT DISTINCT ?e WHERE { ?e property:based_on resource:The_Little_Mermaid . ?e rdf:type ontology:work }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q24357415 Q7747662
P364
Q34770
USER
Which languages were used originally for the creation of The Little Mermaid and The Little Mermaid ?
(Q24357415,P364,c(Q34770)) (Q7747662,P364,c(Q34770))
action union
action filter_type
action find
entity Q24357415
relation P364
type Q34770
action filter_type
action find
entity Q7747662
relation P364
type Q34770
['Q24357415', 'P364', {'concept': 'Q34770'}] ['Q7747662', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?b ) { ( resource:Q24357415 ) ( resource:Q7747662 ) } . ?b property:P364 ?h }
The Little Mermaid The Little Mermaid
action union
action filter_type
action find
entity The Little Mermaid
relation original language of work
type language
action filter_type
action find
entity The Little Mermaid
relation original language of work
type language
['The Little Mermaid', 'original language of work', {'concept': 'language'}] ['The Little Mermaid', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { { resource:The_Little_Mermaid property:original_language_of_work ?h . ?h rdf:type ontology:language } UNION { resource:The_Little_Mermaid property:original_language_of_work ?h . ?h rdf:type ontology:language } }
[]
language
Q1860 Q1860
SYSTEM
English
Q1860 Q1860
(Q24357415,P364,c(Q34770)) (Q7747662,P364,c(Q34770))
action union
action filter_type
action find
entity Q24357415
relation P364
type Q34770
action filter_type
action find
entity Q7747662
relation P364
type Q34770
[ANSWER] and [ANSWER] were used originally for the creation of The Little Mermaid and The Little Mermaid
['Q24357415', 'P364', {'concept': 'Q34770'}] ['Q7747662', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?b ) { ( resource:Q24357415 ) ( resource:Q7747662 ) } . ?b property:P364 ?h }
English English
English and English were used originally for the creation of The Little Mermaid and The Little Mermaid
English English
action union
action filter_type
action find
entity The Little Mermaid
relation original language of work
type language
action filter_type
action find
entity The Little Mermaid
relation original language of work
type language
['The Little Mermaid', 'original language of work', {'concept': 'language'}] ['The Little Mermaid', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { { resource:The_Little_Mermaid property:original_language_of_work ?h . ?h rdf:type ontology:language } UNION { resource:The_Little_Mermaid property:original_language_of_work ?h . ?h rdf:type ontology:language } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q179673
P136
Q483394
USER
What can be considered as category for Beauty and the Beast ?
(Q179673,P136,c(Q483394))
action filter_type
action find
entity Q179673
relation P136
type Q483394
['Q179673', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?j WHERE { resource:Q179673 property:P136 ?j . ?j rdf:type ontology:Q483394 }
Beauty and the Beast
action filter_type
action find
entity Beauty and the Beast
relation genre
type genre
['Beauty and the Beast', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?j WHERE { resource:Beauty_and_the_Beast property:genre ?j . ?j rdf:type ontology:genre }
[]
genre
Q859369
SYSTEM
comedy-drama
Q859369
(Q179673,P136,c(Q483394))
action filter_type
action find
entity Q179673
relation P136
type Q483394
[ANSWER] can be considered as category for Beauty and the Beast
['Q179673', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?j WHERE { resource:Q179673 property:P136 ?j . ?j rdf:type ontology:Q483394 }
comedy-drama
Comedy-drama can be considered as category for Beauty and the Beast
comedy-drama
action filter_type
action find
entity Beauty and the Beast
relation genre
type genre
['Beauty and the Beast', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?j WHERE { resource:Beauty_and_the_Beast property:genre ?j . ?j rdf:type ontology:genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q179673
P1433
Q7725634
USER
Which literary works were published in that film ?
(c(Q7725634),P1433,Q859369)
action filter_type
action find_reverse
entity Q179673
relation P1433
type Q7725634
[{'concept': 'Q7725634'}, 'P1433', 'Q859369']
SELECT DISTINCT ?c WHERE { ?c property:P1433 resource:Q179673 . ?c rdf:type ontology:Q7725634 }
Beauty and the Beast
action filter_type
action find_reverse
entity Beauty and the Beast
relation published in
type literary work
[{'concept': 'literary work'}, 'published in', 'comedy-drama']
SELECT DISTINCT ?c WHERE { ?c property:published_in resource:Beauty_and_the_Beast . ?c rdf:type ontology:literary_work }
[]
literary work
Q4883586 Q17093258 Q2930303
SYSTEM
Belle, Something There, Be Our Guest
Q17150707 Q17150181 Q2930303 Q4883586 Q2454384 Q17093258
(c(Q7725634),P1433,Q859369)
action filter_type
action find_reverse
entity Q179673
relation P1433
type Q7725634
Belle, Something There and be Our Guest were published in that film
[{'concept': 'Q7725634'}, 'P1433', 'Q859369']
SELECT DISTINCT ?c WHERE { ?c property:P1433 resource:Q179673 . ?c rdf:type ontology:Q7725634 }
The Mob Song Gaston Be Our Guest Belle Beauty and the Beast Something There
Belle, Something There and be Our Guest were published in that film
Belle Something There Be Our Guest
action filter_type
action find_reverse
entity Beauty and the Beast
relation published in
type literary work
[{'concept': 'literary work'}, 'published in', 'comedy-drama']
SELECT DISTINCT ?c WHERE { ?c property:published_in resource:Beauty_and_the_Beast . ?c rdf:type ontology:literary_work }
[]