Simple Question (Direct)
Simple Question
Q10542584
P106
Q12737077
USER
Which occupation has Ante Batarelo as his/her 's career ?
(Q10542584,P106,c(Q12737077))
action filter_type
action find
entity Q10542584
relation P106
type Q12737077
['Q10542584', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q10542584 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Ante Batarelo
action filter_type
action find
entity Ante Batarelo
relation occupation
type occupation
['Ante Batarelo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Ante_Batarelo property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q10542584,P106,c(Q12737077))
action filter_type
action find
entity Q10542584
relation P106
type Q12737077
The [ANSWER] has Ante Batarelo as his/her 's career
['Q10542584', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q10542584 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
association football player
The association football player has Ante Batarelo as his/her 's career
association football player
action filter_type
action find
entity Ante Batarelo
relation occupation
type occupation
['Ante Batarelo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Ante_Batarelo property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10542584
P21
Q290
USER
What is the sex of Ante Batarelo ?
(Q10542584,P21,c(Q290))
action filter_type
action find
entity Q10542584
relation P21
type Q290
['Q10542584', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q10542584 property:P21 ?b . ?b rdf:type ontology:Q290 }
Ante Batarelo
action filter_type
action find
entity Ante Batarelo
relation gender
type sex
['Ante Batarelo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Ante_Batarelo property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q10542584,P21,c(Q290))
action filter_type
action find
entity Q10542584
relation P21
type Q290
The sex of Ante Batarelo is a [ANSWER]
['Q10542584', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q10542584 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
The sex of Ante Batarelo is a male
male
action filter_type
action find
entity Ante Batarelo
relation gender
type sex
['Ante Batarelo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Ante_Batarelo property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10542584
P641
Q349
USER
What was the sport that Ante Batarelo was a part of ?
(Q10542584,P641,c(Q349))
action filter_type
action find
entity Q10542584
relation P641
type Q349
['Q10542584', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q10542584 property:P641 ?o . ?o rdf:type ontology:Q349 }
Ante Batarelo
action filter_type
action find
entity Ante Batarelo
relation sport
type sport
['Ante Batarelo', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Ante_Batarelo property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q10542584,P641,c(Q349))
action filter_type
action find
entity Q10542584
relation P641
type Q349
The sport that Ante Batarelo was a part of was the [ANSWER]
['Q10542584', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q10542584 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
The sport that Ante Batarelo was a part of was the association football
association football
action filter_type
action find
entity Ante Batarelo
relation sport
type sport
['Ante Batarelo', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Ante_Batarelo property:sport ?o . ?o rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
How many people are the patron saint of exactly 1 occupation ?
(c(Q12737077),P417,c(Q502895))
action count
action equal
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 1
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:P417 ?z . ?z rdf:type ontology:Q502895 . ?n rdf:type ontology:Q12737077 } GROUP BY ?z } . FILTER ( ?m = 1 ) }
action count
action equal
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 1
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:patron_saint ?z . ?z rdf:type ontology:common_name . ?n rdf:type ontology:occupation } GROUP BY ?z } . FILTER ( ?m = 1 ) }
[]
common name occupation
SYSTEM
38
Q453698 Q152457 Q43689 Q163900 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q508214 Q9200 Q193507 Q463600 Q43669 Q40662 Q332656 Q320171 Q137947 Q80513 Q324700 Q44015 Q149727 Q232427 Q60059 Q17590 Q271474 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action equal
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 1
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:P417 ?z . ?z rdf:type ontology:Q502895 . ?n rdf:type ontology:Q12737077 } GROUP BY ?z } . FILTER ( ?m = 1 ) }
Saint Amand Saint Roch Ambrose Saint Francis Xavier Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Urban of Langres John the Apostle Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Charalampus
38
action count
action equal
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 1
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:patron_saint ?z . ?z rdf:type ontology:common_name . ?n rdf:type ontology:occupation } GROUP BY ?z } . FILTER ( ?m = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saint of approximately 2 occupations ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?p ) WHERE { ?v property:P417 ?j . ?j rdf:type ontology:Q502895 . ?v rdf:type ontology:Q12737077 } GROUP BY ?j } . FILTER ( ?p = 2 ) }
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?p ) WHERE { ?v property:patron_saint ?j . ?j rdf:type ontology:common_name . ?v rdf:type ontology:occupation } GROUP BY ?j } . FILTER ( ?p = 2 ) }
[]
common name occupation
Q166876 Q229190 Q44248
SYSTEM
Isidore of Seville, Catherine of Siena, Jerome
Q229190 Q328804 Q166876 Q170547 Q183240 Q196653 Q44265 Q744884 Q151967 Q44248
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[ANSWERS] are the patron saint of approximately 2 occupations
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?p ) WHERE { ?v property:P417 ?j . ?j rdf:type ontology:Q502895 . ?v rdf:type ontology:Q12737077 } GROUP BY ?j } . FILTER ( ?p = 2 ) }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Saint Lucy Saint Veronica Benedict of Nursia Zita Saint Blaise Jerome
Isidore of Seville, Catherine of Siena and Jerome are the patron saint of approximately 2 occupations
Isidore of Seville Catherine of Siena Jerome
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?p ) WHERE { ?v property:patron_saint ?j . ?j rdf:type ontology:common_name . ?v rdf:type ontology:occupation } GROUP BY ?j } . FILTER ( ?p = 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q11424
USER
Which films did atleast 29 people dub for ?
(c(Q11424),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 29
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?t ) WHERE { ?o rdf:type ontology:Q502895 . ?k rdf:type ontology:Q11424 . ?k property:P725 ?o } GROUP BY ?k } . FILTER ( ?t >= 29 ) }
action atleast
action find_tuple_counts
relation voice actor
type film
type common name
value 29
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?t ) WHERE { ?o rdf:type ontology:common_name . ?k rdf:type ontology:film . ?k property:voice_actor ?o } GROUP BY ?k } . FILTER ( ?t >= 29 ) }
[]
common name film
Q190135 Q271189 Q165512
SYSTEM
The Little Mermaid, Hercules, One Hundred and One Dalmatians
Q179673 Q165512 Q190135 Q271189
(c(Q11424),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 29
Atleast 29 people dubbed [ANSWERS]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?t ) WHERE { ?o rdf:type ontology:Q502895 . ?k rdf:type ontology:Q11424 . ?k property:P725 ?o } GROUP BY ?k } . FILTER ( ?t >= 29 ) }
Beauty and the Beast One Hundred and One Dalmatians The Little Mermaid Hercules
Atleast 29 people dubbed The Little Mermaid, Hercules and One Hundred and One Dalmatians
The Little Mermaid Hercules One Hundred and One Dalmatians
action atleast
action find_tuple_counts
relation voice actor
type film
type common name
value 29
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?t ) WHERE { ?o rdf:type ontology:common_name . ?k rdf:type ontology:film . ?k property:voice_actor ?o } GROUP BY ?k } . FILTER ( ?t >= 29 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3165316 Q271189
P725 P22
Q502895
USER
Which people did the dubbing for Hercules or were the father of Jean-David Levitte ?
OR((Q271189,P725,c(Q502895)), (Q3165316,P22,c(Q502895)))
action filter_type
action union
action find
entity Q271189
relation P725
action find
entity Q3165316
relation P22
type Q502895
{'OR': [['Q271189', 'P725', {'concept': 'Q502895'}], ['Q3165316', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q271189 property:P725 ?d } UNION { resource:Q3165316 property:P22 ?d } } . ?d rdf:type ontology:Q502895 }
Jean-David Levitte Hercules
action filter_type
action union
action find
entity Hercules
relation voice actor
action find
entity Jean-David Levitte
relation father
type common name
{'OR': [['Hercules', 'voice actor', {'concept': 'common name'}], ['Jean-David Levitte', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Hercules property:voice_actor ?d } UNION { resource:Jean-David_Levitte property:father ?d } } . ?d rdf:type ontology:common_name }
[]
common name
Q26806 Q272505 Q1364909 Q266368 Q16568766 Q3832418 Q3360325 Q616400 Q311976 Q370918
SYSTEM
Some of them are Danny DeVito, Kathleen Freeman, Bill Farmer, Barbara Barrie, Kellen Hathaway, Lillias White, Paddi Edwards, Patrick Pinney, Wayne Knight, Keith David
Q3603 Q3820592 Q3603080 Q16157064 Q3832418 Q3978226 Q313522 Q1364909 Q370918 Q27857541 Q2571728 Q369424 Q965261 Q242945 Q314801 Q266368 Q302650 Q7375297 Q634684 Q80739 Q3360325 Q542190 Q16568766 Q773512 Q311976 Q7495420 Q963626 Q272505 Q6060442 Q328456 Q238483 Q766325 Q545172 Q193105 Q979189 Q231385 Q16620402 Q3103091 Q4337 Q616400 Q2467799 Q26806
OR((Q271189,P725,c(Q502895)), (Q3165316,P22,c(Q502895)))
action filter_type
action union
action find
entity Q271189
relation P725
action find
entity Q3165316
relation P22
type Q502895
[ANSWERS] did the dubbing for Hercules or were the father of Jean-David Levitte
{'OR': [['Q271189', 'P725', {'concept': 'Q502895'}], ['Q3165316', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q271189 property:P725 ?d } UNION { resource:Q3165316 property:P22 ?d } } . ?d rdf:type ontology:Q502895 }
Jack Angel LaChanze Aaron Michael Metchik Tawatha Agee Lillias White Susan Egan Rip Torn Bill Farmer Keith David Cheryl Freeman Debi Derryberry Bobcat Goldthwait Corey Burton Mary Kay Bergman Hal Holbrook Barbara Barrie Tate Donovan Roz Ryan Roger Bart Charlton Heston Paddi Edwards Carole Shelley Kellen Hathaway Bob Bergen Wayne Knight Sherry Lynn Paul Shaffer Kathleen Freeman Jan Rabson Jennifer Darling Amanda Plummer Bug Hall Matt Frewer James Woods Erik von Detten Samantha Eggar Vanéese Y. Thomas Georges Levitte Rodger Bumpass Patrick Pinney Josh Keaton Danny DeVito
Danny DeVito, Kathleen Freeman, Bill Farmer, Barbara Barrie, Kellen Hathaway, Lillias White, Paddi Edwards, Patrick Pinney, Wayne Knight and Keith David did the dubbing for Hercules or were the father of Jean-David Levitte
Danny DeVito Kathleen Freeman Bill Farmer Barbara Barrie Kellen Hathaway Lillias White Paddi Edwards Patrick Pinney Wayne Knight Keith David
action filter_type
action union
action find
entity Hercules
relation voice actor
action find
entity Jean-David Levitte
relation father
type common name
{'OR': [['Hercules', 'voice actor', {'concept': 'common name'}], ['Jean-David Levitte', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Hercules property:voice_actor ?d } UNION { resource:Jean-David_Levitte property:father ?d } } . ?d rdf:type ontology:common_name }
[]