Simple Question (Direct)
Simple Question
Q717588
P22
Q15619164
USER
Which male abstract being was the parent of Thor ?
(Q717588,P22,c(Q15619164))
action filter_type
action find
entity Q717588
relation P22
type Q15619164
['Q717588', 'P22', {'concept': 'Q15619164'}]
SELECT DISTINCT ?r WHERE { resource:Q717588 property:P22 ?r . ?r rdf:type ontology:Q15619164 }
Thor
action filter_type
action find
entity Thor
relation father
type abstract being
['Thor', 'father', {'concept': 'abstract being'}]
SELECT DISTINCT ?r WHERE { resource:Thor property:father ?r . ?r rdf:type ontology:abstract_being }
[]
abstract being
Q1319513
SYSTEM
Odin
Q1319513
(Q717588,P22,c(Q15619164))
action filter_type
action find
entity Q717588
relation P22
type Q15619164
Which male abstract being was the parent of Thor
['Q717588', 'P22', {'concept': 'Q15619164'}]
SELECT DISTINCT ?r WHERE { resource:Q717588 property:P22 ?r . ?r rdf:type ontology:Q15619164 }
Odin
Which male abstract being was the parent of Thor
Odin
action filter_type
action find
entity Thor
relation father
type abstract being
['Thor', 'father', {'concept': 'abstract being'}]
SELECT DISTINCT ?r WHERE { resource:Thor property:father ?r . ?r rdf:type ontology:abstract_being }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q717588
P144
Q15707583
USER
Which fictional taxon is derived from Thor ?
(c(Q15707583),P144,Q717588)
action filter_type
action find_reverse
entity Q717588
relation P144
type Q15707583
[{'concept': 'Q15707583'}, 'P144', 'Q717588']
SELECT DISTINCT ?w WHERE { ?w property:P144 resource:Q717588 . ?w rdf:type ontology:Q15707583 }
Thor
action filter_type
action find_reverse
entity Thor
relation based on
type fictional taxon
[{'concept': 'fictional taxon'}, 'based on', 'Thor']
SELECT DISTINCT ?w WHERE { ?w property:based_on resource:Thor . ?w rdf:type ontology:fictional_taxon }
[]
fictional taxon
Q24046102
SYSTEM
Thor
Q24046102
(c(Q15707583),P144,Q717588)
action filter_type
action find_reverse
entity Q717588
relation P144
type Q15707583
[ANSWER] is derived from [ANSWER]
[{'concept': 'Q15707583'}, 'P144', 'Q717588']
SELECT DISTINCT ?w WHERE { ?w property:P144 resource:Q717588 . ?w rdf:type ontology:Q15707583 }
Thor
Thor is derived from Thor
Thor
action filter_type
action find_reverse
entity Thor
relation based on
type fictional taxon
[{'concept': 'fictional taxon'}, 'based on', 'Thor']
SELECT DISTINCT ?w WHERE { ?w property:based_on resource:Thor . ?w rdf:type ontology:fictional_taxon }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q717588
P25
Q15619164
USER
Which abstract beings were the mother of Thor ?
(Q717588,P25,c(Q15619164))
action filter_type
action find
entity Q717588
relation P25
type Q15619164
['Q717588', 'P25', {'concept': 'Q15619164'}]
SELECT DISTINCT ?x WHERE { resource:Q717588 property:P25 ?x . ?x rdf:type ontology:Q15619164 }
Thor
action filter_type
action find
entity Thor
relation mother
type abstract being
['Thor', 'mother', {'concept': 'abstract being'}]
SELECT DISTINCT ?x WHERE { resource:Thor property:mother ?x . ?x rdf:type ontology:abstract_being }
[]
abstract being
Q3087835 Q3545630
SYSTEM
Frigga, Gaea
Q3087835 Q3545630
(Q717588,P25,c(Q15619164))
action filter_type
action find
entity Q717588
relation P25
type Q15619164
[ANSWERS] were the mother of Thor
['Q717588', 'P25', {'concept': 'Q15619164'}]
SELECT DISTINCT ?x WHERE { resource:Q717588 property:P25 ?x . ?x rdf:type ontology:Q15619164 }
Frigga Gaea
Frigga and Gaea were the mother of Thor
Frigga Gaea
action filter_type
action find
entity Thor
relation mother
type abstract being
['Thor', 'mother', {'concept': 'abstract being'}]
SELECT DISTINCT ?x WHERE { resource:Thor property:mother ?x . ?x rdf:type ontology:abstract_being }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3087835
P26
Q15619164
USER
Who is the spouse of that one ?
(Q3087835,P26,c(Q15619164))
action filter_type
action find
entity Q3087835
relation P26
type Q15619164
['Q3087835', 'P26', {'concept': 'Q15619164'}]
SELECT DISTINCT ?x WHERE { resource:Q3087835 property:P26 ?x . ?x rdf:type ontology:Q15619164 }
Frigga
action filter_type
action find
entity Frigga
relation spouse
type abstract being
['Frigga', 'spouse', {'concept': 'abstract being'}]
SELECT DISTINCT ?x WHERE { resource:Frigga property:spouse ?x . ?x rdf:type ontology:abstract_being }
[]
abstract being
Clarification for simple ques.
Q3087835
SYSTEM
Did you mean Frigga ?
Q3087835 Q3545630
(Q3087835,P26,c(Q15619164)) (Q3545630,P26,c(Q15619164))
[ANSWER]
['Q3087835', 'P26', {'concept': 'Q15619164'}] ['Q3545630', 'P26', {'concept': 'Q15619164'}]
SELECT DISTINCT ?x WHERE { resource:Q3087835 property:P26 ?x . ?x rdf:type ontology:Q15619164 }
Frigga Gaea
Did you mean Frigga ?
Frigga
['Frigga', 'spouse', {'concept': 'abstract being'}] ['Gaea', 'spouse', {'concept': 'abstract being'}]
SELECT DISTINCT ?x WHERE { resource:Frigga property:spouse ?x . ?x rdf:type ontology:abstract_being }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3087835,P26,c(Q15619164))
['Q3087835', 'P26', {'concept': 'Q15619164'}]
['Frigga', 'spouse', {'concept': 'abstract being'}]
[]
Q1319513
SYSTEM
Odin
Q1319513
(Q3087835,P26,c(Q15619164))
action filter_type
action find
entity Q3087835
relation P26
type Q15619164
The spouse of that one is the [ANSWER]
['Q3087835', 'P26', {'concept': 'Q15619164'}]
SELECT DISTINCT ?x WHERE { resource:Q3087835 property:P26 ?x . ?x rdf:type ontology:Q15619164 }
Odin
The spouse of that one is the Odin
Odin
action filter_type
action find
entity Frigga
relation spouse
type abstract being
['Frigga', 'spouse', {'concept': 'abstract being'}]
SELECT DISTINCT ?x WHERE { resource:Frigga property:spouse ?x . ?x rdf:type ontology:abstract_being }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1319513
P26
Q15619164
USER
Who is the spouse of that one ?
(Q1319513,P26,c(Q15619164))
action filter_type
action find
entity Q1319513
relation P26
type Q15619164
['Q1319513', 'P26', {'concept': 'Q15619164'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15619164 . resource:Q1319513 property:P26 ?o }
Odin
action filter_type
action find
entity Odin
relation spouse
type abstract being
['Odin', 'spouse', {'concept': 'abstract being'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:abstract_being . resource:Odin property:spouse ?o }
[]
abstract being
Q3087835
SYSTEM
Frigga
Q3087835
(Q1319513,P26,c(Q15619164))
action filter_type
action find
entity Q1319513
relation P26
type Q15619164
The spouse of that one is the [ANSWER]
['Q1319513', 'P26', {'concept': 'Q15619164'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15619164 . resource:Q1319513 property:P26 ?o }
Frigga
The spouse of that one is the Frigga
Frigga
action filter_type
action find
entity Odin
relation spouse
type abstract being
['Odin', 'spouse', {'concept': 'abstract being'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:abstract_being . resource:Odin property:spouse ?o }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q27690237 Q24046102
P800 P1441
Q838948
USER
Which works of art contain Thor or are the notable works of Barbara Eder ?
OR((Q24046102,P1441,c(Q838948)), (Q27690237,P800,c(Q838948)))
action filter_type
action union
action find
entity Q24046102
relation P1441
action find
entity Q27690237
relation P800
type Q838948
{'OR': [['Q24046102', 'P1441', {'concept': 'Q838948'}], ['Q27690237', 'P800', {'concept': 'Q838948'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q24046102 property:P1441 ?y } UNION { resource:Q27690237 property:P800 ?y } } . ?y rdf:type ontology:Q838948 }
Barbara Eder Thor
action filter_type
action union
action find
entity Thor
relation present in work
action find
entity Barbara Eder
relation notable work
type work of art
{'OR': [['Thor', 'present in work', {'concept': 'work of art'}], ['Barbara Eder', 'notable work', {'concept': 'work of art'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Thor property:present_in_work ?y } UNION { resource:Barbara_Eder property:notable_work ?y } } . ?y rdf:type ontology:work_of_art }
[]
work of art
Q22665878 Q182218 Q14171368 Q23780914 Q217020 Q23781155 Q27690186 Q1201853
SYSTEM
Thor: Ragnarok, The Avengers, Avengers: Age of Ultron, Avengers: Infinity War, Thor, Untitled Avengers Movie, Thank You for Bombing, Thor: The Dark World
Q22665878 Q182218 Q14171368 Q23780914 Q217020 Q23781155 Q27690186 Q1201853
OR((Q24046102,P1441,c(Q838948)), (Q27690237,P800,c(Q838948)))
action filter_type
action union
action find
entity Q24046102
relation P1441
action find
entity Q27690237
relation P800
type Q838948
[ANSWERS]
{'OR': [['Q24046102', 'P1441', {'concept': 'Q838948'}], ['Q27690237', 'P800', {'concept': 'Q838948'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q24046102 property:P1441 ?y } UNION { resource:Q27690237 property:P800 ?y } } . ?y rdf:type ontology:Q838948 }
Thor: Ragnarok The Avengers Avengers: Age of Ultron Avengers: Infinity War Thor Untitled Avengers Movie Thank You for Bombing Thor: The Dark World
Untitled Avengers Movie, Thank You for Bombing and Thor: The Dark World contain Thor or are the notable works of Barbara Eder
Thor: Ragnarok The Avengers Avengers: Age of Ultron Avengers: Infinity War Thor Untitled Avengers Movie Thank You for Bombing Thor: The Dark World
action filter_type
action union
action find
entity Thor
relation present in work
action find
entity Barbara Eder
relation notable work
type work of art
{'OR': [['Thor', 'present in work', {'concept': 'work of art'}], ['Barbara Eder', 'notable work', {'concept': 'work of art'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Thor property:present_in_work ?y } UNION { resource:Barbara_Eder property:notable_work ?y } } . ?y rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q791231 Q717588
P175
Q502895
USER
Which people did Thor or Bass Generation perform ?
OR((Q717588,P175,c(Q502895)), (Q791231,P175,c(Q502895)))
action filter_type
action union
action find
entity Q717588
relation P175
action find
entity Q791231
relation P175
type Q502895
{'OR': [['Q717588', 'P175', {'concept': 'Q502895'}], ['Q791231', 'P175', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q717588 property:P175 ?w } UNION { resource:Q791231 property:P175 ?w } } . ?w rdf:type ontology:Q502895 }
Bass Generation Thor
action filter_type
action union
action find
entity Thor
relation performer
action find
entity Bass Generation
relation performer
type common name
{'OR': [['Thor', 'performer', {'concept': 'common name'}], ['Bass Generation', 'performer', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Thor property:performer ?w } UNION { resource:Bass_Generation property:performer ?w } } . ?w rdf:type ontology:common_name }
[]
common name
Q3603 Q922264 Q54314 Q5108470 Q2403592 Q1176644 Q2791343 Q16455 Q5228378 Q383541
SYSTEM
Jack Angel, Eric Allan Kramer, Chris Hemsworth, Chris Wiggins, Travis Willingham, Michael Adamthwaite, Rick D. Wasserman, John Rhys-Davies, Dave Boat, Basshunter
Q3603 Q922264 Q54314 Q5108470 Q2403592 Q1176644 Q2791343 Q16455 Q5228378 Q383541
OR((Q717588,P175,c(Q502895)), (Q791231,P175,c(Q502895)))
action filter_type
action union
action find
entity Q717588
relation P175
action find
entity Q791231
relation P175
type Q502895
Thor or Bass Generation performed by [ANSWERS]
{'OR': [['Q717588', 'P175', {'concept': 'Q502895'}], ['Q791231', 'P175', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q717588 property:P175 ?w } UNION { resource:Q791231 property:P175 ?w } } . ?w rdf:type ontology:Q502895 }
Jack Angel Eric Allan Kramer Chris Hemsworth Chris Wiggins Travis Willingham Michael Adamthwaite Rick D. Wasserman John Rhys-Davies Dave Boat Basshunter
Thor or Bass Generation performed by Jack Angel, Eric Allan Kramer, Chris Hemsworth, Chris Wiggins, Travis Willingham, Michael Adamthwaite, Rick D. Wasserman, John Rhys-Davies, Dave Boat and Basshunter
Jack Angel Eric Allan Kramer Chris Hemsworth Chris Wiggins Travis Willingham Michael Adamthwaite Rick D. Wasserman John Rhys-Davies Dave Boat Basshunter
action filter_type
action union
action find
entity Thor
relation performer
action find
entity Bass Generation
relation performer
type common name
{'OR': [['Thor', 'performer', {'concept': 'common name'}], ['Bass Generation', 'performer', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Thor property:performer ?w } UNION { resource:Bass_Generation property:performer ?w } } . ?w rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3603
P106
Q12737077
USER
What do that person do for a living ?
(Q3603,P106,c(Q12737077))
action filter_type
action find
entity Q3603
relation P106
type Q12737077
['Q3603', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q3603 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Jack Angel
action filter_type
action find
entity Jack Angel
relation occupation
type occupation
['Jack Angel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Jack_Angel property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q5228378
SYSTEM
Did you mean Dave Boat ?
Q3603 Q922264 Q54314 Q5108470 Q2403592 Q1176644 Q2791343 Q16455 Q5228378 Q383541
(Q3603,P106,c(Q12737077)) (Q922264,P106,c(Q12737077)) (Q54314,P106,c(Q12737077)) (Q5108470,P106,c(Q12737077)) (Q2403592,P106,c(Q12737077)) (Q1176644,P106,c(Q12737077)) (Q2791343,P106,c(Q12737077)) (Q16455,P106,c(Q12737077)) (Q5228378,P106,c(Q12737077)) (Q383541,P106,c(Q12737077))
[ANSWER]
['Q3603', 'P106', {'concept': 'Q12737077'}] ['Q922264', 'P106', {'concept': 'Q12737077'}] ['Q54314', 'P106', {'concept': 'Q12737077'}] ['Q5108470', 'P106', {'concept': 'Q12737077'}] ['Q2403592', 'P106', {'concept': 'Q12737077'}] ['Q1176644', 'P106', {'concept': 'Q12737077'}] ['Q2791343', 'P106', {'concept': 'Q12737077'}] ['Q16455', 'P106', {'concept': 'Q12737077'}] ['Q5228378', 'P106', {'concept': 'Q12737077'}] ['Q383541', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q3603 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Jack Angel Eric Allan Kramer Chris Hemsworth Chris Wiggins Travis Willingham Michael Adamthwaite Rick D. Wasserman John Rhys-Davies Dave Boat Basshunter
Did you mean Dave Boat ?
Dave Boat
['Jack Angel', 'occupation', {'concept': 'occupation'}] ['Eric Allan Kramer', 'occupation', {'concept': 'occupation'}] ['Chris Hemsworth', 'occupation', {'concept': 'occupation'}] ['Chris Wiggins', 'occupation', {'concept': 'occupation'}] ['Travis Willingham', 'occupation', {'concept': 'occupation'}] ['Michael Adamthwaite', 'occupation', {'concept': 'occupation'}] ['Rick D. Wasserman', 'occupation', {'concept': 'occupation'}] ['John Rhys-Davies', 'occupation', {'concept': 'occupation'}] ['Dave Boat', 'occupation', {'concept': 'occupation'}] ['Basshunter', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Jack_Angel property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
No, I meant Jack Angel. Could you tell me the answer for that?
(Q3603,P106,c(Q12737077))
Q3603
['Q3603', 'P106', {'concept': 'Q12737077'}]
['Jack Angel', 'occupation', {'concept': 'occupation'}]
[]
Q2405480 Q33999 Q2722764
SYSTEM
voice actor, actor, radio personality
Q2405480 Q33999 Q2722764 Q2259451
(Q3603,P106,c(Q12737077))
action filter_type
action find
entity Q3603
relation P106
type Q12737077
[ANSWERS] that person do for a living
['Q3603', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q3603 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
voice actor actor radio personality stage actor
Voice actor, actor and radio personality that person do for a living
voice actor actor radio personality
action filter_type
action find
entity Jack Angel
relation occupation
type occupation
['Jack Angel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Jack_Angel property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q217020
P161
Q502895
USER
How many people starred in Thor ?
(Q217020,P161,c(Q502895))
action count
action filter_type
action find
entity Q217020
relation P161
type Q502895
['Q217020', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q217020 property:P161 ?z . ?z rdf:type ontology:Q502895 }
Thor
action count
action filter_type
action find
entity Thor
relation cast member
type common name
['Thor', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Thor property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
common name
SYSTEM
25
Q15834608 Q504338 Q37876 Q379824 Q241497 Q126941 Q235233 Q181900 Q449679 Q54314 Q172678 Q253343 Q208667 Q231751 Q24175346 Q342604 Q229612 Q113206 Q714261 Q65932 Q6186853 Q23365 Q372947 Q24131474 Q295803
(Q217020,P161,c(Q502895))
action count
action filter_type
action find
entity Q217020
relation P161
type Q502895
[ANSWER]
['Q217020', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q217020 property:P161 ?z . ?z rdf:type ontology:Q502895 }
Maximiliano Hernández Joshua Cox Natalie Portman Tadanobu Asano Dakota Goyo J. Michael Straczynski Adriana Barraza Stan Lee Colm Feore Chris Hemsworth Samuel L. Jackson Jaimie Alexander Stellan Skarsgård Kat Dennings Darren Kendrick Idris Elba Rene Russo Clark Gregg Josh Dallas Anthony Hopkins Jesse Smith, Jr. Jeremy Renner Ray Stevenson Richard Cetrone Tom Hiddleston
25
action count
action filter_type
action find
entity Thor
relation cast member
type common name
['Thor', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Thor property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q54314
P161
Q838948
USER
What are the name of works of art staring Chris Hemsworth ?
(c(Q838948),P161,Q54314)
action filter_type
action find_reverse
entity Q54314
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q54314']
SELECT DISTINCT ?z WHERE { ?z property:P161 resource:Q54314 . ?z rdf:type ontology:Q838948 }
Chris Hemsworth
action filter_type
action find_reverse
entity Chris Hemsworth
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Chris Hemsworth']
SELECT DISTINCT ?z WHERE { ?z property:cast_member resource:Chris_Hemsworth . ?z rdf:type ontology:work_of_art }
[]
work of art
Q14171368 Q217020 Q213081
SYSTEM
Avengers: Age of Ultron, Thor, Star Trek
Q13424932 Q23780914 Q22665878 Q506400 Q18155457 Q15079316 Q45394 Q14171368 Q553920 Q182218 Q624603 Q1024664 Q18406872 Q217020 Q213081 Q23781155 Q20120108 Q300517 Q1201853 Q18485021 Q1768437
(c(Q838948),P161,Q54314)
action filter_type
action find_reverse
entity Q54314
relation P161
type Q838948
The name of works of art staring Chris Hemsworth are in [ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q54314']
SELECT DISTINCT ?z WHERE { ?z property:P161 resource:Q54314 . ?z rdf:type ontology:Q838948 }
Blackhat Avengers: Infinity War Thor: Ragnarok Red Dawn Vacation In the Heart of the Sea The Cabin in the Woods Avengers: Age of Ultron Red Dawn The Avengers Snow White and the Huntsman Cash Doctor Strange Thor Star Trek Untitled Avengers Movie Ghostbusters A Perfect Getaway Thor: The Dark World The Huntsman: Winter's War Rush
The name of works of art staring Chris Hemsworth are in Avengers: Age of Ultron, Thor and Star Trek
Avengers: Age of Ultron Thor Star Trek
action filter_type
action find_reverse
entity Chris Hemsworth
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Chris Hemsworth']
SELECT DISTINCT ?z WHERE { ?z property:cast_member resource:Chris_Hemsworth . ?z rdf:type ontology:work_of_art }
[]