Simple Question (Direct)
Simple Question
Q18127547
P21
Q290
USER
What is the sex of Marlon Ritter ?
(Q18127547,P21,c(Q290))
action filter_type
action find
entity Q18127547
relation P21
type Q290
['Q18127547', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q18127547 property:P21 ?y . ?y rdf:type ontology:Q290 }
Marlon Ritter
action filter_type
action find
entity Marlon Ritter
relation gender
type sex
['Marlon Ritter', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Marlon_Ritter property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q18127547,P21,c(Q290))
action filter_type
action find
entity Q18127547
relation P21
type Q290
The sex of Marlon Ritter is the [ANSWER]
['Q18127547', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q18127547 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
The sex of Marlon Ritter is the male
male
action filter_type
action find
entity Marlon Ritter
relation gender
type sex
['Marlon Ritter', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Marlon_Ritter property:gender ?y . ?y rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18127547
P19
Q56061
USER
Which administrative territory was Marlon Ritter born in ?
(Q18127547,P19,c(Q56061))
action filter_type
action find
entity Q18127547
relation P19
type Q56061
['Q18127547', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q18127547 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Marlon Ritter
action filter_type
action find
entity Marlon Ritter
relation place of birth
type administrative territorial entity
['Marlon Ritter', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Marlon_Ritter property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2066
SYSTEM
Essen
Q2066
(Q18127547,P19,c(Q56061))
action filter_type
action find
entity Q18127547
relation P19
type Q56061
Marlon Ritter was born in [ANSWER]
['Q18127547', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q18127547 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Essen
Marlon Ritter was born in Essen
Essen
action filter_type
action find
entity Marlon Ritter
relation place of birth
type administrative territorial entity
['Marlon Ritter', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Marlon_Ritter property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3170364
Q56061
USER
And what about Jean Anderson?
(Q3170364,P19,c(Q56061))
action filter_type
action find
entity Q3170364
relation P19
type Q56061
['Q3170364', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q3170364 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Jean Anderson
action filter_type
action find
entity Jean Anderson
relation place of birth
type administrative territorial entity
['Jean Anderson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Jean_Anderson property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q208262
SYSTEM
Eastbourne
Q208262
(Q3170364,P19,c(Q56061))
action filter_type
action find
entity Q3170364
relation P19
type Q56061
[ANSWER]
['Q3170364', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q3170364 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Eastbourne
Eastbourne
action filter_type
action find
entity Jean Anderson
relation place of birth
type administrative territorial entity
['Jean Anderson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Jean_Anderson property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q208262 Q145
P17
Q15617994
USER
Does that administrative territory belong to United Kingdom ?
(Q208262,P17,Q145)
action is_in
entity Q145
action find
entity Q208262
relation P17
['Q208262', 'P17', 'Q145']
ASK WHERE { resource:Q208262 property:P17 resource:Q145 }
Eastbourne United Kingdom
action is_in
entity United Kingdom
action find
entity Eastbourne
relation country
['Eastbourne', 'country', 'United Kingdom']
ASK WHERE { resource:Eastbourne property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q208262,P17,Q145)
action is_in
entity Q145
action find
entity Q208262
relation P17
[ANSWER]
['Q208262', 'P17', 'Q145']
ASK WHERE { resource:Q208262 property:P17 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Eastbourne
relation country
['Eastbourne', 'country', 'United Kingdom']
ASK WHERE { resource:Eastbourne property:country resource:United_Kingdom }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q18127547 Q183
P27
Q1048835
USER
Is Germany the country of citizenship of Marlon Ritter ?
(Q18127547,P27,Q183)
action is_in
entity Q183
action find
entity Q18127547
relation P27
['Q18127547', 'P27', 'Q183']
ASK WHERE { resource:Q18127547 property:P27 resource:Q183 }
Marlon Ritter Germany
action is_in
entity Germany
action find
entity Marlon Ritter
relation country of citizenship
['Marlon Ritter', 'country of citizenship', 'Germany']
ASK WHERE { resource:Marlon_Ritter property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q18127547,P27,Q183)
action is_in
entity Q183
action find
entity Q18127547
relation P27
[ANSWER]
['Q18127547', 'P27', 'Q183']
ASK WHERE { resource:Q18127547 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Marlon Ritter
relation country of citizenship
['Marlon Ritter', 'country of citizenship', 'Germany']
ASK WHERE { resource:Marlon_Ritter property:country_of_citizenship resource:Germany }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q208262
P127
Q41176
USER
Which buildings are owned by Eastbourne ?
(c(Q41176),P127,Q208262)
action filter_type
action find_reverse
entity Q208262
relation P127
type Q41176
[{'concept': 'Q41176'}, 'P127', 'Q208262']
SELECT DISTINCT ?p WHERE { ?p property:P127 resource:Q208262 . ?p rdf:type ontology:Q41176 }
Eastbourne
action filter_type
action find_reverse
entity Eastbourne
relation owned by
type building
[{'concept': 'building'}, 'owned by', 'Eastbourne']
SELECT DISTINCT ?p WHERE { ?p property:owned_by resource:Eastbourne . ?p rdf:type ontology:building }
[]
building
Q5267874 Q5160834
SYSTEM
Devonshire Park Theatre, Congress Theatre
Q5267874 Q5160834
(c(Q41176),P127,Q208262)
action filter_type
action find_reverse
entity Q208262
relation P127
type Q41176
And [ANSWERS] are owned by Eastbourne
[{'concept': 'Q41176'}, 'P127', 'Q208262']
SELECT DISTINCT ?p WHERE { ?p property:P127 resource:Q208262 . ?p rdf:type ontology:Q41176 }
Devonshire Park Theatre Congress Theatre
And Devonshire Park Theatre and Congress Theatre are owned by Eastbourne
Devonshire Park Theatre Congress Theatre
action filter_type
action find_reverse
entity Eastbourne
relation owned by
type building
[{'concept': 'building'}, 'owned by', 'Eastbourne']
SELECT DISTINCT ?p WHERE { ?p property:owned_by resource:Eastbourne . ?p rdf:type ontology:building }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5267874
P84
Q502895
USER
Who architected that building ?
(Q5267874,P84,c(Q502895))
action filter_type
action find
entity Q5267874
relation P84
type Q502895
['Q5267874', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q5267874 property:P84 ?l . ?l rdf:type ontology:Q502895 }
Devonshire Park Theatre
action filter_type
action find
entity Devonshire Park Theatre
relation architect
type common name
['Devonshire Park Theatre', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Devonshire_Park_Theatre property:architect ?l . ?l rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q5267874
SYSTEM
Did you mean Devonshire Park Theatre ?
Q5267874 Q5160834
(Q5267874,P84,c(Q502895)) (Q5160834,P84,c(Q502895))
[ANSWER]
['Q5267874', 'P84', {'concept': 'Q502895'}] ['Q5160834', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q5267874 property:P84 ?l . ?l rdf:type ontology:Q502895 }
Devonshire Park Theatre Congress Theatre
Did you mean Devonshire Park Theatre ?
Devonshire Park Theatre
['Devonshire Park Theatre', 'architect', {'concept': 'common name'}] ['Congress Theatre', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Devonshire_Park_Theatre property:architect ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q5267874,P84,c(Q502895))
['Q5267874', 'P84', {'concept': 'Q502895'}]
['Devonshire Park Theatre', 'architect', {'concept': 'common name'}]
[]
Q5720041
SYSTEM
Henry Currey
Q5720041
(Q5267874,P84,c(Q502895))
action filter_type
action find
entity Q5267874
relation P84
type Q502895
[ANSWER] architected that building
['Q5267874', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q5267874 property:P84 ?l . ?l rdf:type ontology:Q502895 }
Henry Currey
Henry Currey architected that building
Henry Currey
action filter_type
action find
entity Devonshire Park Theatre
relation architect
type common name
['Devonshire Park Theatre', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Devonshire_Park_Theatre property:architect ?l . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P106
Q12737077
USER
How many occupations are the professions of that person ?
(Q5720041,P106,c(Q12737077))
action count
action filter_type
action find
entity Q5720041
relation P106
type Q12737077
['Q5720041', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { resource:Q5720041 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
action count
action filter_type
action find
entity Henry Currey
relation occupation
type occupation
['Henry Currey', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { resource:Henry_Currey property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
SYSTEM
3
Q81096 Q42973 Q13582652
(Q5720041,P106,c(Q12737077))
action count
action filter_type
action find
entity Q5720041
relation P106
type Q12737077
[ANSWER]
['Q5720041', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { resource:Q5720041 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
engineer architect civil engineer
3
action count
action filter_type
action find
entity Henry Currey
relation occupation
type occupation
['Henry Currey', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { resource:Henry_Currey property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q11424
USER
Which films did atleast 7 people do the dubbing for ?
(c(Q11424),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 7
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?h ) WHERE { ?v property:P725 ?k . ?k rdf:type ontology:Q502895 . ?v rdf:type ontology:Q11424 } GROUP BY ?v } . FILTER ( ?h >= 7 ) }
action atleast
action find_tuple_counts
relation voice actor
type film
type common name
value 7
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?h ) WHERE { ?v property:voice_actor ?k . ?k rdf:type ontology:common_name . ?v rdf:type ontology:film } GROUP BY ?v } . FILTER ( ?h >= 7 ) }
[]
common name film
Q190135 Q19090 Q271189
SYSTEM
The Little Mermaid, Robin Hood, Hercules
Q378913 Q4499813 Q191753 Q6929072 Q785294 Q204662 Q521082 Q1764174 Q752301 Q270470 Q334132 Q4341553 Q215518 Q1160649 Q134430 Q215617 Q179673 Q216929 Q853718 Q374431 Q12084660 Q165512 Q578595 Q933887 Q329316 Q213787 Q611739 Q980041 Q3588859 Q249967 Q19090 Q184701 Q2059996 Q190135 Q465275 Q218894 Q15270775 Q172284 Q202371 Q40302 Q189875 Q43051 Q917278 Q1406374 Q498434 Q199839 Q36479 Q39722 Q40895 Q1102410 Q271189 Q3226633
(c(Q11424),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 7
Atleast 7 people did the dubbing of [ANSWERS]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?h ) WHERE { ?v property:P725 ?k . ?k rdf:type ontology:Q502895 . ?v rdf:type ontology:Q11424 } GROUP BY ?v } . FILTER ( ?h >= 7 ) }
The Lord of the Rings Home Cinderella Mr. Peabody & Sherman Captain of the Forest The Sword in the Stone Szaffi Quest for Camelot Flushed Away Peter Pan The Great Mouse Detective Pinocchio Aladdin Mattie the Goose-boy Snow White and the Seven Dwarfs Sleeping Beauty Beauty and the Beast Oliver & Company Fun and Fancy Free The Tigger Movie The Princess and the Goblin One Hundred and One Dalmatians Paprika Tintin and the Temple of the Sun The Black Cauldron The Hunchback of Notre Dame The Ballad of the Daltons The Adventures of Tintin Emilie Jolie Hotel Transylvania Robin Hood The Aristocats My Little Pony: The Movie The Little Mermaid Fantastic Mr. Fox Pocahontas Hotel Transylvania 2 Lady and the Tramp The Rescuers Down Under The Fox and the Hound Alice in Wonderland Bambi Tokyo Godfathers Piglet's Big Movie The Many Adventures of Winnie the Pooh The Jungle Book The Lion King The Rescuers Dumbo Johnny Corncob Hercules Renart the Fox
Atleast 7 people did the dubbing of The Little Mermaid, Robin Hood and Hercules
The Little Mermaid Robin Hood Hercules
action atleast
action find_tuple_counts
relation voice actor
type film
type common name
value 7
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?h ) WHERE { ?v property:voice_actor ?k . ?k rdf:type ontology:common_name . ?v rdf:type ontology:film } GROUP BY ?v } . FILTER ( ?h >= 7 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q208262
P19 P21
Q502895
USER
Which people have location of birth at Eastbourne and have male as the sex ?
AND((c(Q502895),P19,Q208262), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q208262
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q208262'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?m WHERE { ?m property:P19 resource:Q208262 . ?m property:P21 resource:Q6581097 . ?m rdf:type ontology:Q502895 }
male Eastbourne
action filter_type
action intersection
action find_reverse
entity Eastbourne
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Eastbourne'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?m WHERE { ?m property:place_of_birth resource:Eastbourne . ?m property:gender resource:male . ?m rdf:type ontology:common_name }
[]
common name
Q1101902 Q949762 Q16236325 Q433293 Q7817620 Q18921475 Q5234998 Q5263098 Q20747783 Q6261049
SYSTEM
Some of them are Clive Francis, Joel Lynch, Solomon March, Ted Tinling, Tom Smith, Jon Brewer, David Hill, Derrick Somerset Macnutt, Peter Clement, John Tosswill
Q960968 Q15524762 Q3143531 Q23663969 Q7612963 Q337520 Q6788803 Q6724419 Q10380948 Q3531483 Q7174372 Q13529901 Q5234998 Q3666434 Q6261049 Q15072752 Q1101902 Q16236325 Q5568066 Q24548676 Q19277902 Q7365376 Q725999 Q23416202 Q4208518 Q816541 Q7817620 Q3376823 Q20744862 Q1119406 Q5534830 Q1538068 Q16186671 Q16215019 Q949762 Q23062916 Q7380368 Q6515571 Q433293 Q448162 Q5263098 Q3787443 Q19041059 Q233976 Q1894122 Q5084691 Q335651 Q6519530 Q20747783 Q5546198 Q221177 Q7436772 Q3773509 Q6140420 Q6990768 Q6211121 Q102830 Q7357033 Q18171687 Q4708059 Q18921475 Q1634009
AND((c(Q502895),P19,Q208262), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q208262
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have location of birth at Eastbourne and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q208262'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?m WHERE { ?m property:P19 resource:Q208262 . ?m property:P21 resource:Q6581097 . ?m rdf:type ontology:Q502895 }
Ernest Coxhead Michael Fish Huw Davies Danny Simmonds Steve Jones Lord Frederick Cavendish Matt Hobden Mackenzie Ward Chris McPhee George Brann Peter Gregory Ian Fraser, Baron Fraser of Lonsdale David Hill Charles Lanyon John Tosswill Neville Kennard Clive Francis Solomon March Glen Thompsett Sebastian Solberg David Swift Ronald Ward F. M. Cornford John Westcott John Hamilton Mortimer Ben Lee Tom Smith Peter Pratt Bayan Fenwick David Howell Geoffrey Pidcock Gordon Rattray Taylor Micky French Stuart Myall Joel Lynch Michael Richey Rupert Thomson Lee Worgan Ted Tinling Leapy Lee Derrick Somerset Macnutt Hugh Honour Godfrey Argent Frederick Hopkins Marcus Creed Charlie Chester Arthur Foljambe, 2nd Earl of Liverpool Leigh Barnard Peter Clement George Whatford Spider Stacy Scott Martin Gordon Sinclair James Norwood Nelson Victor Carter Joe Marler Frederick Soddy Rodney Peppé Tony Funnell Alan Wilkinson Jon Brewer Kyril Bonfiglioli
Clive Francis, Joel Lynch, Solomon March, Ted Tinling, Tom Smith, Jon Brewer, David Hill, Derrick Somerset Macnutt, Peter Clement and John Tosswill have location of birth at Eastbourne and have male as the sex
Clive Francis Joel Lynch Solomon March Ted Tinling Tom Smith Jon Brewer David Hill Derrick Somerset Macnutt Peter Clement John Tosswill
action filter_type
action intersection
action find_reverse
entity Eastbourne
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Eastbourne'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?m WHERE { ?m property:place_of_birth resource:Eastbourne . ?m property:gender resource:male . ?m rdf:type ontology:common_name }
[]