Simple Question (Direct)
Simple Question
Q21070053
P20
Q56061
USER
Which administrative territory is the place of death of Yrjö Korholin-Koski ?
(Q21070053,P20,c(Q56061))
action filter_type
action find
entity Q21070053
relation P20
type Q56061
['Q21070053', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q21070053 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Yrjö Korholin-Koski
action filter_type
action find
entity Yrjö Korholin-Koski
relation place of death
type administrative territorial entity
['Yrjö Korholin-Koski', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Yrjö_Korholin-Koski property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q984358
SYSTEM
Lake Worth
Q984358
(Q21070053,P20,c(Q56061))
action filter_type
action find
entity Q21070053
relation P20
type Q56061
[ANSWER] is the place of death of Yrjö Korholin-Koski
['Q21070053', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q21070053 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Lake Worth
Lake Worth is the place of death of Yrjö Korholin-Koski
Lake Worth
action filter_type
action find
entity Yrjö Korholin-Koski
relation place of death
type administrative territorial entity
['Yrjö Korholin-Koski', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Yrjö_Korholin-Koski property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21070053
P641
Q31629
USER
What did that person participate in ?
(Q984358,P641,c(Q31629))
action filter_type
action find
entity Q21070053
relation P641
type Q31629
['Q984358', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?i WHERE { resource:Q21070053 property:P641 ?i . ?i rdf:type ontology:Q31629 }
Yrjö Korholin-Koski
action filter_type
action find
entity Yrjö Korholin-Koski
relation sport
type type of sport
['Lake Worth', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?i WHERE { resource:Yrjö_Korholin-Koski property:sport ?i . ?i rdf:type ontology:type_of_sport }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q984358,P641,c(Q31629))
action filter_type
action find
entity Q21070053
relation P641
type Q31629
That person participated in [ANSWER]
['Q984358', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?i WHERE { resource:Q21070053 property:P641 ?i . ?i rdf:type ontology:Q31629 }
athletics
That person participated in athletics
athletics
action filter_type
action find
entity Yrjö Korholin-Koski
relation sport
type type of sport
['Lake Worth', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?i WHERE { resource:Yrjö_Korholin-Koski property:sport ?i . ?i rdf:type ontology:type_of_sport }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q19631173 Q21070053
P641
Q31629
USER
And also Mohamed Magdi Hamza
AND((Q21070053,P641,c(Q31629)), (Q19631173,P641,c(Q31629)))
action filter_type
action intersection
action find
entity Q21070053
relation P641
action find
entity Q19631173
relation P641
type Q31629
{'AND': [['Q21070053', 'P641', {'concept': 'Q31629'}], ['Q19631173', 'P641', {'concept': 'Q31629'}]]}
SELECT DISTINCT ?s WHERE { resource:Q21070053 property:P641 ?s . resource:Q19631173 property:P641 ?s . ?s rdf:type ontology:Q31629 }
Mohamed Magdi Hamza Yrjö Korholin-Koski
action filter_type
action intersection
action find
entity Yrjö Korholin-Koski
relation sport
action find
entity Mohamed Magdi Hamza
relation sport
type type of sport
{'AND': [['Yrjö Korholin-Koski', 'sport', {'concept': 'type of sport'}], ['Mohamed Magdi Hamza', 'sport', {'concept': 'type of sport'}]]}
SELECT DISTINCT ?s WHERE { resource:Yrjö_Korholin-Koski property:sport ?s . resource:Mohamed_Magdi_Hamza property:sport ?s . ?s rdf:type ontology:type_of_sport }
[]
type of sport
Q542
SYSTEM
athletics
Q542
AND((Q21070053,P641,c(Q31629)), (Q19631173,P641,c(Q31629)))
action filter_type
action intersection
action find
entity Q21070053
relation P641
action find
entity Q19631173
relation P641
type Q31629
[ANSWER]
{'AND': [['Q21070053', 'P641', {'concept': 'Q31629'}], ['Q19631173', 'P641', {'concept': 'Q31629'}]]}
SELECT DISTINCT ?s WHERE { resource:Q21070053 property:P641 ?s . resource:Q19631173 property:P641 ?s . ?s rdf:type ontology:Q31629 }
athletics
athletics
action filter_type
action intersection
action find
entity Yrjö Korholin-Koski
relation sport
action find
entity Mohamed Magdi Hamza
relation sport
type type of sport
{'AND': [['Yrjö Korholin-Koski', 'sport', {'concept': 'type of sport'}], ['Mohamed Magdi Hamza', 'sport', {'concept': 'type of sport'}]]}
SELECT DISTINCT ?s WHERE { resource:Yrjö_Korholin-Koski property:sport ?s . resource:Mohamed_Magdi_Hamza property:sport ?s . ?s rdf:type ontology:type_of_sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19631173
P27
Q15617994
USER
Which administrative territory is the native country of Mohamed Magdi Hamza ?
(Q19631173,P27,c(Q15617994))
action filter_type
action find
entity Q19631173
relation P27
type Q15617994
['Q19631173', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q19631173 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Mohamed Magdi Hamza
action filter_type
action find
entity Mohamed Magdi Hamza
relation country of citizenship
type designation for an administrative territorial entity
['Mohamed Magdi Hamza', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Mohamed_Magdi_Hamza property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q79
SYSTEM
Egypt
Q79
(Q19631173,P27,c(Q15617994))
action filter_type
action find
entity Q19631173
relation P27
type Q15617994
[ANSWER] is the native country of Mohamed Magdi Hamza
['Q19631173', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q19631173 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Egypt
Egypt is the native country of Mohamed Magdi Hamza
Egypt
action filter_type
action find
entity Mohamed Magdi Hamza
relation country of citizenship
type designation for an administrative territorial entity
['Mohamed Magdi Hamza', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Mohamed_Magdi_Hamza property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21104100
Q15617994
USER
And also tell me about Hendrik Edzens Hagenouw Brongers?
(Q21104100,P27,c(Q15617994))
action filter_type
action find
entity Q21104100
relation P27
type Q15617994
['Q21104100', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q21104100 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Hendrik Edzens Hagenouw Brongers
action filter_type
action find
entity Hendrik Edzens Hagenouw Brongers
relation country of citizenship
type designation for an administrative territorial entity
['Hendrik Edzens Hagenouw Brongers', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Hendrik_Edzens_Hagenouw_Brongers property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q21104100,P27,c(Q15617994))
action filter_type
action find
entity Q21104100
relation P27
type Q15617994
[ANSWER]
['Q21104100', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q21104100 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Netherlands
Netherlands
action filter_type
action find
entity Hendrik Edzens Hagenouw Brongers
relation country of citizenship
type designation for an administrative territorial entity
['Hendrik Edzens Hagenouw Brongers', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Hendrik_Edzens_Hagenouw_Brongers property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21104100
P39
Q12737077
USER
Which occupation was a position held by that person ?
(Q55,P39,c(Q12737077))
action filter_type
action find
entity Q21104100
relation P39
type Q12737077
['Q55', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q21104100 property:P39 ?y . ?y rdf:type ontology:Q12737077 }
Hendrik Edzens Hagenouw Brongers
action filter_type
action find
entity Hendrik Edzens Hagenouw Brongers
relation position held
type occupation
['Netherlands', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Hendrik_Edzens_Hagenouw_Brongers property:position_held ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q18887908
SYSTEM
member of the House of Representatives of the Netherlands
Q18887908
(Q55,P39,c(Q12737077))
action filter_type
action find
entity Q21104100
relation P39
type Q12737077
A [ANSWER] was a position held by that person
['Q55', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q21104100 property:P39 ?y . ?y rdf:type ontology:Q12737077 }
member of the House of Representatives of the Netherlands
A member of the House of Representatives of the Netherlands was a position held by that person
member of the House of Representatives of the Netherlands
action filter_type
action find
entity Hendrik Edzens Hagenouw Brongers
relation position held
type occupation
['Netherlands', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Hendrik_Edzens_Hagenouw_Brongers property:position_held ?y . ?y rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1740837 Q21104100
P20
Q56061
USER
Which administrative territories did Hendrik Edzens Hagenouw Brongers or Wilhelm Schauder die ?
OR((Q21104100,P20,c(Q56061)), (Q1740837,P20,c(Q56061)))
action filter_type
action union
action find
entity Q21104100
relation P20
action find
entity Q1740837
relation P20
type Q56061
{'OR': [['Q21104100', 'P20', {'concept': 'Q56061'}], ['Q1740837', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { { ?f property:P20 ?v . VALUES ( ?f ) { ( resource:Q21104100 ) ( resource:Q1740837 ) } } . ?v rdf:type ontology:Q56061 }
Wilhelm Schauder Hendrik Edzens Hagenouw Brongers
action filter_type
action union
action find
entity Hendrik Edzens Hagenouw Brongers
relation place of death
action find
entity Wilhelm Schauder
relation place of death
type administrative territorial entity
{'OR': [['Hendrik Edzens Hagenouw Brongers', 'place of death', {'concept': 'administrative territorial entity'}], ['Wilhelm Schauder', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { ?f property:place_of_death ?v . VALUES ( ?f ) { ( resource:Hendrik_Edzens_Hagenouw_Brongers ) ( resource:Wilhelm_Schauder ) } } . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2377601 Q3874
SYSTEM
Leens, Gießen
Q2377601 Q3874
OR((Q21104100,P20,c(Q56061)), (Q1740837,P20,c(Q56061)))
action filter_type
action union
action find
entity Q21104100
relation P20
action find
entity Q1740837
relation P20
type Q56061
Hendrik Edzens Hagenouw Brongers or Wilhelm Schauder died in [ANSWERS]
{'OR': [['Q21104100', 'P20', {'concept': 'Q56061'}], ['Q1740837', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { { ?f property:P20 ?v . VALUES ( ?f ) { ( resource:Q21104100 ) ( resource:Q1740837 ) } } . ?v rdf:type ontology:Q56061 }
Leens Gießen
Hendrik Edzens Hagenouw Brongers or Wilhelm Schauder died in Leens and Gießen
Leens Gießen
action filter_type
action union
action find
entity Hendrik Edzens Hagenouw Brongers
relation place of death
action find
entity Wilhelm Schauder
relation place of death
type administrative territorial entity
{'OR': [['Hendrik Edzens Hagenouw Brongers', 'place of death', {'concept': 'administrative territorial entity'}], ['Wilhelm Schauder', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { ?f property:place_of_death ?v . VALUES ( ?f ) { ( resource:Hendrik_Edzens_Hagenouw_Brongers ) ( resource:Wilhelm_Schauder ) } } . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1740837
P106
Q12737077
USER
What are the job of Wilhelm Schauder ?
(Q2377601,P106,c(Q12737077)) (Q3874,P106,c(Q12737077))
action filter_type
action find
entity Q1740837
relation P106
type Q12737077
['Q2377601', 'P106', {'concept': 'Q12737077'}] ['Q3874', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q12737077 . resource:Q1740837 property:P106 ?k }
Wilhelm Schauder
action filter_type
action find
entity Wilhelm Schauder
relation occupation
type occupation
['Leens', 'occupation', {'concept': 'occupation'}] ['Gießen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:occupation . resource:Wilhelm_Schauder property:occupation ?k }
[]
occupation
Q202883 Q1622272
SYSTEM
veterinarian, university teacher
Q202883 Q1622272
(Q2377601,P106,c(Q12737077)) (Q3874,P106,c(Q12737077))
action filter_type
action find
entity Q1740837
relation P106
type Q12737077
The job of Wilhelm Schauder are a [ANSWERS]
['Q2377601', 'P106', {'concept': 'Q12737077'}] ['Q3874', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q12737077 . resource:Q1740837 property:P106 ?k }
veterinarian university teacher
The job of Wilhelm Schauder are a veterinarian and university teacher
veterinarian university teacher
action filter_type
action find
entity Wilhelm Schauder
relation occupation
type occupation
['Leens', 'occupation', {'concept': 'occupation'}] ['Gießen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:occupation . resource:Wilhelm_Schauder property:occupation ?k }
[]
Clarification
Simple Question|Single Entity|Indirect
Q202883
P417
Q502895
USER
What is the name of person who is the patron saint of that occupation ?
(Q202883,P417,c(Q502895))
action filter_type
action find
entity Q202883
relation P417
type Q502895
['Q202883', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q202883 property:P417 ?g . ?g rdf:type ontology:Q502895 }
veterinarian
action filter_type
action find
entity veterinarian
relation patron saint
type common name
['veterinarian', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:veterinarian property:patron_saint ?g . ?g rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q202883
SYSTEM
Did you mean veterinarian ?
Q202883 Q1622272
(Q202883,P417,c(Q502895)) (Q1622272,P417,c(Q502895))
[ANSWER]
['Q202883', 'P417', {'concept': 'Q502895'}] ['Q1622272', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q202883 property:P417 ?g . ?g rdf:type ontology:Q502895 }
veterinarian university teacher
Did you mean veterinarian ?
veterinarian
['veterinarian', 'patron saint', {'concept': 'common name'}] ['university teacher', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:veterinarian property:patron_saint ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q202883,P417,c(Q502895))
['Q202883', 'P417', {'concept': 'Q502895'}]
['veterinarian', 'patron saint', {'concept': 'common name'}]
[]
Q151967
SYSTEM
Saint Blaise
Q151967
(Q202883,P417,c(Q502895))
action filter_type
action find
entity Q202883
relation P417
type Q502895
The name of person is the patron saint of that occupation is called [ANSWER]
['Q202883', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q202883 property:P417 ?g . ?g rdf:type ontology:Q502895 }
Saint Blaise
The name of person is the patron saint of that occupation is called Saint Blaise
Saint Blaise
action filter_type
action find
entity veterinarian
relation patron saint
type common name
['veterinarian', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:veterinarian property:patron_saint ?g . ?g rdf:type ontology:common_name }
[]