Simple Question (Direct)
Simple Question
Q465406
P106
Q12737077
USER
What are the professions of Nelson Lee ?
(Q465406,P106,c(Q12737077))
action filter_type
action find
entity Q465406
relation P106
type Q12737077
['Q465406', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q465406 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Nelson Lee
action filter_type
action find
entity Nelson Lee
relation occupation
type occupation
['Nelson Lee', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Nelson_Lee property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q33999 Q947873 Q2259451
SYSTEM
actor, television presenter, stage actor
Q33999 Q947873 Q2259451
(Q465406,P106,c(Q12737077))
action filter_type
action find
entity Q465406
relation P106
type Q12737077
The professions of Nelson Lee are stage [ANSWERS]
['Q465406', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q465406 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
actor television presenter stage actor
The professions of Nelson Lee are stage actor, television presenter and stage actor
actor television presenter stage actor
action filter_type
action find
entity Nelson Lee
relation occupation
type occupation
['Nelson Lee', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Nelson_Lee property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q465406
P161
Q15416
USER
Which television program does Nelson Lee star in ?
(c(Q15416),P161,Q465406)
action filter_type
action find_reverse
entity Q465406
relation P161
type Q15416
[{'concept': 'Q15416'}, 'P161', 'Q465406']
SELECT DISTINCT ?b WHERE { ?b property:P161 resource:Q465406 . ?b rdf:type ontology:Q15416 }
Nelson Lee
action filter_type
action find_reverse
entity Nelson Lee
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Nelson Lee']
SELECT DISTINCT ?b WHERE { ?b property:cast_member resource:Nelson_Lee . ?b rdf:type ontology:television_program }
[]
television program
Q583870
SYSTEM
Blade: The Series
Q583870
(c(Q15416),P161,Q465406)
action filter_type
action find_reverse
entity Q465406
relation P161
type Q15416
Nelson Lee stars in [ANSWER]
[{'concept': 'Q15416'}, 'P161', 'Q465406']
SELECT DISTINCT ?b WHERE { ?b property:P161 resource:Q465406 . ?b rdf:type ontology:Q15416 }
Blade: The Series
Nelson Lee stars in Blade: The Series
Blade: The Series
action filter_type
action find_reverse
entity Nelson Lee
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Nelson Lee']
SELECT DISTINCT ?b WHERE { ?b property:cast_member resource:Nelson_Lee . ?b rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q465406
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q583870,P19,c(Q56061))
action filter_type
action find
entity Q465406
relation P19
type Q56061
['Q583870', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q465406 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Nelson Lee
action filter_type
action find
entity Nelson Lee
relation place of birth
type administrative territorial entity
['Blade: The Series', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Nelson_Lee property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1867
SYSTEM
Taipei
Q1867
(Q583870,P19,c(Q56061))
action filter_type
action find
entity Q465406
relation P19
type Q56061
That person was born in [ANSWER]
['Q583870', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q465406 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Taipei
That person was born in Taipei
Taipei
action filter_type
action find
entity Nelson Lee
relation place of birth
type administrative territorial entity
['Blade: The Series', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Nelson_Lee property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1867
P291
Q2342494
USER
Which collectable was published in that administrative territory ?
(c(Q2342494),P291,Q1867)
action filter_type
action find_reverse
entity Q1867
relation P291
type Q2342494
[{'concept': 'Q2342494'}, 'P291', 'Q1867']
SELECT DISTINCT ?u WHERE { ?u property:P291 resource:Q1867 . ?u rdf:type ontology:Q2342494 }
Taipei
action filter_type
action find_reverse
entity Taipei
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Taipei']
SELECT DISTINCT ?u WHERE { ?u property:place_of_publication resource:Taipei . ?u rdf:type ontology:collectable }
[]
collectable
Q20718351
SYSTEM
Re:Zero kara Hajimeru Isekai Seikatsu
Q20718351
(c(Q2342494),P291,Q1867)
action filter_type
action find_reverse
entity Q1867
relation P291
type Q2342494
[ANSWER] was published in that administrative territory
[{'concept': 'Q2342494'}, 'P291', 'Q1867']
SELECT DISTINCT ?u WHERE { ?u property:P291 resource:Q1867 . ?u rdf:type ontology:Q2342494 }
Re:Zero kara Hajimeru Isekai Seikatsu
Re:Zero kara Hajimeru Isekai Seikatsu was published in that administrative territory
Re:Zero kara Hajimeru Isekai Seikatsu
action filter_type
action find_reverse
entity Taipei
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Taipei']
SELECT DISTINCT ?u WHERE { ?u property:place_of_publication resource:Taipei . ?u rdf:type ontology:collectable }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q20718351 Q11434083
P800
Q502895
USER
Does Shin'ichirō Ōtsuka have that collectable as a notable work ?
(Q11434083,P800,Q20718351)
action is_in
entity Q20718351
action find
entity Q11434083
relation P800
['Q11434083', 'P800', 'Q20718351']
ASK WHERE { resource:Q11434083 property:P800 resource:Q20718351 }
Re:Zero kara Hajimeru Isekai Seikatsu Shin'ichirō Ōtsuka
action is_in
entity Re:Zero kara Hajimeru Isekai Seikatsu
action find
entity Shin'ichirō Ōtsuka
relation notable work
["Shin'ichirō Ōtsuka", 'notable work', 'Re:Zero kara Hajimeru Isekai Seikatsu']
ASK WHERE { resource:Shin'ichirō_Ōtsuka property:notable_work resource:Re:Zero_kara_Hajimeru_Isekai_Seikatsu }
[]
common name
SYSTEM
YES
(Q11434083,P800,Q20718351)
action is_in
entity Q20718351
action find
entity Q11434083
relation P800
[ANSWER]
['Q11434083', 'P800', 'Q20718351']
ASK WHERE { resource:Q11434083 property:P800 resource:Q20718351 }
Yes
action is_in
entity Re:Zero kara Hajimeru Isekai Seikatsu
action find
entity Shin'ichirō Ōtsuka
relation notable work
["Shin'ichirō Ōtsuka", 'notable work', 'Re:Zero kara Hajimeru Isekai Seikatsu']
ASK WHERE { resource:Shin'ichirō_Ōtsuka property:notable_work resource:Re:Zero_kara_Hajimeru_Isekai_Seikatsu }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q465406
P27
Q1048835
USER
Which political territory is the country of citizenship of Nelson Lee ?
(Q465406,P27,c(Q1048835))
action filter_type
action find
entity Q465406
relation P27
type Q1048835
['Q465406', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q465406 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
Nelson Lee
action filter_type
action find
entity Nelson Lee
relation country of citizenship
type political territorial entity
['Nelson Lee', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Nelson_Lee property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q465406,P27,c(Q1048835))
action filter_type
action find
entity Q465406
relation P27
type Q1048835
[ANSWER] is the country of citizenship of Nelson Lee
['Q465406', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q465406 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
Canada
Canada is the country of citizenship of Nelson Lee
Canada
action filter_type
action find
entity Nelson Lee
relation country of citizenship
type political territorial entity
['Nelson Lee', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Nelson_Lee property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1513789
Q1048835
USER
And what about Germ?
(Q1513789,P27,c(Q1048835))
action filter_type
action find
entity Q1513789
relation P27
type Q1048835
['Q1513789', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q1513789 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
Germ
action filter_type
action find
entity Germ
relation country of citizenship
type political territorial entity
['Germ', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Germ property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1513789,P27,c(Q1048835))
action filter_type
action find
entity Q1513789
relation P27
type Q1048835
[ANSWER]
['Q1513789', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q1513789 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
Germany
Germany
action filter_type
action find
entity Germ
relation country of citizenship
type political territorial entity
['Germ', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Germ property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1513789
P21
Q290
USER
Which sex does that person possess ?
(Q183,P21,c(Q290))
action filter_type
action find
entity Q1513789
relation P21
type Q290
['Q183', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q290 . resource:Q1513789 property:P21 ?h }
Germ
action filter_type
action find
entity Germ
relation gender
type sex
['Germany', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sex . resource:Germ property:gender ?h }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q183,P21,c(Q290))
action filter_type
action find
entity Q1513789
relation P21
type Q290
That person possesses a [ANSWER]
['Q183', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q290 . resource:Q1513789 property:P21 ?h }
male
That person possesses a male
male
action filter_type
action find
entity Germ
relation gender
type sex
['Germany', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sex . resource:Germ property:gender ?h }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q947873
P106
Q15619164 Q95074
USER
How many abstract beings or fictional characters have television presenter as his/her means of employment ?
(c(Q15619164),P106,Q947873) (c(Q95074),P106,Q947873)
action count
action union
action filter_type
action find_reverse
entity Q947873
relation P106
type Q15619164
action filter_type
action find_reverse
entity Q947873
relation P106
type Q95074
[{'concept': 'Q15619164'}, 'P106', 'Q947873'] [{'concept': 'Q95074'}, 'P106', 'Q947873']
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { VALUES ( ?g ) { ( ontology:Q15619164 ) ( ontology:Q95074 ) } . ?q rdf:type ?g }
television presenter
action count
action union
action filter_type
action find_reverse
entity television presenter
relation occupation
type abstract being
action filter_type
action find_reverse
entity television presenter
relation occupation
type fictional character
[{'concept': 'abstract being'}, 'occupation', 'television presenter'] [{'concept': 'fictional character'}, 'occupation', 'television presenter']
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { VALUES ( ?g ) { ( ontology:abstract_being ) ( ontology:fictional_character ) } . ?q rdf:type ?g }
[]
abstract being fictional character
SYSTEM
4
Q5879283 Q2881846 Q3259815 Q8704
(c(Q15619164),P106,Q947873) (c(Q95074),P106,Q947873)
action count
action union
action filter_type
action find_reverse
entity Q947873
relation P106
type Q15619164
action filter_type
action find_reverse
entity Q947873
relation P106
type Q95074
[ANSWER]
[{'concept': 'Q15619164'}, 'P106', 'Q947873'] [{'concept': 'Q95074'}, 'P106', 'Q947873']
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { VALUES ( ?g ) { ( ontology:Q15619164 ) ( ontology:Q95074 ) } . ?q rdf:type ?g }
Gianfranco Brero Guy Smiley Margreet Dolman Walt Disney
4
action count
action union
action filter_type
action find_reverse
entity television presenter
relation occupation
type abstract being
action filter_type
action find_reverse
entity television presenter
relation occupation
type fictional character
[{'concept': 'abstract being'}, 'occupation', 'television presenter'] [{'concept': 'fictional character'}, 'occupation', 'television presenter']
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { VALUES ( ?g ) { ( ontology:abstract_being ) ( ontology:fictional_character ) } . ?q rdf:type ?g }
[]