Simple Question (Direct)
Simple Question
Q1036665
P264
Q334453
USER
Who sponsored the recoding of Noriyuki Higashiyama ?
(Q1036665,P264,c(Q334453))
action filter_type
action find
entity Q1036665
relation P264
type Q334453
['Q1036665', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?n WHERE { resource:Q1036665 property:P264 ?n . ?n rdf:type ontology:Q334453 }
Noriyuki Higashiyama
action filter_type
action find
entity Noriyuki Higashiyama
relation record label
type division
['Noriyuki Higashiyama', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?n WHERE { resource:Noriyuki_Higashiyama property:record_label ?n . ?n rdf:type ontology:division }
[]
division
Q1064327
SYSTEM
Johnny & Associates
Q1064327
(Q1036665,P264,c(Q334453))
action filter_type
action find
entity Q1036665
relation P264
type Q334453
[ANSWER] sponsored the recoding of Noriyuki Higashiyama
['Q1036665', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?n WHERE { resource:Q1036665 property:P264 ?n . ?n rdf:type ontology:Q334453 }
Johnny & Associates
Johnny & Associates sponsored the recoding of Noriyuki Higashiyama
Johnny & Associates
action filter_type
action find
entity Noriyuki Higashiyama
relation record label
type division
['Noriyuki Higashiyama', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?n WHERE { resource:Noriyuki_Higashiyama property:record_label ?n . ?n rdf:type ontology:division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1036665
P26
Q502895
USER
Who is the spouse of Noriyuki Higashiyama ?
(Q1036665,P26,c(Q502895))
action filter_type
action find
entity Q1036665
relation P26
type Q502895
['Q1036665', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q1036665 property:P26 ?d . ?d rdf:type ontology:Q502895 }
Noriyuki Higashiyama
action filter_type
action find
entity Noriyuki Higashiyama
relation spouse
type common name
['Noriyuki Higashiyama', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Noriyuki_Higashiyama property:spouse ?d . ?d rdf:type ontology:common_name }
[]
common name
Q1143649
SYSTEM
Yoshino Kimura
Q1143649
(Q1036665,P26,c(Q502895))
action filter_type
action find
entity Q1036665
relation P26
type Q502895
The spouse of Noriyuki Higashiyama is the [ANSWER]
['Q1036665', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q1036665 property:P26 ?d . ?d rdf:type ontology:Q502895 }
Yoshino Kimura
The spouse of Noriyuki Higashiyama is the Yoshino Kimura
Yoshino Kimura
action filter_type
action find
entity Noriyuki Higashiyama
relation spouse
type common name
['Noriyuki Higashiyama', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Noriyuki_Higashiyama property:spouse ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1143649
P161
Q838948
USER
Which works of art stars that person as actor ?
(c(Q838948),P161,Q1143649)
action filter_type
action find_reverse
entity Q1143649
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q1143649']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q838948 . ?j property:P161 resource:Q1143649 }
Yoshino Kimura
action filter_type
action find_reverse
entity Yoshino Kimura
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Yoshino Kimura']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:work_of_art . ?j property:cast_member resource:Yoshino_Kimura }
[]
work of art
Q838405 Q1153431 Q4696545
SYSTEM
Blindness, Sukiyaki Western Django, Aibō the Movie
Q4558389 Q838405 Q1153431 Q1724012 Q4839598 Q18772233 Q1364843 Q1369579 Q4696545 Q16955595
(c(Q838948),P161,Q1143649)
action filter_type
action find_reverse
entity Q1143649
relation P161
type Q838948
[ANSWERS] star that person as actor
[{'concept': 'Q838948'}, 'P161', 'Q1143649']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q838948 . ?j property:P161 resource:Q1143649 }
Fine, Totally Fine Blindness Sukiyaki Western Django Glory to the Filmmaker! Backdancers! Lost Paradise Confessions Densen Uta Aibō the Movie The Samurai I Loved
Blindness, Sukiyaki Western Django and Aibō the Movie star that person as actor
Blindness Sukiyaki Western Django Aibō the Movie
action filter_type
action find_reverse
entity Yoshino Kimura
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Yoshino Kimura']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:work_of_art . ?j property:cast_member resource:Yoshino_Kimura }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1153431
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q1153431,P136,c(Q1792379))
action filter_type
action find
entity Q1153431
relation P136
type Q1792379
['Q1153431', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?f WHERE { resource:Q1153431 property:P136 ?f . ?f rdf:type ontology:Q1792379 }
Sukiyaki Western Django
action filter_type
action find
entity Sukiyaki Western Django
relation genre
type art genre
['Sukiyaki Western Django', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?f WHERE { resource:Sukiyaki_Western_Django property:genre ?f . ?f rdf:type ontology:art_genre }
[]
art genre
Clarification for simple ques.
Q838405
SYSTEM
Did you mean Blindness ?
Q838405 Q1153431 Q4696545
(Q838405,P136,c(Q1792379)) (Q1153431,P136,c(Q1792379)) (Q4696545,P136,c(Q1792379))
[ANSWER]
['Q838405', 'P136', {'concept': 'Q1792379'}] ['Q1153431', 'P136', {'concept': 'Q1792379'}] ['Q4696545', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?f WHERE { resource:Q1153431 property:P136 ?f . ?f rdf:type ontology:Q1792379 }
Blindness Sukiyaki Western Django Aibō the Movie
Did you mean Blindness ?
Blindness
['Blindness', 'genre', {'concept': 'art genre'}] ['Sukiyaki Western Django', 'genre', {'concept': 'art genre'}] ['Aibō the Movie', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?f WHERE { resource:Sukiyaki_Western_Django property:genre ?f . ?f rdf:type ontology:art_genre }
[]
Simple Question (Coreferenced)
USER
No, I meant Sukiyaki Western Django. Could you tell me the answer for that?
(Q1153431,P136,c(Q1792379))
Q1153431
['Q1153431', 'P136', {'concept': 'Q1792379'}]
['Sukiyaki Western Django', 'genre', {'concept': 'art genre'}]
[]
Q172980
SYSTEM
Western
Q172980
(Q1153431,P136,c(Q1792379))
action filter_type
action find
entity Q1153431
relation P136
type Q1792379
[ANSWER] can be considered as category for that work of art
['Q1153431', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?f WHERE { resource:Q1153431 property:P136 ?f . ?f rdf:type ontology:Q1792379 }
Western
Western can be considered as category for that work of art
Western
action filter_type
action find
entity Sukiyaki Western Django
relation genre
type art genre
['Sukiyaki Western Django', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?f WHERE { resource:Sukiyaki_Western_Django property:genre ?f . ?f rdf:type ontology:art_genre }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5731938 Q1153431
P915 P17
Q15617994
USER
Which administrative territories were Sukiyaki Western Django filmed on or are Hepingmen Station present in ?
OR((Q1153431,P915,c(Q15617994)), (Q5731938,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1153431
relation P915
action find
entity Q5731938
relation P17
type Q15617994
{'OR': [['Q1153431', 'P915', {'concept': 'Q15617994'}], ['Q5731938', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q5731938 property:P17 ?d } UNION { resource:Q1153431 property:P915 ?d } } . ?d rdf:type ontology:Q15617994 }
Hepingmen Station Sukiyaki Western Django
action filter_type
action union
action find
entity Sukiyaki Western Django
relation filming location
action find
entity Hepingmen Station
relation country
type designation for an administrative territorial entity
{'OR': [['Sukiyaki Western Django', 'filming location', {'concept': 'designation for an administrative territorial entity'}], ['Hepingmen Station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Hepingmen_Station property:country ?d } UNION { resource:Sukiyaki_Western_Django property:filming_location ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q148
SYSTEM
Japan, People's Republic of China
Q17 Q148
OR((Q1153431,P915,c(Q15617994)), (Q5731938,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1153431
relation P915
action find
entity Q5731938
relation P17
type Q15617994
Sukiyaki Western Django were filmed or are Hepingmen Station present in both [ANSWERS]
{'OR': [['Q1153431', 'P915', {'concept': 'Q15617994'}], ['Q5731938', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q5731938 property:P17 ?d } UNION { resource:Q1153431 property:P915 ?d } } . ?d rdf:type ontology:Q15617994 }
Japan People's Republic of China
Sukiyaki Western Django were filmed or are Hepingmen Station present in both Japan and People's Republic of China
Japan People's Republic of China
action filter_type
action union
action find
entity Sukiyaki Western Django
relation filming location
action find
entity Hepingmen Station
relation country
type designation for an administrative territorial entity
{'OR': [['Sukiyaki Western Django', 'filming location', {'concept': 'designation for an administrative territorial entity'}], ['Hepingmen Station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Hepingmen_Station property:country ?d } UNION { resource:Sukiyaki_Western_Django property:filming_location ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q699224
P495
Q838948
USER
Do The Flowers of War have those administrative territories as their place of origin ?
(Q699224,P495,Q17) (Q699224,P495,Q148)
action is_in
entity prev_answer
action find
entity Q699224
relation P495
['Q699224', 'P495', 'Q17'] ['Q699224', 'P495', 'Q148']
ASK WHERE { resource:Q699224 property:P495 ?q . VALUES ( ?q ) { ( resource:Q17 ) ( resource:Q148 ) } }
The Flowers of War
action is_in
entity prev_answer
action find
entity The Flowers of War
relation country of origin
['The Flowers of War', 'country of origin', 'Japan'] ['The Flowers of War', 'country of origin', "People's Republic of China"]
ASK WHERE { resource:The_Flowers_of_War property:country_of_origin ?q . VALUES ( ?q ) { ( resource:Japan ) ( resource:People's_Republic_of_China ) } }
[]
work of art
SYSTEM
YES
(Q699224,P495,Q17) (Q699224,P495,Q148)
action is_in
entity prev_answer
action find
entity Q699224
relation P495
[ANSWER]
['Q699224', 'P495', 'Q17'] ['Q699224', 'P495', 'Q148']
ASK WHERE { resource:Q699224 property:P495 ?q . VALUES ( ?q ) { ( resource:Q17 ) ( resource:Q148 ) } }
Yes
action is_in
entity prev_answer
action find
entity The Flowers of War
relation country of origin
['The Flowers of War', 'country of origin', 'Japan'] ['The Flowers of War', 'country of origin', "People's Republic of China"]
ASK WHERE { resource:The_Flowers_of_War property:country_of_origin ?q . VALUES ( ?q ) { ( resource:Japan ) ( resource:People's_Republic_of_China ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have ambassadorial relations with exactly 106 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 106
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?a = 106 ) . { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?a ) WHERE { ?k property:P530 ?s . ?k rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 } GROUP BY ?k } }
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 106
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?a = 106 ) . { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?a ) WHERE { ?k property:diplomatic_relation ?s . ?k rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } }
[]
designation for an administrative territorial entity political territorial entity
Q408
SYSTEM
Australia
Q408
(c(Q1048835),P530,c(Q15617994))
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 106
[ANSWER] have ambassadorial relations with exactly 106 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?a = 106 ) . { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?a ) WHERE { ?k property:P530 ?s . ?k rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 } GROUP BY ?k } }
Australia
Australia have ambassadorial relations with exactly 106 administrative territories
Australia
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 106
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?a = 106 ) . { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?a ) WHERE { ?k property:diplomatic_relation ?s . ?k rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q838405
P162
Q502895
USER
Which person produced that work of art ?
(Q408,P162,c(Q502895))
action filter_type
action find
entity Q838405
relation P162
type Q502895
['Q408', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q838405 property:P162 ?h }
Blindness
action filter_type
action find
entity Blindness
relation producer
type common name
['Australia', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Blindness property:producer ?h }
[]
common name
Q3342247
SYSTEM
Niv Fichman
Q3342247
(Q408,P162,c(Q502895))
action filter_type
action find
entity Q838405
relation P162
type Q502895
[ANSWER] produced that work of art
['Q408', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q838405 property:P162 ?h }
Niv Fichman
Niv Fichman produced that work of art
Niv Fichman
action filter_type
action find
entity Blindness
relation producer
type common name
['Australia', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Blindness property:producer ?h }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3342247 Q7578068
P162
Q838948
USER
Did Spiritkeeper create that person ?
(Q7578068,P162,Q3342247)
action is_in
entity Q7578068
action find
entity Q3342247
relation P162
['Q7578068', 'P162', 'Q3342247']
ASK WHERE { resource:Q3342247 property:P162 resource:Q7578068 }
Niv Fichman Spiritkeeper
action is_in
entity Spiritkeeper
action find
entity Niv Fichman
relation producer
['Spiritkeeper', 'producer', 'Niv Fichman']
ASK WHERE { resource:Niv_Fichman property:producer resource:Spiritkeeper }
[]
work of art
SYSTEM
NO
(Q7578068,P162,Q3342247)
action is_in
entity Q7578068
action find
entity Q3342247
relation P162
[ANSWER]
['Q7578068', 'P162', 'Q3342247']
ASK WHERE { resource:Q3342247 property:P162 resource:Q7578068 }
No
action is_in
entity Spiritkeeper
action find
entity Niv Fichman
relation producer
['Spiritkeeper', 'producer', 'Niv Fichman']
ASK WHERE { resource:Niv_Fichman property:producer resource:Spiritkeeper }
[]