Simple Question (Direct)
Simple Question
Q2602573
P102
Q7210356
USER
Which party is Yūji Tsushima affiliated with ?
(Q2602573,P102,c(Q7210356))
action filter_type
action find
entity Q2602573
relation P102
type Q7210356
['Q2602573', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q2602573 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Yūji Tsushima
action filter_type
action find
entity Yūji Tsushima
relation member of political party
type political organization
['Yūji Tsushima', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Yūji_Tsushima property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
political organization
Q232595
SYSTEM
Liberal Democratic Party
Q232595
(Q2602573,P102,c(Q7210356))
action filter_type
action find
entity Q2602573
relation P102
type Q7210356
Yūji Tsushima is affiliated with [ANSWER]
['Q2602573', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q2602573 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Liberal Democratic Party
Yūji Tsushima is affiliated with Liberal Democratic Party
Liberal Democratic Party
action filter_type
action find
entity Yūji Tsushima
relation member of political party
type political organization
['Yūji Tsushima', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Yūji_Tsushima property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q232595
P1142
Q1047113
USER
Which special field is the political ideology of that one ?
(Q232595,P1142,c(Q1047113))
action filter_type
action find
entity Q232595
relation P1142
type Q1047113
['Q232595', 'P1142', {'concept': 'Q1047113'}]
SELECT DISTINCT ?p WHERE { resource:Q232595 property:P1142 ?p . ?p rdf:type ontology:Q1047113 }
Liberal Democratic Party
action filter_type
action find
entity Liberal Democratic Party
relation political ideology
type special field
['Liberal Democratic Party', 'political ideology', {'concept': 'special field'}]
SELECT DISTINCT ?p WHERE { resource:Liberal_Democratic_Party property:political_ideology ?p . ?p rdf:type ontology:special_field }
[]
special field
Q7169
SYSTEM
conservatism
Q7169
(Q232595,P1142,c(Q1047113))
action filter_type
action find
entity Q232595
relation P1142
type Q1047113
In [ANSWER] is the political ideology of that one
['Q232595', 'P1142', {'concept': 'Q1047113'}]
SELECT DISTINCT ?p WHERE { resource:Q232595 property:P1142 ?p . ?p rdf:type ontology:Q1047113 }
conservatism
In conservatism is the political ideology of that one
conservatism
action filter_type
action find
entity Liberal Democratic Party
relation political ideology
type special field
['Liberal Democratic Party', 'political ideology', {'concept': 'special field'}]
SELECT DISTINCT ?p WHERE { resource:Liberal_Democratic_Party property:political_ideology ?p . ?p rdf:type ontology:special_field }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q11564052 Q232595
P488 P7
Q502895
USER
Which people chaired Liberal Democratic Party or are the brother of Minamoto no Sadamu ?
OR((Q232595,P488,c(Q502895)), (Q11564052,P7,c(Q502895)))
action filter_type
action union
action find
entity Q232595
relation P488
action find
entity Q11564052
relation P7
type Q502895
{'OR': [['Q232595', 'P488', {'concept': 'Q502895'}], ['Q11564052', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q232595 property:P488 ?b } UNION { resource:Q11564052 property:P7 ?b } } . ?b rdf:type ontology:Q502895 }
Minamoto no Sadamu Liberal Democratic Party
action filter_type
action union
action find
entity Liberal Democratic Party
relation chairperson
action find
entity Minamoto no Sadamu
relation brother
type common name
{'OR': [['Liberal Democratic Party', 'chairperson', {'concept': 'common name'}], ['Minamoto no Sadamu', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Liberal_Democratic_Party property:chairperson ?b } UNION { resource:Minamoto_no_Sadamu property:brother ?b } } . ?b rdf:type ontology:common_name }
[]
common name
Q6863142 Q1284268 Q349271 Q11564329 Q11541388 Q132345 Q11564071 Q11564028 Q11564203 Q11564228
SYSTEM
Some of them are Minamoto no Makoto, Minamoto no Tōru, Ninmyō, Minamoto no Shizumu, Nariyoshi-shinnō, Shinzō Abe, Minamoto no Tokiwa, Minamoto no Hiraku, Minamoto no Kiyoshi, Minamoto no Ikeru
Q11564025 Q11564050 Q11564329 Q11564084 Q11564058 Q132345 Q11564228 Q11564028 Q11541388 Q11564111 Q6863142 Q11564071 Q349271 Q1284268 Q11564203
OR((Q232595,P488,c(Q502895)), (Q11564052,P7,c(Q502895)))
action filter_type
action union
action find
entity Q232595
relation P488
action find
entity Q11564052
relation P7
type Q502895
[ANSWERS] chaired Liberal Democratic Party or are the brother of Minamoto no Sadamu
{'OR': [['Q232595', 'P488', {'concept': 'Q502895'}], ['Q11564052', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q232595 property:P488 ?b } UNION { resource:Q11564052 property:P7 ?b } } . ?b rdf:type ontology:Q502895 }
Minamoto no Tsutomu Minamoto no Yasushi Minamoto no Shizumu Minamoto no Hiromu Minamoto no Yutaka Shinzō Abe Minamoto no Ikeru Minamoto no Hiraku Nariyoshi-shinnō Minamoto no Akira Minamoto no Makoto Minamoto no Tokiwa Ninmyō Minamoto no Tōru Minamoto no Kiyoshi
Minamoto no Makoto, Minamoto no Tōru, Ninmyō, Minamoto no Shizumu, Nariyoshi-shinnō, Shinzō Abe, Minamoto no Tokiwa, Minamoto no Hiraku, Minamoto no Kiyoshi and Minamoto no Ikeru chaired Liberal Democratic Party or are the brother of Minamoto no Sadamu
Minamoto no Makoto Minamoto no Tōru Ninmyō Minamoto no Shizumu Nariyoshi-shinnō Shinzō Abe Minamoto no Tokiwa Minamoto no Hiraku Minamoto no Kiyoshi Minamoto no Ikeru
action filter_type
action union
action find
entity Liberal Democratic Party
relation chairperson
action find
entity Minamoto no Sadamu
relation brother
type common name
{'OR': [['Liberal Democratic Party', 'chairperson', {'concept': 'common name'}], ['Minamoto no Sadamu', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Liberal_Democratic_Party property:chairperson ?b } UNION { resource:Minamoto_no_Sadamu property:brother ?b } } . ?b rdf:type ontology:common_name }
[]