Simple Question (Direct)
Simple Question
Q2414601
P140
Q879146
USER
What is the religious affiliation of Ulf Ekman ?
(Q2414601,P140,c(Q879146))
action filter_type
action find
entity Q2414601
relation P140
type Q879146
['Q2414601', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q879146 . resource:Q2414601 property:P140 ?a }
Ulf Ekman
action filter_type
action find
entity Ulf Ekman
relation religion
type Christian denomination
['Ulf Ekman', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Christian_denomination . resource:Ulf_Ekman property:religion ?a }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q2414601,P140,c(Q879146))
action filter_type
action find
entity Q2414601
relation P140
type Q879146
The religious affiliation of Ulf Ekman is a [ANSWER]
['Q2414601', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q879146 . resource:Q2414601 property:P140 ?a }
Roman Catholic Church
The religious affiliation of Ulf Ekman is a Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Ulf Ekman
relation religion
type Christian denomination
['Ulf Ekman', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Christian_denomination . resource:Ulf_Ekman property:religion ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2414601
P22
Q502895
USER
Who has that one as a father ?
(c(Q502895),P22,Q9592)
action filter_type
action find_reverse
entity Q2414601
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q9592']
SELECT DISTINCT ?a WHERE { ?a property:P22 resource:Q2414601 . ?a rdf:type ontology:Q502895 }
Ulf Ekman
action filter_type
action find_reverse
entity Ulf Ekman
relation father
type common name
[{'concept': 'common name'}, 'father', 'Roman Catholic Church']
SELECT DISTINCT ?a WHERE { ?a property:father resource:Ulf_Ekman . ?a rdf:type ontology:common_name }
[]
common name
Q5630631
SYSTEM
Jonathan Ekman
Q5630631
(c(Q502895),P22,Q9592)
action filter_type
action find_reverse
entity Q2414601
relation P22
type Q502895
[ANSWER] has that one as a father
[{'concept': 'Q502895'}, 'P22', 'Q9592']
SELECT DISTINCT ?a WHERE { ?a property:P22 resource:Q2414601 . ?a rdf:type ontology:Q502895 }
Jonathan Ekman
Jonathan Ekman has that one as a father
Jonathan Ekman
action filter_type
action find_reverse
entity Ulf Ekman
relation father
type common name
[{'concept': 'common name'}, 'father', 'Roman Catholic Church']
SELECT DISTINCT ?a WHERE { ?a property:father resource:Ulf_Ekman . ?a rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q5630631 Q572178
P27
Q15617994
USER
Is that person an inhabitant of Loiching ?
(Q5630631,P27,Q572178)
action is_in
entity Q572178
action find
entity Q5630631
relation P27
['Q5630631', 'P27', 'Q572178']
ASK WHERE { resource:Q5630631 property:P27 resource:Q572178 }
Jonathan Ekman Loiching
action is_in
entity Loiching
action find
entity Jonathan Ekman
relation country of citizenship
['Jonathan Ekman', 'country of citizenship', 'Loiching']
ASK WHERE { resource:Jonathan_Ekman property:country_of_citizenship resource:Loiching }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q5630631,P27,Q572178)
action is_in
entity Q572178
action find
entity Q5630631
relation P27
[ANSWER]
['Q5630631', 'P27', 'Q572178']
ASK WHERE { resource:Q5630631 property:P27 resource:Q572178 }
No
action is_in
entity Loiching
action find
entity Jonathan Ekman
relation country of citizenship
['Jonathan Ekman', 'country of citizenship', 'Loiching']
ASK WHERE { resource:Jonathan_Ekman property:country_of_citizenship resource:Loiching }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2414601
P734
Q82799
USER
Who has the surname Ulf Ekman ?
(Q2414601,P734,c(Q82799))
action filter_type
action find
entity Q2414601
relation P734
type Q82799
['Q2414601', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q82799 . resource:Q2414601 property:P734 ?f }
Ulf Ekman
action filter_type
action find
entity Ulf Ekman
relation family name
type name
['Ulf Ekman', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:name . resource:Ulf_Ekman property:family_name ?f }
[]
name
Q21448697
SYSTEM
Ekman
Q21448697
(Q2414601,P734,c(Q82799))
action filter_type
action find
entity Q2414601
relation P734
type Q82799
[ANSWER] has the surname Ulf [ANSWER]
['Q2414601', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q82799 . resource:Q2414601 property:P734 ?f }
Ekman
Ekman has the surname Ulf Ekman
Ekman
action filter_type
action find
entity Ulf Ekman
relation family name
type name
['Ulf Ekman', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:name . resource:Ulf_Ekman property:family_name ?f }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q418649
Q82799
USER
And also tell me about Akio Ōtsuka?
(Q418649,P734,c(Q82799))
action filter_type
action find
entity Q418649
relation P734
type Q82799
['Q418649', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q418649 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Akio Ōtsuka
action filter_type
action find
entity Akio Ōtsuka
relation family name
type name
['Akio Ōtsuka', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Akio_Ōtsuka property:family_name ?n . ?n rdf:type ontology:name }
[]
name
Q21448609
SYSTEM
Otsuka
Q21448609
(Q418649,P734,c(Q82799))
action filter_type
action find
entity Q418649
relation P734
type Q82799
[ANSWER]
['Q418649', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q418649 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Otsuka
Otsuka
action filter_type
action find
entity Akio Ōtsuka
relation family name
type name
['Akio Ōtsuka', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Akio_Ōtsuka property:family_name ?n . ?n rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P734
Q502895
USER
How many people have that name as last name ?
(c(Q502895),P734,Q21448609)
action count
action filter_type
action find_reverse
entity Q21448609
relation P734
type Q502895
[{'concept': 'Q502895'}, 'P734', 'Q21448609']
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { ?y property:P734 resource:Q21448609 . ?y rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Otsuka
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Otsuka']
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { ?y property:family_name resource:Otsuka . ?y rdf:type ontology:common_name }
[]
common name
SYSTEM
143
Q11433972 Q11433973 Q7677366 Q1207010 Q17222645 Q9124903 Q6425965 Q11434126 Q11434129 Q11434114 Q17227933 Q11434113 Q11434112 Q11434110 Q11434116 Q2093080 Q11433945 Q6884532 Q17222618 Q16264791 Q16264790 Q16264793 Q16264792 Q16264795 Q16264794 Q16264789 Q471108 Q3657024 Q231479 Q9124864 Q11261302 Q11433970 Q11434046 Q6144742 Q6884846 Q11434083 Q11433928 Q6561523 Q11434049 Q11434048 Q11434041 Q11434042 Q11434045 Q11434044 Q11434047 Q17361272 Q11434058 Q11434059 Q11434052 Q11434050 Q11434051 Q7502457 Q11434067 Q11434066 Q11434063 Q11434062 Q11434060 Q11434108 Q11434073 Q11434074 Q11434075 Q11434077 Q11434079 Q11434004 Q11434006 Q11434001 Q11434000 Q11434096 Q11434094 Q11434095 Q11434014 Q11434015 Q11434013 Q11434010 Q11434011 Q11434018 Q11433932 Q11434069 Q11434065 Q11434022 Q11434021 Q11434025 Q11434035 Q11434036 Q11434030 Q11434031 Q11434032 Q11434033 Q11433949 Q11433948 Q11434078 Q11434089 Q11434085 Q11434084 Q11434082 Q11433929 Q11434092 Q11434090 Q11434091 Q11433931 Q11433933 Q7678536 Q11433955 Q11433952 Q11433953 Q11433958 Q11433959 Q17129113 Q17129114 Q11433969 Q11433960 Q11433930 Q11433978 Q11433975 Q11433977 Q11433957 Q11433950 Q11433951 Q3049381 Q17349787 Q11434127 Q11434125 Q11434122 Q11434120 Q11433995 Q11433999 Q11261530 Q11434111 Q11434109 Q11434104 Q11434106 Q11434107 Q11434100 Q11434102 Q11434103 Q17989623 Q418649 Q11433968 Q11434019 Q2320151 Q5530862 Q3246120 Q1524490
(c(Q502895),P734,Q21448609)
action count
action filter_type
action find_reverse
entity Q21448609
relation P734
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P734', 'Q21448609']
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { ?y property:P734 resource:Q21448609 . ?y rdf:type ontology:Q502895 }
Kanako Ōtsuka Yūzō Ōtsuka Takashi Otsuka Chikao Ōtsuka Yoshimitsu Ōtsuka Mai Ōtsuka Kohei Otsuka Tsuruo Ōtsuka Ryūji Ōtsuka Yūji Ōtsuka Shūichi Ōtsuka Takashi Ōtsuka Takafumi Ōtsuka Gin'etsu Ōtsuka Masahiko Ōtsuka Shohei Otsuka Kumiko Ōtsuka Miyu Otsuka Kōji Ōtsuka Kotomi Ōtsuka Keisuke Ōtsuka Mitsunobu Ōtsuka Masahiko Ōtsuka Mieko Ōtsuka Mami Ōtsuka Ichirō Ōtsuka Tadashi Ohtsuka Ōtsuka Hisao Ai Otsuka Saki Ōtsuka Rei Ōtsuka Rie Ōtsuka Tomonori Ōtsuka Seiichi Ōtsuka Mizuki Ōtsuka Shin'ichirō Ōtsuka Hikari Ōtsuka Ōtsuka Takayasu Yuriko Ōtsuka Tomoko Ōtsuka Atsuko Ōtsuka Keisetsu Ōtsuka Akira Ōtsuka Fumio Ōtsuka Tomoyuki Ōtsuka Kazuhiko Ōtsuka Eizaburō Ōtsuka Ryūtarō Ōtsuka Sueko Ōtsuka Yūshō Ōtsuka Tomoyuki Ōtsuka Shota Otsuka Busaburō Ōtsuka Masanori Ōtsuka Masahito Ōtsuka Shinzan Ōtsuka Katsura Ōtsuka Kinnosuke Ōtsuka Jun Ōtsuka Atsuhiro Ōtsuka Seijirō Ōtsuka Yumi Ōtsuka Tadashi Ōtsuka Keijirō Ōtsuka Zenshō Ōtsuka Kazuyoshi Ōtsuka Kazuo Ōtsuka Yūto Ōtsuka Hiroshi Ōtsuka Hiroko Ōtsuka Muneharu Ōtsuka Miyako Ōtsuka Anri Ōtsuka Tarō Ōtsuka Naoko Ōtsuka Torahiko Ōtsuka Yoshitaka Ōtsuka Mizuki Ōtsuka Masatomi Ōtsuka Shōji Ōtsuka Fumiko Ōtsuka Takahito Ōtsuka Tōru Ōtsuka Shirō Ōtsuka Kōnosuke Ōtsuka Yukio Ōtsuka Hiroshi Ōtsuka Yasuo Ōtsuka Ryō Ōtsuka Tōru Ōtsuka Yumi Ōtsuka Yoshitaka Ōtsuka Norikazu Otsuka Junko Ōtsuka Setsuji Ōtsuka Hina Ōtsuka Yoshie Ōtsuka Ryōko Ōtsuka Yoshiki Ōtsuka Masaji Ōtsuka Mina Ōtsuka Taku Otsuka Yasuji Ōtsuka Toshirō Ōtsuka Yasuji Ōtsuka Ken Ōtsuka Ken'ichi Ōtsuka Saori Ōtsuka Tatsuya Ōtsuka Hatsushige Ōtsuka Ken'ichirō Ōtsuka Mae Ōtsuka Takuo Ōtsuka Katsuo Ōtsuka Chiaki Ōtsuka Nobukazu Ōtsuka Hitoshi Ōtsuka Shunsuke Ōtsuka Eiji Ōtsuka Takehiro Ōtsuka Mao Ōtsuka Takanobu Ōtsuka Yasuharu Ōtsuka Tsuyuna Ōtsuka Hirofumi Ōtsuka Kichibee Ōtsuka Yūzō Ōtsuka Mutsutake Ōtsuka Noyuri Ōtsuka Ken'ichi Ōtsuka Michiko Ōtsuka Kunihiko Ōtsuka Yutaka Otsuka Toyomi Ōtsuka Takahiro Ōtsuka Kazumasa Ōtsuka Akio Ōtsuka Kimiko Ōtsuka Tomio Ōtsuka Yasuo Ōtsuka Gen Ōtsuka Kazuyuki Otsuka Shinji Otsuka
143
action count
action filter_type
action find_reverse
entity Otsuka
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Otsuka']
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { ?y property:family_name resource:Otsuka . ?y rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q5630631
P21 P40
Q502895
USER
Which people have Jonathan Ekman as an offspring and have the gender as male ?
AND((c(Q502895),P40,Q5630631), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q5630631
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q5630631'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P40 resource:Q5630631 . ?c property:P21 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
male Jonathan Ekman
action filter_type
action intersection
action find_reverse
entity Jonathan Ekman
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Jonathan Ekman'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:child resource:Jonathan_Ekman . ?c property:gender resource:male . ?c rdf:type ontology:common_name }
[]
common name
Q2414601
SYSTEM
Ulf Ekman
Q2414601
AND((c(Q502895),P40,Q5630631), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q5630631
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Jonathan Ekman as an offspring and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q5630631'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P40 resource:Q5630631 . ?c property:P21 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
Ulf Ekman
Ulf Ekman have Jonathan Ekman as an offspring and have the gender as male
Ulf Ekman
action filter_type
action intersection
action find_reverse
entity Jonathan Ekman
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Jonathan Ekman'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:child resource:Jonathan_Ekman . ?c property:gender resource:male . ?c rdf:type ontology:common_name }
[]