Simple Question (Direct)
Simple Question
Q4499742
P20
Q56061
USER
Where did the expiration of Tsuguo Hongo occur ?
(Q4499742,P20,c(Q56061))
action filter_type
action find
entity Q4499742
relation P20
type Q56061
['Q4499742', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q4499742 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Tsuguo Hongo
action filter_type
action find
entity Tsuguo Hongo
relation place of death
type administrative territorial entity
['Tsuguo Hongo', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Tsuguo_Hongo property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q202907
SYSTEM
Ōtsu
Q202907
(Q4499742,P20,c(Q56061))
action filter_type
action find
entity Q4499742
relation P20
type Q56061
The expiration of Tsuguo Hongo occurred in [ANSWER]
['Q4499742', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q4499742 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Ōtsu
The expiration of Tsuguo Hongo occurred in Ōtsu
Ōtsu
action filter_type
action find
entity Tsuguo Hongo
relation place of death
type administrative territorial entity
['Tsuguo Hongo', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Tsuguo_Hongo property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4499742
P106
Q12737077
USER
What do Tsuguo Hongo do for a living ?
(Q4499742,P106,c(Q12737077))
action filter_type
action find
entity Q4499742
relation P106
type Q12737077
['Q4499742', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q4499742 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Tsuguo Hongo
action filter_type
action find
entity Tsuguo Hongo
relation occupation
type occupation
['Tsuguo Hongo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Tsuguo_Hongo property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q864503 Q2487799
SYSTEM
biologist, mycologist
Q864503 Q2487799
(Q4499742,P106,c(Q12737077))
action filter_type
action find
entity Q4499742
relation P106
type Q12737077
Tsuguo Hongo do for a living Japanese [ANSWERS]
['Q4499742', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q4499742 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
biologist mycologist
Tsuguo Hongo do for a living Japanese biologist and mycologist
biologist mycologist
action filter_type
action find
entity Tsuguo Hongo
relation occupation
type occupation
['Tsuguo Hongo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Tsuguo_Hongo property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q22773142
Q12737077
USER
And what about Anne Stray?
(Q22773142,P106,c(Q12737077))
action filter_type
action find
entity Q22773142
relation P106
type Q12737077
['Q22773142', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q22773142 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Anne Stray
action filter_type
action find
entity Anne Stray
relation occupation
type occupation
['Anne Stray', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Anne_Stray property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q22773142,P106,c(Q12737077))
action filter_type
action find
entity Q22773142
relation P106
type Q12737077
[ANSWER]
['Q22773142', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q22773142 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
actor
actor
action filter_type
action find
entity Anne Stray
relation occupation
type occupation
['Anne Stray', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Anne_Stray property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22773142
P161
Q838948
USER
Which work of art stars that person as actor ?
(c(Q838948),P161,Q33999)
action filter_type
action find_reverse
entity Q22773142
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q33999']
SELECT DISTINCT ?j WHERE { ?j property:P161 resource:Q22773142 . ?j rdf:type ontology:Q838948 }
Anne Stray
action filter_type
action find_reverse
entity Anne Stray
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'actor']
SELECT DISTINCT ?j WHERE { ?j property:cast_member resource:Anne_Stray . ?j rdf:type ontology:work_of_art }
[]
work of art
Q17413595
SYSTEM
Fredrikssons fabrikk – The movie
Q17413595
(c(Q838948),P161,Q33999)
action filter_type
action find_reverse
entity Q22773142
relation P161
type Q838948
[ANSWER] stars that person as actor
[{'concept': 'Q838948'}, 'P161', 'Q33999']
SELECT DISTINCT ?j WHERE { ?j property:P161 resource:Q22773142 . ?j rdf:type ontology:Q838948 }
Fredrikssons fabrikk – The movie
Fredrikssons fabrikk – The movie stars that person as actor
Fredrikssons fabrikk – The movie
action filter_type
action find_reverse
entity Anne Stray
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'actor']
SELECT DISTINCT ?j WHERE { ?j property:cast_member resource:Anne_Stray . ?j rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12730828 Q22773142
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Anne Stray or Ion Cămărășescu ?
OR((Q22773142,P27,c(Q15617994)), (Q12730828,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q22773142
relation P27
action find
entity Q12730828
relation P27
type Q15617994
{'OR': [['Q22773142', 'P27', {'concept': 'Q15617994'}], ['Q12730828', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q22773142 property:P27 ?z } UNION { resource:Q12730828 property:P27 ?z } } . ?z rdf:type ontology:Q15617994 }
Ion Cămărășescu Anne Stray
action filter_type
action union
action find
entity Anne Stray
relation country of citizenship
action find
entity Ion Cămărășescu
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Anne Stray', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ion Cămărășescu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Anne_Stray property:country_of_citizenship ?z } UNION { resource:Ion_Cămărășescu property:country_of_citizenship ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20 Q218
SYSTEM
Norway, Romania
Q20 Q218
OR((Q22773142,P27,c(Q15617994)), (Q12730828,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q22773142
relation P27
action find
entity Q12730828
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Anne Stray or Ion Cămărășescu
{'OR': [['Q22773142', 'P27', {'concept': 'Q15617994'}], ['Q12730828', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q22773142 property:P27 ?z } UNION { resource:Q12730828 property:P27 ?z } } . ?z rdf:type ontology:Q15617994 }
Norway Romania
Norway and Romania are the countries of citizenship of Anne Stray or Ion Cămărășescu
Norway Romania
action filter_type
action union
action find
entity Anne Stray
relation country of citizenship
action find
entity Ion Cămărășescu
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Anne Stray', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ion Cămărășescu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Anne_Stray property:country_of_citizenship ?z } UNION { resource:Ion_Cămărășescu property:country_of_citizenship ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q20 Q218
P159
Q874405
USER
Which social groups have headquarters located at Norway and Romania ?
(c(Q874405),P159,Q20) (c(Q874405),P159,Q218)
action union
action filter_type
action find_reverse
entity Q20
relation P159
type Q874405
action filter_type
action find_reverse
entity Q218
relation P159
type Q874405
[{'concept': 'Q874405'}, 'P159', 'Q20'] [{'concept': 'Q874405'}, 'P159', 'Q218']
SELECT DISTINCT ?t WHERE { VALUES ( ?u ) { ( resource:Q20 ) ( resource:Q218 ) } . ?t property:P159 ?u }
Norway Romania
action union
action filter_type
action find_reverse
entity Norway
relation headquarters location
type social group
action filter_type
action find_reverse
entity Romania
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Norway'] [{'concept': 'social group'}, 'headquarters location', 'Romania']
SELECT DISTINCT ?t WHERE { VALUES ( ?u ) { ( resource:Norway ) ( resource:Romania ) } . ?t property:headquarters_location ?u }
[]
social group
Q7050700 Q12717119 Q6509096
SYSTEM
Nordic Institute of Dental Materials, Norwegian digital learning arena, League of Romanian Students Abroad
Q7050700 Q12717119 Q6509096 Q16211549
(c(Q874405),P159,Q20) (c(Q874405),P159,Q218)
action union
action filter_type
action find_reverse
entity Q20
relation P159
type Q874405
action filter_type
action find_reverse
entity Q218
relation P159
type Q874405
[ANSWERS] have headquarters located at Norway and Romania
[{'concept': 'Q874405'}, 'P159', 'Q20'] [{'concept': 'Q874405'}, 'P159', 'Q218']
SELECT DISTINCT ?t WHERE { VALUES ( ?u ) { ( resource:Q20 ) ( resource:Q218 ) } . ?t property:P159 ?u }
Nordic Institute of Dental Materials Norwegian digital learning arena League of Romanian Students Abroad Reaching Out Romania
Nordic Institute of Dental Materials, Norwegian digital learning arena and League of Romanian Students Abroad have headquarters located at Norway and Romania
Nordic Institute of Dental Materials Norwegian digital learning arena League of Romanian Students Abroad
action union
action filter_type
action find_reverse
entity Norway
relation headquarters location
type social group
action filter_type
action find_reverse
entity Romania
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Norway'] [{'concept': 'social group'}, 'headquarters location', 'Romania']
SELECT DISTINCT ?t WHERE { VALUES ( ?u ) { ( resource:Norway ) ( resource:Romania ) } . ?t property:headquarters_location ?u }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7050700 Q12717119 Q6509096
P159
Q15617994
USER
Which administrative territories are the head offices of those social groups ?
(Q7050700,P159,c(Q15617994)) (Q12717119,P159,c(Q15617994)) (Q6509096,P159,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P159
type Q15617994
['Q7050700', 'P159', {'concept': 'Q15617994'}] ['Q12717119', 'P159', {'concept': 'Q15617994'}] ['Q6509096', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?k ) { ( resource:Q7050700 ) ( resource:Q12717119 ) ( resource:Q6509096 ) } . ?e rdf:type ontology:Q15617994 . ?k property:P159 ?e }
Nordic Institute of Dental Materials Norwegian digital learning arena League of Romanian Students Abroad
action filter_type
action find
entity prev_answer
relation headquarters location
type designation for an administrative territorial entity
['Nordic Institute of Dental Materials', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Norwegian digital learning arena', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['League of Romanian Students Abroad', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?k ) { ( resource:Nordic_Institute_of_Dental_Materials ) ( resource:Norwegian_digital_learning_arena ) ( resource:League_of_Romanian_Students_Abroad ) } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:headquarters_location ?e }
[]
designation for an administrative territorial entity
Q20 Q20 Q218
SYSTEM
Norway for 1st, 2nd, Romania for 3rd
Q20 Q20 Q218
(Q7050700,P159,c(Q15617994)) (Q12717119,P159,c(Q15617994)) (Q6509096,P159,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P159
type Q15617994
[ANSWERS]
['Q7050700', 'P159', {'concept': 'Q15617994'}] ['Q12717119', 'P159', {'concept': 'Q15617994'}] ['Q6509096', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?k ) { ( resource:Q7050700 ) ( resource:Q12717119 ) ( resource:Q6509096 ) } . ?e rdf:type ontology:Q15617994 . ?k property:P159 ?e }
Norway Norway Romania
Norway, Norway and Romania are the head offices of those social groups
Norway Norway Romania
action filter_type
action find
entity prev_answer
relation headquarters location
type designation for an administrative territorial entity
['Nordic Institute of Dental Materials', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Norwegian digital learning arena', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['League of Romanian Students Abroad', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?k ) { ( resource:Nordic_Institute_of_Dental_Materials ) ( resource:Norwegian_digital_learning_arena ) ( resource:League_of_Romanian_Students_Abroad ) } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:headquarters_location ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20
P47
Q56061
USER
Which administrative territory has a shared border with Norway ?
(Q20,P47,c(Q56061))
action filter_type
action find
entity Q20
relation P47
type Q56061
['Q20', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q20 property:P47 ?e . ?e rdf:type ontology:Q56061 }
Norway
action filter_type
action find
entity Norway
relation shares border with
type administrative territorial entity
['Norway', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Norway property:shares_border_with ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q458
SYSTEM
European Union
Q458
(Q20,P47,c(Q56061))
action filter_type
action find
entity Q20
relation P47
type Q56061
The [ANSWER] has a shared border with Norway
['Q20', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q20 property:P47 ?e . ?e rdf:type ontology:Q56061 }
European Union
The European Union has a shared border with Norway
European Union
action filter_type
action find
entity Norway
relation shares border with
type administrative territorial entity
['Norway', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Norway property:shares_border_with ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]