Simple Question (Direct)
Simple Question
Q20822927
P127
Q95074
USER
Which fictional character is the owner of Toby ?
(Q20822927,P127,c(Q95074))
action filter_type
action find
entity Q20822927
relation P127
type Q95074
['Q20822927', 'P127', {'concept': 'Q95074'}]
SELECT DISTINCT ?o WHERE { resource:Q20822927 property:P127 ?o . ?o rdf:type ontology:Q95074 }
Toby
action filter_type
action find
entity Toby
relation owned by
type fictional character
['Toby', 'owned by', {'concept': 'fictional character'}]
SELECT DISTINCT ?o WHERE { resource:Toby property:owned_by ?o . ?o rdf:type ontology:fictional_character }
[]
fictional character
Q4653
SYSTEM
Sherlock Holmes
Q4653
(Q20822927,P127,c(Q95074))
action filter_type
action find
entity Q20822927
relation P127
type Q95074
Is the owner of Toby and [ANSWER]
['Q20822927', 'P127', {'concept': 'Q95074'}]
SELECT DISTINCT ?o WHERE { resource:Q20822927 property:P127 ?o . ?o rdf:type ontology:Q95074 }
Sherlock Holmes
Is the owner of Toby and Sherlock Holmes
Sherlock Holmes
action filter_type
action find
entity Toby
relation owned by
type fictional character
['Toby', 'owned by', {'concept': 'fictional character'}]
SELECT DISTINCT ?o WHERE { resource:Toby property:owned_by ?o . ?o rdf:type ontology:fictional_character }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4653
P175
Q502895
USER
What were performed by that fictional character ?
(Q4653,P175,c(Q502895))
action filter_type
action find
entity Q4653
relation P175
type Q502895
['Q4653', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q4653 property:P175 ?p . ?p rdf:type ontology:Q502895 }
Sherlock Holmes
action filter_type
action find
entity Sherlock Holmes
relation performer
type common name
['Sherlock Holmes', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Sherlock_Holmes property:performer ?p . ?p rdf:type ontology:common_name }
[]
common name
Q180338 Q244674 Q170510
SYSTEM
Christopher Lee, Benedict Cumberbatch, Ian McKellen
Q4360503 Q180338 Q362133 Q4708036 Q309589 Q336865 Q3049434 Q983339 Q170510 Q545172 Q244674 Q7516
(Q4653,P175,c(Q502895))
action filter_type
action find
entity Q4653
relation P175
type Q502895
[ANSWERS] were performed by that fictional character
['Q4653', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q4653 property:P175 ?p . ?p rdf:type ontology:Q502895 }
Igor Petrenko Christopher Lee Vasily Livanov Alan Wheatley Peter Cushing Basil Rathbone Eille Norwood William Gillette Ian McKellen Matt Frewer Benedict Cumberbatch Jonny Lee Miller
Christopher Lee, Benedict Cumberbatch and Ian McKellen were performed by that fictional character
Christopher Lee Benedict Cumberbatch Ian McKellen
action filter_type
action find
entity Sherlock Holmes
relation performer
type common name
['Sherlock Holmes', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Sherlock_Holmes property:performer ?p . ?p rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q170510
P734
Q82799
USER
Who is associated with that person ?
(Q170510,P734,c(Q82799))
action filter_type
action find
entity Q170510
relation P734
type Q82799
['Q170510', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q170510 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Ian McKellen
action filter_type
action find
entity Ian McKellen
relation family name
type name
['Ian McKellen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Ian_McKellen property:family_name ?n . ?n rdf:type ontology:name }
[]
name
Clarification for simple ques.
Q170510
SYSTEM
Did you mean Ian McKellen ?
Q180338 Q244674 Q170510
(Q180338,P734,c(Q82799)) (Q244674,P734,c(Q82799)) (Q170510,P734,c(Q82799))
[ANSWER]
['Q180338', 'P734', {'concept': 'Q82799'}] ['Q244674', 'P734', {'concept': 'Q82799'}] ['Q170510', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q170510 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Christopher Lee Benedict Cumberbatch Ian McKellen
Did you mean Ian McKellen ?
Ian McKellen
['Christopher Lee', 'family name', {'concept': 'name'}] ['Benedict Cumberbatch', 'family name', {'concept': 'name'}] ['Ian McKellen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Ian_McKellen property:family_name ?n . ?n rdf:type ontology:name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q170510,P734,c(Q82799))
['Q170510', 'P734', {'concept': 'Q82799'}]
['Ian McKellen', 'family name', {'concept': 'name'}]
[]
Q27670027
SYSTEM
McKellen
Q27670027
(Q170510,P734,c(Q82799))
action filter_type
action find
entity Q170510
relation P734
type Q82799
[ANSWER] is associated with that person
['Q170510', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q170510 property:P734 ?n . ?n rdf:type ontology:Q82799 }
McKellen
McKellen is associated with that person
McKellen
action filter_type
action find
entity Ian McKellen
relation family name
type name
['Ian McKellen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Ian_McKellen property:family_name ?n . ?n rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q180338
P410
Q4189293
USER
Which is the title held by Christopher Lee ?
(Q180338,P410,c(Q4189293))
action filter_type
action find
entity Q180338
relation P410
type Q4189293
['Q180338', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?m WHERE { resource:Q180338 property:P410 ?m . ?m rdf:type ontology:Q4189293 }
Christopher Lee
action filter_type
action find
entity Christopher Lee
relation military rank
type title
['Christopher Lee', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?m WHERE { resource:Christopher_Lee property:military_rank ?m . ?m rdf:type ontology:title }
[]
title
Q5013228
SYSTEM
flight lieutenant
Q5013228
(Q180338,P410,c(Q4189293))
action filter_type
action find
entity Q180338
relation P410
type Q4189293
The [ANSWER] is the title held by Christopher Lee
['Q180338', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?m WHERE { resource:Q180338 property:P410 ?m . ?m rdf:type ontology:Q4189293 }
flight lieutenant
The flight lieutenant is the title held by Christopher Lee
flight lieutenant
action filter_type
action find
entity Christopher Lee
relation military rank
type title
['Christopher Lee', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?m WHERE { resource:Christopher_Lee property:military_rank ?m . ?m rdf:type ontology:title }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q180338
P607
Q350604
USER
What was was that person a part of ?
(Q5013228,P607,c(Q350604))
action filter_type
action find
entity Q180338
relation P607
type Q350604
['Q5013228', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?x WHERE { resource:Q180338 property:P607 ?x . ?x rdf:type ontology:Q350604 }
Christopher Lee
action filter_type
action find
entity Christopher Lee
relation conflict
type armed conflict
['flight lieutenant', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?x WHERE { resource:Christopher_Lee property:conflict ?x . ?x rdf:type ontology:armed_conflict }
[]
armed conflict
Q134949
SYSTEM
Winter War
Q134949
(Q5013228,P607,c(Q350604))
action filter_type
action find
entity Q180338
relation P607
type Q350604
That person was a part of [ANSWER]
['Q5013228', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?x WHERE { resource:Q180338 property:P607 ?x . ?x rdf:type ontology:Q350604 }
Winter War
That person was a part of Winter War
Winter War
action filter_type
action find
entity Christopher Lee
relation conflict
type armed conflict
['flight lieutenant', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?x WHERE { resource:Christopher_Lee property:conflict ?x . ?x rdf:type ontology:armed_conflict }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q105660 Q180338
P1411 P166
Q4220917
USER
Which film awards were received by Christopher Lee or were Holly Hunter a recipient of ?
OR((Q180338,P166,c(Q4220917)), (Q105660,P1411,c(Q4220917)))
action filter_type
action union
action find
entity Q180338
relation P166
action find
entity Q105660
relation P1411
type Q4220917
{'OR': [['Q180338', 'P166', {'concept': 'Q4220917'}], ['Q105660', 'P1411', {'concept': 'Q4220917'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q180338 property:P166 ?m } UNION { resource:Q105660 property:P1411 ?m } } . ?m rdf:type ontology:Q4220917 }
Holly Hunter Christopher Lee
action filter_type
action union
action find
entity Christopher Lee
relation award received
action find
entity Holly Hunter
relation nominated for
type film award
{'OR': [['Christopher Lee', 'award received', {'concept': 'film award'}], ['Holly Hunter', 'nominated for', {'concept': 'film award'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Christopher_Lee property:award_received ?m } UNION { resource:Holly_Hunter property:nominated_for ?m } } . ?m rdf:type ontology:film_award }
[]
film award
Q1268927 Q1071888 Q103618 Q787148 Q1011564 Q1071890 Q822907 Q3473883 Q4220900 Q787123
SYSTEM
Some of them are National Society of Film Critics Award for Best Actress, Chicago Film Critics Association Award for Best Actress, Academy Award for Best Actress, BAFTA Academy Fellowship Award, Golden Globe Award for Best Actress – Motion Picture Musical or Comedy, Chicago Film Critics Association Award for Best Supporting Actress, Golden Globe Award for Best Supporting Actress – Motion Picture, Satellite Award for Best Actress – Miniseries or Television Film, MTV Movie Award for Best On-Screen Duo, BAFTA Award for Best Actress in a Supporting Role
Q687123 Q103618 Q1268927 Q106301 Q2350896 Q7971822 Q3473883 Q4220900 Q1011564 Q1257501 Q787123 Q787148 Q463085 Q1071890 Q822907 Q1071888 Q11789134 Q3827284
OR((Q180338,P166,c(Q4220917)), (Q105660,P1411,c(Q4220917)))
action filter_type
action union
action find
entity Q180338
relation P166
action find
entity Q105660
relation P1411
type Q4220917
[ANSWERS] were received by Christopher Lee or were Holly Hunter a recipient of
{'OR': [['Q180338', 'P166', {'concept': 'Q4220917'}], ['Q105660', 'P1411', {'concept': 'Q4220917'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q180338 property:P166 ?m } UNION { resource:Q105660 property:P1411 ?m } } . ?m rdf:type ontology:Q4220917 }
BAFTA Award for Best Actress in a Leading Role Academy Award for Best Actress National Society of Film Critics Award for Best Actress Academy Award for Best Supporting Actress Satellite Award for Best Actress – Television Series Drama Washington D.C. Area Film Critics Association Award for Best Supporting Actress Satellite Award for Best Actress – Miniseries or Television Film MTV Movie Award for Best On-Screen Duo Golden Globe Award for Best Actress – Motion Picture Musical or Comedy Golden Globe Award for Best Actress – Television Series Drama BAFTA Award for Best Actress in a Supporting Role BAFTA Academy Fellowship Award Golden Globe Award for Best Actress – Motion Picture Drama Chicago Film Critics Association Award for Best Supporting Actress Golden Globe Award for Best Supporting Actress – Motion Picture Chicago Film Critics Association Award for Best Actress Satellite Award for Best Actress in a Musical or Comedy Las Vegas Film Critics Society Award for Best Supporting Actress
National Society of Film Critics Award for Best Actress, Chicago Film Critics Association Award for Best Actress, Academy Award for Best Actress, BAFTA Academy Fellowship Award, Golden Globe Award for Best Actress – Motion Picture Musical or Comedy, Chicago Film Critics Association Award for Best Supporting Actress, Golden Globe Award for Best Supporting Actress – Motion Picture, Satellite Award for Best Actress – Miniseries or Television Film, MTV Movie Award for Best On-Screen Duo and BAFTA Award for Best Actress in a Supporting Role were received by Christopher Lee or were Holly Hunter a recipient of
National Society of Film Critics Award for Best Actress Chicago Film Critics Association Award for Best Actress Academy Award for Best Actress BAFTA Academy Fellowship Award Golden Globe Award for Best Actress – Motion Picture Musical or Comedy Chicago Film Critics Association Award for Best Supporting Actress Golden Globe Award for Best Supporting Actress – Motion Picture Satellite Award for Best Actress – Miniseries or Television Film MTV Movie Award for Best On-Screen Duo BAFTA Award for Best Actress in a Supporting Role
action filter_type
action union
action find
entity Christopher Lee
relation award received
action find
entity Holly Hunter
relation nominated for
type film award
{'OR': [['Christopher Lee', 'award received', {'concept': 'film award'}], ['Holly Hunter', 'nominated for', {'concept': 'film award'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Christopher_Lee property:award_received ?m } UNION { resource:Holly_Hunter property:nominated_for ?m } } . ?m rdf:type ontology:film_award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q170510
P161
Q838948
USER
Which works of art do Ian McKellen star in ?
(c(Q838948),P161,Q170510)
action filter_type
action find_reverse
entity Q170510
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q170510']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q838948 . ?i property:P161 resource:Q170510 }
Ian McKellen
action filter_type
action find_reverse
entity Ian McKellen
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Ian McKellen']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:work_of_art . ?i property:cast_member resource:Ian_McKellen }
[]
work of art
Q131074 Q127367 Q106182
SYSTEM
The Lord of the Rings: The Return of the King, The Lord of the Rings: The Fellowship of the Ring, X-Men
Q481851 Q20962238 Q858840 Q127367 Q303391 Q244398 Q1982253 Q570004 Q594537 Q7762445 Q1784664 Q919649 Q697393 Q221168 Q19946102 Q719915 Q1169609 Q1754140 Q1545013 Q106182 Q219776 Q7242893 Q3265568 Q3180312 Q2093029 Q2501468 Q5282601 Q1546938 Q80379 Q4985891 Q17344458 Q197491 Q3805533 Q6145063 Q160560 Q164963 Q686533 Q5371522 Q131074 Q1759282 Q18703064
(c(Q838948),P161,Q170510)
action filter_type
action find_reverse
entity Q170510
relation P161
type Q838948
Ian McKellen star in [ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q170510']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q838948 . ?i property:P161 resource:Q170510 }
Swept from the Sea Countdown to War Last Action Hero The Lord of the Rings: The Fellowship of the Ring Scandal Stardust Neverwas Apt Pupil The Magic Roundabout The Scarlet Pimpernel The Ballad of Little Jo The Hobbit: The Battle of the Five Armies Bent X-Men: The Last Stand Beauty and the Beast The Hobbit: The Desolation of Smaug Six Degrees of Separation The Keep Plenty X-Men X2 Priest of Love Asylum Zina Restoration Richard III Displaced The Shadow The Hobbit: An Unexpected Journey X-Men: Days of Future Past Mr. Holmes The Wolverine Jack and Sarah The Promise The Da Vinci Code The Lord of the Rings: The Two Towers Gods and Monsters Emile The Lord of the Rings: The Return of the King Alfred the Great Animal Crackers
Ian McKellen star in The Lord of the Rings: The Return of the King, The Lord of the Rings: The Fellowship of the Ring and X-Men
The Lord of the Rings: The Return of the King The Lord of the Rings: The Fellowship of the Ring X-Men
action filter_type
action find_reverse
entity Ian McKellen
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Ian McKellen']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:work_of_art . ?i property:cast_member resource:Ian_McKellen }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q170510
P451
Q502895
USER
Who is the domestic partner of Ian McKellen ?
(Q170510,P451,c(Q502895))
action filter_type
action find
entity Q170510
relation P451
type Q502895
['Q170510', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q170510 property:P451 ?a . ?a rdf:type ontology:Q502895 }
Ian McKellen
action filter_type
action find
entity Ian McKellen
relation partner
type common name
['Ian McKellen', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Ian_McKellen property:partner ?a . ?a rdf:type ontology:common_name }
[]
common name
Q2262221
SYSTEM
Sean Mathias
Q2262221
(Q170510,P451,c(Q502895))
action filter_type
action find
entity Q170510
relation P451
type Q502895
The domestic partner of Ian McKellen is [ANSWER]
['Q170510', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q170510 property:P451 ?a . ?a rdf:type ontology:Q502895 }
Sean Mathias
The domestic partner of Ian McKellen is Sean Mathias
Sean Mathias
action filter_type
action find
entity Ian McKellen
relation partner
type common name
['Ian McKellen', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Ian_McKellen property:partner ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2262221
P57
Q838948
USER
What is that person a director of ?
(c(Q838948),P57,Q2262221)
action filter_type
action find_reverse
entity Q2262221
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q2262221']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q838948 . ?a property:P57 resource:Q2262221 }
Sean Mathias
action filter_type
action find_reverse
entity Sean Mathias
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Sean Mathias']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:work_of_art . ?a property:director resource:Sean_Mathias }
[]
work of art
Q697393
SYSTEM
Bent
Q697393
(c(Q838948),P57,Q2262221)
action filter_type
action find_reverse
entity Q2262221
relation P57
type Q838948
That person a director of is a [ANSWER]
[{'concept': 'Q838948'}, 'P57', 'Q2262221']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q838948 . ?a property:P57 resource:Q2262221 }
Bent
That person a director of is a Bent
Bent
action filter_type
action find_reverse
entity Sean Mathias
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Sean Mathias']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:work_of_art . ?a property:director resource:Sean_Mathias }
[]