Simple Question (Direct)
Simple Question
Q497820
P20
Q2221906
USER
Where did Andreas Hamerle die ?
(Q497820,P20,c(Q2221906))
action filter_type
action find
entity Q497820
relation P20
type Q2221906
['Q497820', 'P20', {'concept': 'Q2221906'}]
SELECT DISTINCT ?i WHERE { resource:Q497820 property:P20 ?i . ?i rdf:type ontology:Q2221906 }
Andreas Hamerle
action filter_type
action find
entity Andreas Hamerle
relation place of death
type geographic location
['Andreas Hamerle', 'place of death', {'concept': 'geographic location'}]
SELECT DISTINCT ?i WHERE { resource:Andreas_Hamerle property:place_of_death ?i . ?i rdf:type ontology:geographic_location }
[]
geographic location
Q39193
SYSTEM
Bohemia
Q39193
(Q497820,P20,c(Q2221906))
action filter_type
action find
entity Q497820
relation P20
type Q2221906
Andreas Hamerle died in [ANSWER]
['Q497820', 'P20', {'concept': 'Q2221906'}]
SELECT DISTINCT ?i WHERE { resource:Q497820 property:P20 ?i . ?i rdf:type ontology:Q2221906 }
Bohemia
Andreas Hamerle died in Bohemia
Bohemia
action filter_type
action find
entity Andreas Hamerle
relation place of death
type geographic location
['Andreas Hamerle', 'place of death', {'concept': 'geographic location'}]
SELECT DISTINCT ?i WHERE { resource:Andreas_Hamerle property:place_of_death ?i . ?i rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q497820
P21
Q290
USER
Which sex does Andreas Hamerle possess ?
(Q497820,P21,c(Q290))
action filter_type
action find
entity Q497820
relation P21
type Q290
['Q497820', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q497820 property:P21 ?u . ?u rdf:type ontology:Q290 }
Andreas Hamerle
action filter_type
action find
entity Andreas Hamerle
relation gender
type sex
['Andreas Hamerle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Andreas_Hamerle property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q497820,P21,c(Q290))
action filter_type
action find
entity Q497820
relation P21
type Q290
Andreas Hamerle possesses un [ANSWER]
['Q497820', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q497820 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
Andreas Hamerle possesses un male
male
action filter_type
action find
entity Andreas Hamerle
relation gender
type sex
['Andreas Hamerle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Andreas_Hamerle property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5989675
Q290
USER
And what about Harald Mjöberg?
(Q5989675,P21,c(Q290))
action filter_type
action find
entity Q5989675
relation P21
type Q290
['Q5989675', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q290 . resource:Q5989675 property:P21 ?j }
Harald Mjöberg
action filter_type
action find
entity Harald Mjöberg
relation gender
type sex
['Harald Mjöberg', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sex . resource:Harald_Mjöberg property:gender ?j }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5989675,P21,c(Q290))
action filter_type
action find
entity Q5989675
relation P21
type Q290
[ANSWER]
['Q5989675', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q290 . resource:Q5989675 property:P21 ?j }
male
male
action filter_type
action find
entity Harald Mjöberg
relation gender
type sex
['Harald Mjöberg', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sex . resource:Harald_Mjöberg property:gender ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5989675
P106
Q12737077
USER
What is the job of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q5989675
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q5989675 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Harald Mjöberg
action filter_type
action find
entity Harald Mjöberg
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Harald_Mjöberg property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q42973
SYSTEM
architect
Q42973
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q5989675
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q5989675 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
architect
The job of that person is an architect
architect
action filter_type
action find
entity Harald Mjöberg
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Harald_Mjöberg property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q42973
P417
Q502895
USER
What are the names of the patron saint of that occupation ?
(Q42973,P417,c(Q502895))
action filter_type
action find
entity Q42973
relation P417
type Q502895
['Q42973', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q42973 property:P417 ?m }
architect
action filter_type
action find
entity architect
relation patron saint
type common name
['architect', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:architect property:patron_saint ?m }
[]
common name
Q43669 Q192816 Q44265
SYSTEM
Thomas the Apostle, Saint Barbara, Benedict of Nursia
Q43669 Q192816 Q44265
(Q42973,P417,c(Q502895))
action filter_type
action find
entity Q42973
relation P417
type Q502895
The names of the patron saint of that occupation are Saint [ANSWERS]
['Q42973', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q42973 property:P417 ?m }
Thomas the Apostle Saint Barbara Benedict of Nursia
The names of the patron saint of that occupation are Saint Thomas the Apostle, Saint Barbara and Benedict of Nursia
Thomas the Apostle Saint Barbara Benedict of Nursia
action filter_type
action find
entity architect
relation patron saint
type common name
['architect', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:architect property:patron_saint ?m }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q43669 Q192816 Q44265
P417
Q44539
USER
Who have adopted those people as their patron saint ?
(c(Q44539),P417,Q43669) (c(Q44539),P417,Q192816) (c(Q44539),P417,Q44265)
action filter_type
action find_reverse
entity prev_answer
relation P417
type Q44539
[{'concept': 'Q44539'}, 'P417', 'Q43669'] [{'concept': 'Q44539'}, 'P417', 'Q192816'] [{'concept': 'Q44539'}, 'P417', 'Q44265']
SELECT DISTINCT ?f WHERE { VALUES ( ?u ) { ( resource:Q43669 ) ( resource:Q192816 ) ( resource:Q44265 ) } . ?f rdf:type ontology:Q44539 . ?f property:P417 ?u }
Thomas the Apostle Saint Barbara Benedict of Nursia
action filter_type
action find_reverse
entity prev_answer
relation patron saint
type temple
[{'concept': 'temple'}, 'patron saint', 'Thomas the Apostle'] [{'concept': 'temple'}, 'patron saint', 'Saint Barbara'] [{'concept': 'temple'}, 'patron saint', 'Benedict of Nursia']
SELECT DISTINCT ?f WHERE { VALUES ( ?u ) { ( resource:Thomas_the_Apostle ) ( resource:Saint_Barbara ) ( resource:Benedict_of_Nursia ) } . ?f rdf:type ontology:temple . ?f property:patron_saint ?u }
[]
temple
Q5412791 Q913185 Q2317536
SYSTEM
St. Thomas Church, St. Barbara's Church, Kutná Hora, St. Benedict
Q3508950 Q5412791 Q913185 Q2297260 Q2317536
(c(Q44539),P417,Q43669) (c(Q44539),P417,Q192816) (c(Q44539),P417,Q44265)
action filter_type
action find_reverse
entity prev_answer
relation P417
type Q44539
[ANSWERS] have adopted those people as their patron saint
[{'concept': 'Q44539'}, 'P417', 'Q43669'] [{'concept': 'Q44539'}, 'P417', 'Q192816'] [{'concept': 'Q44539'}, 'P417', 'Q44265']
SELECT DISTINCT ?f WHERE { VALUES ( ?u ) { ( resource:Q43669 ) ( resource:Q192816 ) ( resource:Q44265 ) } . ?f rdf:type ontology:Q44539 . ?f property:P417 ?u }
Church of St. Thomas St. Thomas Church St. Barbara's Church, Kutná Hora St. Bendt's Church St. Benedict
St. Thomas Church, St. Barbara's Church, Kutná Hora and St. Benedict have adopted those people as their patron saint
St. Thomas Church St. Barbara's Church, Kutná Hora St. Benedict
action filter_type
action find_reverse
entity prev_answer
relation patron saint
type temple
[{'concept': 'temple'}, 'patron saint', 'Thomas the Apostle'] [{'concept': 'temple'}, 'patron saint', 'Saint Barbara'] [{'concept': 'temple'}, 'patron saint', 'Benedict of Nursia']
SELECT DISTINCT ?f WHERE { VALUES ( ?u ) { ( resource:Thomas_the_Apostle ) ( resource:Saint_Barbara ) ( resource:Benedict_of_Nursia ) } . ?f rdf:type ontology:temple . ?f property:patron_saint ?u }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q5412791 Q913185 Q2317536
P800
Q502895
USER
Who are author of those temples ?
(c(Q502895),P800,Q5412791) (c(Q502895),P800,Q913185) (c(Q502895),P800,Q2317536)
action filter_type
action find_reverse
entity prev_answer
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q5412791'] [{'concept': 'Q502895'}, 'P800', 'Q913185'] [{'concept': 'Q502895'}, 'P800', 'Q2317536']
SELECT DISTINCT ?s WHERE { ?s property:P800 ?g . ?s rdf:type ontology:Q502895 . VALUES ( ?g ) { ( resource:Q3508950 ) ( resource:Q5412791 ) ( resource:Q913185 ) } }
St. Thomas Church St. Barbara's Church, Kutná Hora St. Benedict
action filter_type
action find_reverse
entity prev_answer
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'St. Thomas Church'] [{'concept': 'common name'}, 'notable work', "St. Barbara's Church, Kutná Hora"] [{'concept': 'common name'}, 'notable work', 'St. Benedict']
SELECT DISTINCT ?s WHERE { ?s property:notable_work ?g . ?s rdf:type ontology:common_name . VALUES ( ?g ) { ( resource:Church_of_St._Thomas ) ( resource:St._Thomas_Church ) ( resource:St._Barbara's_Church,_Kutná_Hora ) } }
[]
common name
Q377633 Q77707 Q1597883
SYSTEM
Juha Leiviskä, Johann Parler, Heinrich Johann Freyse
Q377633 Q77707 Q1597883
(c(Q502895),P800,Q5412791) (c(Q502895),P800,Q913185) (c(Q502895),P800,Q2317536)
action filter_type
action find_reverse
entity prev_answer
relation P800
type Q502895
Author of those temples are [ANSWERS]
[{'concept': 'Q502895'}, 'P800', 'Q5412791'] [{'concept': 'Q502895'}, 'P800', 'Q913185'] [{'concept': 'Q502895'}, 'P800', 'Q2317536']
SELECT DISTINCT ?s WHERE { ?s property:P800 ?g . ?s rdf:type ontology:Q502895 . VALUES ( ?g ) { ( resource:Q3508950 ) ( resource:Q5412791 ) ( resource:Q913185 ) } }
Juha Leiviskä Johann Parler Heinrich Johann Freyse
Author of those temples are Juha Leiviskä, Johann Parler and Heinrich Johann Freyse
Juha Leiviskä Johann Parler Heinrich Johann Freyse
action filter_type
action find_reverse
entity prev_answer
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'St. Thomas Church'] [{'concept': 'common name'}, 'notable work', "St. Barbara's Church, Kutná Hora"] [{'concept': 'common name'}, 'notable work', 'St. Benedict']
SELECT DISTINCT ?s WHERE { ?s property:notable_work ?g . ?s rdf:type ontology:common_name . VALUES ( ?g ) { ( resource:Church_of_St._Thomas ) ( resource:St._Thomas_Church ) ( resource:St._Barbara's_Church,_Kutná_Hora ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5412791
P138
Q502895
USER
Which person is namesake of that temple ?
(Q5412791,P138,c(Q502895))
action filter_type
action find
entity Q5412791
relation P138
type Q502895
['Q5412791', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q5412791 property:P138 ?q . ?q rdf:type ontology:Q502895 }
St. Thomas Church
action filter_type
action find
entity St. Thomas Church
relation named after
type common name
['St. Thomas Church', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:St._Thomas_Church property:named_after ?q . ?q rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q5412791
SYSTEM
Did you mean St. Thomas Church ?
Q377633 Q77707 Q1597883
(Q377633,P138,c(Q502895)) (Q77707,P138,c(Q502895)) (Q1597883,P138,c(Q502895))
[ANSWER]
['Q377633', 'P138', {'concept': 'Q502895'}] ['Q77707', 'P138', {'concept': 'Q502895'}] ['Q1597883', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q5412791 property:P138 ?q . ?q rdf:type ontology:Q502895 }
Juha Leiviskä Johann Parler Heinrich Johann Freyse
Did you mean St. Thomas Church ?
St. Thomas Church
['Juha Leiviskä', 'named after', {'concept': 'common name'}] ['Johann Parler', 'named after', {'concept': 'common name'}] ['Heinrich Johann Freyse', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:St._Thomas_Church property:named_after ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q5412791,P138,c(Q502895))
['Q5412791', 'P138', {'concept': 'Q502895'}]
['St. Thomas Church', 'named after', {'concept': 'common name'}]
[]
Q43669
SYSTEM
Thomas the Apostle
Q43669
(Q5412791,P138,c(Q502895))
action filter_type
action find
entity Q5412791
relation P138
type Q502895
[ANSWER] is namesake of that temple
['Q5412791', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q5412791 property:P138 ?q . ?q rdf:type ontology:Q502895 }
Thomas the Apostle
Thomas the Apostle is namesake of that temple
Thomas the Apostle
action filter_type
action find
entity St. Thomas Church
relation named after
type common name
['St. Thomas Church', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:St._Thomas_Church property:named_after ?q . ?q rdf:type ontology:common_name }
[]