Simple Question (Direct)
Simple Question
Q3987048
P161
Q502895
USER
Which people starred in The Fire Brigade ?
(Q3987048,P161,c(Q502895))
action filter_type
action find
entity Q3987048
relation P161
type Q502895
['Q3987048', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q3987048 property:P161 ?b }
The Fire Brigade
action filter_type
action find
entity The Fire Brigade
relation cast member
type common name
['The Fire Brigade', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:The_Fire_Brigade property:cast_member ?b }
[]
common name
Q460262 Q2960091
SYSTEM
May McAvoy, Charles Ray
Q460262 Q2960091
(Q3987048,P161,c(Q502895))
action filter_type
action find
entity Q3987048
relation P161
type Q502895
[ANSWERS] starred in The Fire Brigade
['Q3987048', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q3987048 property:P161 ?b }
May McAvoy Charles Ray
May McAvoy and Charles Ray starred in The Fire Brigade
May McAvoy Charles Ray
action filter_type
action find
entity The Fire Brigade
relation cast member
type common name
['The Fire Brigade', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:The_Fire_Brigade property:cast_member ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3987048
P57
Q502895
USER
Who was the director of The Fire Brigade ?
(Q3987048,P57,c(Q502895))
action filter_type
action find
entity Q3987048
relation P57
type Q502895
['Q3987048', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q3987048 property:P57 ?z . ?z rdf:type ontology:Q502895 }
The Fire Brigade
action filter_type
action find
entity The Fire Brigade
relation director
type common name
['The Fire Brigade', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:The_Fire_Brigade property:director ?z . ?z rdf:type ontology:common_name }
[]
common name
Q513061
SYSTEM
William Nigh
Q513061
(Q3987048,P57,c(Q502895))
action filter_type
action find
entity Q3987048
relation P57
type Q502895
The director of The Fire Brigade was Sir [ANSWER]
['Q3987048', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q3987048 property:P57 ?z . ?z rdf:type ontology:Q502895 }
William Nigh
The director of The Fire Brigade was Sir William Nigh
William Nigh
action filter_type
action find
entity The Fire Brigade
relation director
type common name
['The Fire Brigade', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:The_Fire_Brigade property:director ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3987048
P495
Q15617994
USER
Which administrative territory is the country of origin of The Fire Brigade ?
(Q3987048,P495,c(Q15617994))
action filter_type
action find
entity Q3987048
relation P495
type Q15617994
['Q3987048', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q3987048 property:P495 ?w . ?w rdf:type ontology:Q15617994 }
The Fire Brigade
action filter_type
action find
entity The Fire Brigade
relation country of origin
type designation for an administrative territorial entity
['The Fire Brigade', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:The_Fire_Brigade property:country_of_origin ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q3987048,P495,c(Q15617994))
action filter_type
action find
entity Q3987048
relation P495
type Q15617994
[ANSWER] is the country of origin of The Fire Brigade
['Q3987048', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q3987048 property:P495 ?w . ?w rdf:type ontology:Q15617994 }
United States of America
United States of America is the country of origin of The Fire Brigade
United States of America
action filter_type
action find
entity The Fire Brigade
relation country of origin
type designation for an administrative territorial entity
['The Fire Brigade', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:The_Fire_Brigade property:country_of_origin ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3987048
P915
Q56061
USER
Which city was The Fire Brigade filmed on ?
(Q3987048,P915,c(Q56061))
action filter_type
action find
entity Q3987048
relation P915
type Q56061
['Q3987048', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3987048 property:P915 ?l . ?l rdf:type ontology:Q56061 }
The Fire Brigade
action filter_type
action find
entity The Fire Brigade
relation filming location
type administrative territorial entity
['The Fire Brigade', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:The_Fire_Brigade property:filming_location ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q65
SYSTEM
Los Angeles
Q65
(Q3987048,P915,c(Q56061))
action filter_type
action find
entity Q3987048
relation P915
type Q56061
The Fire Brigade was filmed in [ANSWER]
['Q3987048', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3987048 property:P915 ?l . ?l rdf:type ontology:Q56061 }
Los Angeles
The Fire Brigade was filmed in Los Angeles
Los Angeles
action filter_type
action find
entity The Fire Brigade
relation filming location
type administrative territorial entity
['The Fire Brigade', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:The_Fire_Brigade property:filming_location ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q65
P163
Q17335294
USER
Which coat of arms has that administrative territory as its flag ?
(Q65,P163,c(Q17335294))
action filter_type
action find
entity Q65
relation P163
type Q17335294
['Q65', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?q WHERE { resource:Q65 property:P163 ?q . ?q rdf:type ontology:Q17335294 }
Los Angeles
action filter_type
action find
entity Los Angeles
relation flag
type flag or coat of arms
['Los Angeles', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?q WHERE { resource:Los_Angeles property:flag ?q . ?q rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q1426622
SYSTEM
flag of Los Angeles
Q1426622
(Q65,P163,c(Q17335294))
action filter_type
action find
entity Q65
relation P163
type Q17335294
The [ANSWER] has that administrative territory as its flag
['Q65', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?q WHERE { resource:Q65 property:P163 ?q . ?q rdf:type ontology:Q17335294 }
flag of Los Angeles
The flag of Los Angeles has that administrative territory as its flag
flag of Los Angeles
action filter_type
action find
entity Los Angeles
relation flag
type flag or coat of arms
['Los Angeles', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?q WHERE { resource:Los_Angeles property:flag ?q . ?q rdf:type ontology:flag_or_coat_of_arms }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1426622
P1001
Q56061
USER
Which administrative territory comes under the supervision of that coat of arms ?
(Q1426622,P1001,c(Q56061))
action filter_type
action find
entity Q1426622
relation P1001
type Q56061
['Q1426622', 'P1001', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q56061 . resource:Q1426622 property:P1001 ?q }
flag of Los Angeles
action filter_type
action find
entity flag of Los Angeles
relation applies to jurisdiction
type administrative territorial entity
['flag of Los Angeles', 'applies to jurisdiction', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:administrative_territorial_entity . resource:flag_of_Los_Angeles property:applies_to_jurisdiction ?q }
[]
administrative territorial entity
Q65
SYSTEM
Los Angeles
Q65
(Q1426622,P1001,c(Q56061))
action filter_type
action find
entity Q1426622
relation P1001
type Q56061
[ANSWER] comes under the supervision of that coat of arms
['Q1426622', 'P1001', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q56061 . resource:Q1426622 property:P1001 ?q }
Los Angeles
Los Angeles comes under the supervision of that coat of arms
Los Angeles
action filter_type
action find
entity flag of Los Angeles
relation applies to jurisdiction
type administrative territorial entity
['flag of Los Angeles', 'applies to jurisdiction', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:administrative_territorial_entity . resource:flag_of_Los_Angeles property:applies_to_jurisdiction ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q65
P551
Q6619679
USER
Which fictional humanoids have residence at that administrative territory ?
(c(Q6619679),P551,Q65)
action filter_type
action find_reverse
entity Q65
relation P551
type Q6619679
[{'concept': 'Q6619679'}, 'P551', 'Q65']
SELECT DISTINCT ?u WHERE { ?u property:P551 resource:Q65 . ?u rdf:type ontology:Q6619679 }
Los Angeles
action filter_type
action find_reverse
entity Los Angeles
relation residence
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'residence', 'Los Angeles']
SELECT DISTINCT ?u WHERE { ?u property:residence resource:Los_Angeles . ?u rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q376577 Q496437
SYSTEM
John Connor, Sarah Connor
Q376577 Q496437
(c(Q6619679),P551,Q65)
action filter_type
action find_reverse
entity Q65
relation P551
type Q6619679
[ANSWERS] have residence at that administrative territory
[{'concept': 'Q6619679'}, 'P551', 'Q65']
SELECT DISTINCT ?u WHERE { ?u property:P551 resource:Q65 . ?u rdf:type ontology:Q6619679 }
John Connor Sarah Connor
John Connor and Sarah Connor have residence at that administrative territory
John Connor Sarah Connor
action filter_type
action find_reverse
entity Los Angeles
relation residence
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'residence', 'Los Angeles']
SELECT DISTINCT ?u WHERE { ?u property:residence resource:Los_Angeles . ?u rdf:type ontology:fictional_humanoid }
[]
Clarification
Simple Question|Single Entity|Indirect
Q376577
P40
Q6619679
USER
Who have that one as an offspring ?
(c(Q6619679),P40,Q376577)
action filter_type
action find_reverse
entity Q376577
relation P40
type Q6619679
[{'concept': 'Q6619679'}, 'P40', 'Q376577']
SELECT DISTINCT ?k WHERE { ?k property:P40 resource:Q376577 . ?k rdf:type ontology:Q6619679 }
John Connor
action filter_type
action find_reverse
entity John Connor
relation child
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'child', 'John Connor']
SELECT DISTINCT ?k WHERE { ?k property:child resource:John_Connor . ?k rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Clarification for simple ques.
Q376577
SYSTEM
Did you mean John Connor ?
Q376577 Q496437
(c(Q6619679),P40,Q376577) (c(Q6619679),P40,Q496437)
[ANSWER]
[{'concept': 'Q6619679'}, 'P40', 'Q376577'] [{'concept': 'Q6619679'}, 'P40', 'Q496437']
SELECT DISTINCT ?k WHERE { ?k property:P40 resource:Q376577 . ?k rdf:type ontology:Q6619679 }
John Connor Sarah Connor
Did you mean John Connor ?
John Connor
[{'concept': 'fictional humanoid'}, 'child', 'John Connor'] [{'concept': 'fictional humanoid'}, 'child', 'Sarah Connor']
SELECT DISTINCT ?k WHERE { ?k property:child resource:John_Connor . ?k rdf:type ontology:fictional_humanoid }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q6619679),P40,Q376577)
[{'concept': 'Q6619679'}, 'P40', 'Q376577']
[{'concept': 'fictional humanoid'}, 'child', 'John Connor']
[]
Q592358 Q496437
SYSTEM
Kyle Reese, Sarah Connor
Q592358 Q496437
(c(Q6619679),P40,Q376577)
action filter_type
action find_reverse
entity Q376577
relation P40
type Q6619679
[ANSWERS] have that one as an offspring
[{'concept': 'Q6619679'}, 'P40', 'Q376577']
SELECT DISTINCT ?k WHERE { ?k property:P40 resource:Q376577 . ?k rdf:type ontology:Q6619679 }
Kyle Reese Sarah Connor
Kyle Reese and Sarah Connor have that one as an offspring
Kyle Reese Sarah Connor
action filter_type
action find_reverse
entity John Connor
relation child
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'child', 'John Connor']
SELECT DISTINCT ?k WHERE { ?k property:child resource:John_Connor . ?k rdf:type ontology:fictional_humanoid }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4679516
P1038
Q6619679
USER
Are Adam Morgan related to those ones ?
(Q4679516,P1038,Q592358) (Q4679516,P1038,Q496437)
action is_in
entity prev_answer
action find
entity Q4679516
relation P1038
['Q4679516', 'P1038', 'Q592358'] ['Q4679516', 'P1038', 'Q496437']
ASK WHERE { resource:Q4679516 property:P1038 ?l . VALUES ( ?l ) { ( resource:Q592358 ) ( resource:Q496437 ) } }
Adam Morgan
action is_in
entity prev_answer
action find
entity Adam Morgan
relation relative
['Adam Morgan', 'relative', 'Kyle Reese'] ['Adam Morgan', 'relative', 'Sarah Connor']
ASK WHERE { resource:Adam_Morgan property:relative ?l . VALUES ( ?l ) { ( resource:Kyle_Reese ) ( resource:Sarah_Connor ) } }
[]
fictional humanoid
SYSTEM
NO
(Q4679516,P1038,Q592358) (Q4679516,P1038,Q496437)
action is_in
entity prev_answer
action find
entity Q4679516
relation P1038
[ANSWER]
['Q4679516', 'P1038', 'Q592358'] ['Q4679516', 'P1038', 'Q496437']
ASK WHERE { resource:Q4679516 property:P1038 ?l . VALUES ( ?l ) { ( resource:Q592358 ) ( resource:Q496437 ) } }
No
action is_in
entity prev_answer
action find
entity Adam Morgan
relation relative
['Adam Morgan', 'relative', 'Kyle Reese'] ['Adam Morgan', 'relative', 'Sarah Connor']
ASK WHERE { resource:Adam_Morgan property:relative ?l . VALUES ( ?l ) { ( resource:Kyle_Reese ) ( resource:Sarah_Connor ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q460262 Q691693
P27
Q15617994
USER
Is Kottes-Purk the native country of May McAvoy ?
(Q460262,P27,Q691693)
action is_in
entity Q691693
action find
entity Q460262
relation P27
['Q460262', 'P27', 'Q691693']
ASK WHERE { resource:Q460262 property:P27 resource:Q691693 }
May McAvoy Kottes-Purk
action is_in
entity Kottes-Purk
action find
entity May McAvoy
relation country of citizenship
['May McAvoy', 'country of citizenship', 'Kottes-Purk']
ASK WHERE { resource:May_McAvoy property:country_of_citizenship resource:Kottes-Purk }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q460262,P27,Q691693)
action is_in
entity Q691693
action find
entity Q460262
relation P27
[ANSWER]
['Q460262', 'P27', 'Q691693']
ASK WHERE { resource:Q460262 property:P27 resource:Q691693 }
No
action is_in
entity Kottes-Purk
action find
entity May McAvoy
relation country of citizenship
['May McAvoy', 'country of citizenship', 'Kottes-Purk']
ASK WHERE { resource:May_McAvoy property:country_of_citizenship resource:Kottes-Purk }
[]