Simple Question (Direct)
Simple Question
Q1789228
P19
Q56061
USER
Which administrative territory was Kristian Kühl born in ?
(Q1789228,P19,c(Q56061))
action filter_type
action find
entity Q1789228
relation P19
type Q56061
['Q1789228', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q1789228 property:P19 ?e }
Kristian Kühl
action filter_type
action find
entity Kristian Kühl
relation place of birth
type administrative territorial entity
['Kristian Kühl', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Kristian_Kühl property:place_of_birth ?e }
[]
administrative territorial entity
Q1040
SYSTEM
Karlsruhe
Q1040
(Q1789228,P19,c(Q56061))
action filter_type
action find
entity Q1789228
relation P19
type Q56061
[ANSWER]
['Q1789228', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q1789228 property:P19 ?e }
Karlsruhe
Karlsruhe
action filter_type
action find
entity Kristian Kühl
relation place of birth
type administrative territorial entity
['Kristian Kühl', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Kristian_Kühl property:place_of_birth ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1789228
P108
Q3918
USER
Which university is the employer of Kristian Kühl ?
(Q1789228,P108,c(Q3918))
action filter_type
action find
entity Q1789228
relation P108
type Q3918
['Q1789228', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?o WHERE { resource:Q1789228 property:P108 ?o . ?o rdf:type ontology:Q3918 }
Kristian Kühl
action filter_type
action find
entity Kristian Kühl
relation employer
type university
['Kristian Kühl', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?o WHERE { resource:Kristian_Kühl property:employer ?o . ?o rdf:type ontology:university }
[]
university
Q153978
SYSTEM
University of Tübingen
Q153978
(Q1789228,P108,c(Q3918))
action filter_type
action find
entity Q1789228
relation P108
type Q3918
[ANSWER]
['Q1789228', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?o WHERE { resource:Q1789228 property:P108 ?o . ?o rdf:type ontology:Q3918 }
University of Tübingen
University of Tübingen
action filter_type
action find
entity Kristian Kühl
relation employer
type university
['Kristian Kühl', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?o WHERE { resource:Kristian_Kühl property:employer ?o . ?o rdf:type ontology:university }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11647465
Q3918
USER
And what about Shōzaburō Kanazawa?
(Q11647465,P108,c(Q3918))
action filter_type
action find
entity Q11647465
relation P108
type Q3918
['Q11647465', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?k WHERE { resource:Q11647465 property:P108 ?k . ?k rdf:type ontology:Q3918 }
Shōzaburō Kanazawa
action filter_type
action find
entity Shōzaburō Kanazawa
relation employer
type university
['Shōzaburō Kanazawa', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?k WHERE { resource:Shōzaburō_Kanazawa property:employer ?k . ?k rdf:type ontology:university }
[]
university
Q7842
SYSTEM
University of Tokyo
Q7842
(Q11647465,P108,c(Q3918))
action filter_type
action find
entity Q11647465
relation P108
type Q3918
[ANSWER]
['Q11647465', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?k WHERE { resource:Q11647465 property:P108 ?k . ?k rdf:type ontology:Q3918 }
University of Tokyo
University of Tokyo
action filter_type
action find
entity Shōzaburō Kanazawa
relation employer
type university
['Shōzaburō Kanazawa', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?k WHERE { resource:Shōzaburō_Kanazawa property:employer ?k . ?k rdf:type ontology:university }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1040
P138
Q502895
USER
Which person is the etymology of Karlsruhe ?
(Q1040,P138,c(Q502895))
action filter_type
action find
entity Q1040
relation P138
type Q502895
['Q1040', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q1040 property:P138 ?v . ?v rdf:type ontology:Q502895 }
Karlsruhe
action filter_type
action find
entity Karlsruhe
relation named after
type common name
['Karlsruhe', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Karlsruhe property:named_after ?v . ?v rdf:type ontology:common_name }
[]
common name
Q61083
SYSTEM
Charles III William
Q61083
(Q1040,P138,c(Q502895))
action filter_type
action find
entity Q1040
relation P138
type Q502895
[ANSWER]
['Q1040', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q1040 property:P138 ?v . ?v rdf:type ontology:Q502895 }
Charles III William
Charles III William
action filter_type
action find
entity Karlsruhe
relation named after
type common name
['Karlsruhe', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Karlsruhe property:named_after ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1040
P840
Q838948
USER
Which work of art has its setting located at Karlsruhe ?
(c(Q838948),P840,Q1040)
action filter_type
action find_reverse
entity Q1040
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q1040']
SELECT DISTINCT ?f WHERE { ?f property:P840 resource:Q1040 . ?f rdf:type ontology:Q838948 }
Karlsruhe
action filter_type
action find_reverse
entity Karlsruhe
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Karlsruhe']
SELECT DISTINCT ?f WHERE { ?f property:narrative_location resource:Karlsruhe . ?f rdf:type ontology:work_of_art }
[]
work of art
Q1197889
SYSTEM
The Forest for the Trees
Q1197889
(c(Q838948),P840,Q1040)
action filter_type
action find_reverse
entity Q1040
relation P840
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P840', 'Q1040']
SELECT DISTINCT ?f WHERE { ?f property:P840 resource:Q1040 . ?f rdf:type ontology:Q838948 }
The Forest for the Trees
The Forest for the Trees
action filter_type
action find_reverse
entity Karlsruhe
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Karlsruhe']
SELECT DISTINCT ?f WHERE { ?f property:narrative_location resource:Karlsruhe . ?f rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1197889
P57
Q502895
USER
Who was that work of art directed by ?
(Q1197889,P57,c(Q502895))
action filter_type
action find
entity Q1197889
relation P57
type Q502895
['Q1197889', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q1197889 property:P57 ?q . ?q rdf:type ontology:Q502895 }
The Forest for the Trees
action filter_type
action find
entity The Forest for the Trees
relation director
type common name
['The Forest for the Trees', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:The_Forest_for_the_Trees property:director ?q . ?q rdf:type ontology:common_name }
[]
common name
Q91508
SYSTEM
Maren Ade
Q91508
(Q1197889,P57,c(Q502895))
action filter_type
action find
entity Q1197889
relation P57
type Q502895
[ANSWER]
['Q1197889', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q1197889 property:P57 ?q . ?q rdf:type ontology:Q502895 }
Maren Ade
Maren Ade
action filter_type
action find
entity The Forest for the Trees
relation director
type common name
['The Forest for the Trees', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:The_Forest_for_the_Trees property:director ?q . ?q rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q524278 Q91508
P57
Q838948
USER
Which works of art have Maren Ade or Jay Roach as their director ?
OR((c(Q838948),P57,Q91508), (c(Q838948),P57,Q524278))
action filter_type
action union
action find_reverse
entity Q91508
relation P57
action find_reverse
entity Q524278
relation P57
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P57', 'Q91508'], [{'concept': 'Q838948'}, 'P57', 'Q524278']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q838948 . { VALUES ( ?s ) { ( resource:Q91508 ) ( resource:Q524278 ) } . ?w property:P57 ?s } }
Jay Roach Maren Ade
action filter_type
action union
action find_reverse
entity Maren Ade
relation director
action find_reverse
entity Jay Roach
relation director
type work of art
{'OR': [[{'concept': 'work of art'}, 'director', 'Maren Ade'], [{'concept': 'work of art'}, 'director', 'Jay Roach']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:work_of_art . { VALUES ( ?s ) { ( resource:Maren_Ade ) ( resource:Jay_Roach ) } . ?w property:director ?s } }
[]
work of art
Q477740 Q498910 Q1197889 Q2028118 Q1226599 Q1956926 Q740489 Q623724 Q23838395 Q18692630
SYSTEM
Some of them are Everyone Else, Austin Powers in Goldmember, The Forest for the Trees, The Campaign, Dinner for Schmucks, Mystery, Alaska, Meet the Fockers, Meet the Parents, Toni Erdmann, Trumbo
Q501703 Q477740 Q2028118 Q1226599 Q23838395 Q1197889 Q18692630 Q498910 Q740489 Q487978 Q623724 Q1956926
OR((c(Q838948),P57,Q91508), (c(Q838948),P57,Q524278))
action filter_type
action union
action find_reverse
entity Q91508
relation P57
action find_reverse
entity Q524278
relation P57
type Q838948
[ANSWERS]
{'OR': [[{'concept': 'Q838948'}, 'P57', 'Q91508'], [{'concept': 'Q838948'}, 'P57', 'Q524278']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q838948 . { VALUES ( ?s ) { ( resource:Q91508 ) ( resource:Q524278 ) } . ?w property:P57 ?s } }
Austin Powers: International Man of Mystery Everyone Else The Campaign Dinner for Schmucks Toni Erdmann The Forest for the Trees Trumbo Austin Powers in Goldmember Meet the Fockers Austin Powers: The Spy Who Shagged Me Meet the Parents Mystery, Alaska
Everyone Else Austin Powers in Goldmember The Forest for the Trees The Campaign Dinner for Schmucks Mystery, Alaska Meet the Fockers Meet the Parents Toni Erdmann Trumbo
action filter_type
action union
action find_reverse
entity Maren Ade
relation director
action find_reverse
entity Jay Roach
relation director
type work of art
{'OR': [[{'concept': 'work of art'}, 'director', 'Maren Ade'], [{'concept': 'work of art'}, 'director', 'Jay Roach']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:work_of_art . { VALUES ( ?s ) { ( resource:Maren_Ade ) ( resource:Jay_Roach ) } . ?w property:director ?s } }
[]