Simple Question (Direct)
Simple Question
Q5042500
P57
Q502895
USER
Which person directed Tarzan and the Jungle Boy ?
(Q5042500,P57,c(Q502895))
action filter_type
action find
entity Q5042500
relation P57
type Q502895
['Q5042500', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q5042500 property:P57 ?c . ?c rdf:type ontology:Q502895 }
Tarzan and the Jungle Boy
action filter_type
action find
entity Tarzan and the Jungle Boy
relation director
type common name
['Tarzan and the Jungle Boy', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Tarzan_and_the_Jungle_Boy property:director ?c . ?c rdf:type ontology:common_name }
[]
common name
Q7344862
SYSTEM
Robert Gordon
Q7344862
(Q5042500,P57,c(Q502895))
action filter_type
action find
entity Q5042500
relation P57
type Q502895
The [ANSWER] directed Tarzan and the Jungle Boy
['Q5042500', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q5042500 property:P57 ?c . ?c rdf:type ontology:Q502895 }
Robert Gordon
The Robert Gordon directed Tarzan and the Jungle Boy
Robert Gordon
action filter_type
action find
entity Tarzan and the Jungle Boy
relation director
type common name
['Tarzan and the Jungle Boy', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Tarzan_and_the_Jungle_Boy property:director ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5042500
P495
Q15617994
USER
What is the origin of that work of art ?
(Q7344862,P495,c(Q15617994))
action filter_type
action find
entity Q5042500
relation P495
type Q15617994
['Q7344862', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q5042500 property:P495 ?l . ?l rdf:type ontology:Q15617994 }
Tarzan and the Jungle Boy
action filter_type
action find
entity Tarzan and the Jungle Boy
relation country of origin
type designation for an administrative territorial entity
['Robert Gordon', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Tarzan_and_the_Jungle_Boy property:country_of_origin ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7344862,P495,c(Q15617994))
action filter_type
action find
entity Q5042500
relation P495
type Q15617994
The origin of that work of art is the [ANSWER]
['Q7344862', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q5042500 property:P495 ?l . ?l rdf:type ontology:Q15617994 }
United States of America
The origin of that work of art is the United States of America
United States of America
action filter_type
action find
entity Tarzan and the Jungle Boy
relation country of origin
type designation for an administrative territorial entity
['Robert Gordon', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Tarzan_and_the_Jungle_Boy property:country_of_origin ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5042500
P462
Q1075
USER
Which color is associated with that work of art ?
(Q30,P462,c(Q1075))
action filter_type
action find
entity Q5042500
relation P462
type Q1075
['Q30', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?z WHERE { resource:Q5042500 property:P462 ?z . ?z rdf:type ontology:Q1075 }
Tarzan and the Jungle Boy
action filter_type
action find
entity Tarzan and the Jungle Boy
relation color
type color
['United States of America', 'color', {'concept': 'color'}]
SELECT DISTINCT ?z WHERE { resource:Tarzan_and_the_Jungle_Boy property:color ?z . ?z rdf:type ontology:color }
[]
color
Q22006653
SYSTEM
color
Q22006653
(Q30,P462,c(Q1075))
action filter_type
action find
entity Q5042500
relation P462
type Q1075
The [ANSWER] is associated with that work of art
['Q30', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?z WHERE { resource:Q5042500 property:P462 ?z . ?z rdf:type ontology:Q1075 }
color
The color is associated with that work of art
color
action filter_type
action find
entity Tarzan and the Jungle Boy
relation color
type color
['United States of America', 'color', {'concept': 'color'}]
SELECT DISTINCT ?z WHERE { resource:Tarzan_and_the_Jungle_Boy property:color ?z . ?z rdf:type ontology:color }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q22006653 Q283799
P462
Q838948
USER
Does xXx have color that one ?
(Q283799,P462,Q22006653)
action is_in
entity Q22006653
action find
entity Q283799
relation P462
['Q283799', 'P462', 'Q22006653']
ASK WHERE { resource:Q283799 property:P462 resource:Q22006653 }
color xXx
action is_in
entity color
action find
entity xXx
relation color
['xXx', 'color', 'color']
ASK WHERE { resource:xXx property:color resource:color }
[]
work of art
SYSTEM
YES
(Q283799,P462,Q22006653)
action is_in
entity Q22006653
action find
entity Q283799
relation P462
[ANSWER]
['Q283799', 'P462', 'Q22006653']
ASK WHERE { resource:Q283799 property:P462 resource:Q22006653 }
Yes
action is_in
entity color
action find
entity xXx
relation color
['xXx', 'color', 'color']
ASK WHERE { resource:xXx property:color resource:color }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q7344862 Q7337378
P27
Q15617994
USER
Is River East Transcona School Division the country of citizenship of Robert Gordon ?
(Q7344862,P27,Q7337378)
action is_in
entity Q7337378
action find
entity Q7344862
relation P27
['Q7344862', 'P27', 'Q7337378']
ASK WHERE { resource:Q7344862 property:P27 resource:Q7337378 }
Robert Gordon River East Transcona School Division
action is_in
entity River East Transcona School Division
action find
entity Robert Gordon
relation country of citizenship
['Robert Gordon', 'country of citizenship', 'River East Transcona School Division']
ASK WHERE { resource:Robert_Gordon property:country_of_citizenship resource:River_East_Transcona_School_Division }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q7344862,P27,Q7337378)
action is_in
entity Q7337378
action find
entity Q7344862
relation P27
[ANSWER]
['Q7344862', 'P27', 'Q7337378']
ASK WHERE { resource:Q7344862 property:P27 resource:Q7337378 }
No
action is_in
entity River East Transcona School Division
action find
entity Robert Gordon
relation country of citizenship
['Robert Gordon', 'country of citizenship', 'River East Transcona School Division']
ASK WHERE { resource:Robert_Gordon property:country_of_citizenship resource:River_East_Transcona_School_Division }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5022163 Q7337378
P17
Q1048835
USER
Which political territories are River East Transcona School Division or Calling Lake, Alberta situated in ?
OR((Q7337378,P17,c(Q1048835)), (Q5022163,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q7337378
relation P17
action find
entity Q5022163
relation P17
type Q1048835
{'OR': [['Q7337378', 'P17', {'concept': 'Q1048835'}], ['Q5022163', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q7337378 property:P17 ?g } UNION { resource:Q5022163 property:P17 ?g } } . ?g rdf:type ontology:Q1048835 }
Calling Lake, Alberta River East Transcona School Division
action filter_type
action union
action find
entity River East Transcona School Division
relation country
action find
entity Calling Lake, Alberta
relation country
type political territorial entity
{'OR': [['River East Transcona School Division', 'country', {'concept': 'political territorial entity'}], ['Calling Lake, Alberta', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:River_East_Transcona_School_Division property:country ?g } UNION { resource:Calling_Lake,_Alberta property:country ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
OR((Q7337378,P17,c(Q1048835)), (Q5022163,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q7337378
relation P17
action find
entity Q5022163
relation P17
type Q1048835
[ANSWER] is River East Transcona School Division or Calling Lake, Alberta situated in
{'OR': [['Q7337378', 'P17', {'concept': 'Q1048835'}], ['Q5022163', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q7337378 property:P17 ?g } UNION { resource:Q5022163 property:P17 ?g } } . ?g rdf:type ontology:Q1048835 }
Canada
Canada is River East Transcona School Division or Calling Lake, Alberta situated in
Canada
action filter_type
action union
action find
entity River East Transcona School Division
relation country
action find
entity Calling Lake, Alberta
relation country
type political territorial entity
{'OR': [['River East Transcona School Division', 'country', {'concept': 'political territorial entity'}], ['Calling Lake, Alberta', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:River_East_Transcona_School_Division property:country ?g } UNION { resource:Calling_Lake,_Alberta property:country ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7344862
P19
Q5119
USER
Which capital was Robert Gordon born in ?
(Q7344862,P19,c(Q5119))
action filter_type
action find
entity Q7344862
relation P19
type Q5119
['Q7344862', 'P19', {'concept': 'Q5119'}]
SELECT DISTINCT ?i WHERE { resource:Q7344862 property:P19 ?i . ?i rdf:type ontology:Q5119 }
Robert Gordon
action filter_type
action find
entity Robert Gordon
relation place of birth
type capital
['Robert Gordon', 'place of birth', {'concept': 'capital'}]
SELECT DISTINCT ?i WHERE { resource:Robert_Gordon property:place_of_birth ?i . ?i rdf:type ontology:capital }
[]
capital
Q1342
SYSTEM
Pittsburgh
Q1342
(Q7344862,P19,c(Q5119))
action filter_type
action find
entity Q7344862
relation P19
type Q5119
Robert Gordon was born in [ANSWER]
['Q7344862', 'P19', {'concept': 'Q5119'}]
SELECT DISTINCT ?i WHERE { resource:Q7344862 property:P19 ?i . ?i rdf:type ontology:Q5119 }
Pittsburgh
Robert Gordon was born in Pittsburgh
Pittsburgh
action filter_type
action find
entity Robert Gordon
relation place of birth
type capital
['Robert Gordon', 'place of birth', {'concept': 'capital'}]
SELECT DISTINCT ?i WHERE { resource:Robert_Gordon property:place_of_birth ?i . ?i rdf:type ontology:capital }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q274127
Q5119
USER
And how about Mamo Clark?
(Q274127,P19,c(Q5119))
action filter_type
action find
entity Q274127
relation P19
type Q5119
['Q274127', 'P19', {'concept': 'Q5119'}]
SELECT DISTINCT ?y WHERE { resource:Q274127 property:P19 ?y . ?y rdf:type ontology:Q5119 }
Mamo Clark
action filter_type
action find
entity Mamo Clark
relation place of birth
type capital
['Mamo Clark', 'place of birth', {'concept': 'capital'}]
SELECT DISTINCT ?y WHERE { resource:Mamo_Clark property:place_of_birth ?y . ?y rdf:type ontology:capital }
[]
capital
Q18094
SYSTEM
Honolulu
Q18094
(Q274127,P19,c(Q5119))
action filter_type
action find
entity Q274127
relation P19
type Q5119
[ANSWER]
['Q274127', 'P19', {'concept': 'Q5119'}]
SELECT DISTINCT ?y WHERE { resource:Q274127 property:P19 ?y . ?y rdf:type ontology:Q5119 }
Honolulu
Honolulu
action filter_type
action find
entity Mamo Clark
relation place of birth
type capital
['Mamo Clark', 'place of birth', {'concept': 'capital'}]
SELECT DISTINCT ?y WHERE { resource:Mamo_Clark property:place_of_birth ?y . ?y rdf:type ontology:capital }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18094
P190
Q56061
USER
Which administrative territory is sister town of that capital ?
(Q18094,P190,c(Q56061))
action filter_type
action find
entity Q18094
relation P190
type Q56061
['Q18094', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q18094 property:P190 ?n . ?n rdf:type ontology:Q56061 }
Honolulu
action filter_type
action find
entity Honolulu
relation sister city
type administrative territorial entity
['Honolulu', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Honolulu property:sister_city ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q190187
SYSTEM
Sintra
Q190187
(Q18094,P190,c(Q56061))
action filter_type
action find
entity Q18094
relation P190
type Q56061
[ANSWER] is sister town of that capital
['Q18094', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q18094 property:P190 ?n . ?n rdf:type ontology:Q56061 }
Sintra
Sintra is sister town of that capital
Sintra
action filter_type
action find
entity Honolulu
relation sister city
type administrative territorial entity
['Honolulu', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Honolulu property:sister_city ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]