Simple Question (Direct)
Simple Question
Q6397083
P54
Q82799
USER
Which sports team has Kevin Nelson as its member ?
(Q6397083,P54,c(Q82799))
action filter_type
action find
entity Q6397083
relation P54
type Q82799
['Q6397083', 'P54', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { resource:Q6397083 property:P54 ?u . ?u rdf:type ontology:Q82799 }
Kevin Nelson
action filter_type
action find
entity Kevin Nelson
relation member of sports team
type name
['Kevin Nelson', 'member of sports team', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { resource:Kevin_Nelson property:member_of_sports_team ?u . ?u rdf:type ontology:name }
[]
name
Q1510813
SYSTEM
South Melbourne Football Club
Q1510813
(Q6397083,P54,c(Q82799))
action filter_type
action find
entity Q6397083
relation P54
type Q82799
[ANSWER] has Kevin Nelson as its member
['Q6397083', 'P54', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { resource:Q6397083 property:P54 ?u . ?u rdf:type ontology:Q82799 }
South Melbourne Football Club
South Melbourne Football Club has Kevin Nelson as its member
South Melbourne Football Club
action filter_type
action find
entity Kevin Nelson
relation member of sports team
type name
['Kevin Nelson', 'member of sports team', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { resource:Kevin_Nelson property:member_of_sports_team ?u . ?u rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6397083
P641
Q349
USER
Which sport was Kevin Nelson a part of ?
(Q6397083,P641,c(Q349))
action filter_type
action find
entity Q6397083
relation P641
type Q349
['Q6397083', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q6397083 property:P641 ?k . ?k rdf:type ontology:Q349 }
Kevin Nelson
action filter_type
action find
entity Kevin Nelson
relation sport
type sport
['Kevin Nelson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Kevin_Nelson property:sport ?k . ?k rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6397083,P641,c(Q349))
action filter_type
action find
entity Q6397083
relation P641
type Q349
Kevin Nelson was in [ANSWER]
['Q6397083', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q6397083 property:P641 ?k . ?k rdf:type ontology:Q349 }
association football
Kevin Nelson was in association football
association football
action filter_type
action find
entity Kevin Nelson
relation sport
type sport
['Kevin Nelson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Kevin_Nelson property:sport ?k . ?k rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6397083
P21
Q290
USER
Which sex does Kevin Nelson have ?
(Q6397083,P21,c(Q290))
action filter_type
action find
entity Q6397083
relation P21
type Q290
['Q6397083', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q6397083 property:P21 ?o . ?o rdf:type ontology:Q290 }
Kevin Nelson
action filter_type
action find
entity Kevin Nelson
relation gender
type sex
['Kevin Nelson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Kevin_Nelson property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6397083,P21,c(Q290))
action filter_type
action find
entity Q6397083
relation P21
type Q290
Kevin Nelson has a [ANSWER]
['Q6397083', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q6397083 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
Kevin Nelson has a male
male
action filter_type
action find
entity Kevin Nelson
relation gender
type sex
['Kevin Nelson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Kevin_Nelson property:gender ?o . ?o rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17307938
Q290
USER
And also tell me about Bernard Licari?
(Q17307938,P21,c(Q290))
action filter_type
action find
entity Q17307938
relation P21
type Q290
['Q17307938', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q17307938 property:P21 ?o . ?o rdf:type ontology:Q290 }
Bernard Licari
action filter_type
action find
entity Bernard Licari
relation gender
type sex
['Bernard Licari', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Bernard_Licari property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q17307938,P21,c(Q290))
action filter_type
action find
entity Q17307938
relation P21
type Q290
[ANSWER]
['Q17307938', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q17307938 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Bernard Licari
relation gender
type sex
['Bernard Licari', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Bernard_Licari property:gender ?o . ?o rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1220796 Q6397083
P106
Q12737077
USER
Which occupations have Kevin Nelson and Lajos Németh as his/her as a career ?
AND((Q6397083,P106,c(Q12737077)), (Q1220796,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q6397083
relation P106
action find
entity Q1220796
relation P106
type Q12737077
{'AND': [['Q6397083', 'P106', {'concept': 'Q12737077'}], ['Q1220796', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?x WHERE { resource:Q6397083 property:P106 ?x . resource:Q1220796 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Lajos Németh Kevin Nelson
action filter_type
action intersection
action find
entity Kevin Nelson
relation occupation
action find
entity Lajos Németh
relation occupation
type occupation
{'AND': [['Kevin Nelson', 'occupation', {'concept': 'occupation'}], ['Lajos Németh', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?x WHERE { resource:Kevin_Nelson property:occupation ?x . resource:Lajos_Németh property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
AND((Q6397083,P106,c(Q12737077)), (Q1220796,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q6397083
relation P106
action find
entity Q1220796
relation P106
type Q12737077
Player [ANSWER] have Kevin Nelson and Lajos Németh as his/her as a career
{'AND': [['Q6397083', 'P106', {'concept': 'Q12737077'}], ['Q1220796', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?x WHERE { resource:Q6397083 property:P106 ?x . resource:Q1220796 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
association football player
Player association football player have Kevin Nelson and Lajos Németh as his/her as a career
association football player
action filter_type
action intersection
action find
entity Kevin Nelson
relation occupation
action find
entity Lajos Németh
relation occupation
type occupation
{'AND': [['Kevin Nelson', 'occupation', {'concept': 'occupation'}], ['Lajos Németh', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?x WHERE { resource:Kevin_Nelson property:occupation ?x . resource:Lajos_Németh property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q212238
P180
Q12737077 Q386724 Q340169
USER
Which occupations are expressed in greater number of works or medias than civil servant ?
(c(Q386724)|c(Q340169),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q212238
relation P180
type Q386724
type Q340169
[[{'concept': 'Q386724'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) ?m WHERE { { ?e property:P180 ?m . ?m rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q386724 } UNION { ?e property:P180 ?m . ?m rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q340169 } } GROUP BY ?m } . FILTER ( ?c > ?k ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { ?o property:P180 resource:Q212238 . { { ?o rdf:type ontology:Q386724 } UNION { ?o rdf:type ontology:Q340169 } } } } }
civil servant
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action count
action filter_multi_types
action find_reverse
entity civil servant
relation depicts
type work
type media
[[{'concept': 'work'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) ?m WHERE { { ?e property:depicts ?m . ?m rdf:type ontology:occupation . ?e rdf:type ontology:work } UNION { ?e property:depicts ?m . ?m rdf:type ontology:occupation . ?e rdf:type ontology:media } } GROUP BY ?m } . FILTER ( ?c > ?k ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { ?o property:depicts resource:civil_servant . { { ?o rdf:type ontology:work } UNION { ?o rdf:type ontology:media } } } } }
[]
occupation work media
Q186360 Q4991371 Q5716684
SYSTEM
nurse, soldier, dancer
Q177220 Q2995983 Q45199 Q186360 Q733786 Q4991371 Q273108 Q589897 Q54128 Q20489032 Q2730732 Q5716684 Q18575684 Q639669 Q384593 Q42603 Q1630100
(c(Q386724)|c(Q340169),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q212238
relation P180
type Q386724
type Q340169
[ANSWERS] are expressed in greater number of works or medias than civil servant
[[{'concept': 'Q386724'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) ?m WHERE { { ?e property:P180 ?m . ?m rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q386724 } UNION { ?e property:P180 ?m . ?m rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q340169 } } GROUP BY ?m } . FILTER ( ?c > ?k ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { ?o property:P180 resource:Q212238 . { { ?o rdf:type ontology:Q386724 } UNION { ?o rdf:type ontology:Q340169 } } } } }
singer double-bassist sailor nurse monk soldier condottiero mahout domestic worker salt pan worker equestrian dancer embroiderer musician police officer priest art model
Nurse, soldier and dancer are expressed in greater number of works or medias than civil servant
nurse soldier dancer
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action count
action filter_multi_types
action find_reverse
entity civil servant
relation depicts
type work
type media
[[{'concept': 'work'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) ?m WHERE { { ?e property:depicts ?m . ?m rdf:type ontology:occupation . ?e rdf:type ontology:work } UNION { ?e property:depicts ?m . ?m rdf:type ontology:occupation . ?e rdf:type ontology:media } } GROUP BY ?m } . FILTER ( ?c > ?k ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { ?o property:depicts resource:civil_servant . { { ?o rdf:type ontology:work } UNION { ?o rdf:type ontology:media } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2412523
P180
Q12737077 Q386724 Q340169
USER
And what about matador?
(c(Q386724)|c(Q340169),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q2412523
relation P180
type Q386724
type Q340169
[[{'concept': 'Q386724'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?h ) WHERE { { ?u property:P180 ?n . ?u rdf:type ontology:Q386724 . ?n rdf:type ontology:Q12737077 } UNION { ?u property:P180 ?n . ?n rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q340169 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { { ?k rdf:type ?b . VALUES ( ?b ) { ( ontology:Q340169 ) ( ontology:Q386724 ) } } . ?k property:P180 resource:Q2412523 } } . FILTER ( ?h > ?t ) }
matador
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action count
action filter_multi_types
action find_reverse
entity matador
relation depicts
type work
type media
[[{'concept': 'work'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?h ) WHERE { { ?u property:depicts ?n . ?u rdf:type ontology:work . ?n rdf:type ontology:occupation } UNION { ?u property:depicts ?n . ?n rdf:type ontology:occupation . ?u rdf:type ontology:media } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { { ?k rdf:type ?b . VALUES ( ?b ) { ( ontology:media ) ( ontology:work ) } } . ?k property:depicts resource:matador } } . FILTER ( ?h > ?t ) }
[]
occupation work media
Q186360 Q4991371 Q5716684
SYSTEM
nurse, soldier, dancer
Q177220 Q2995983 Q45199 Q186360 Q733786 Q4991371 Q273108 Q589897 Q54128 Q20489032 Q2730732 Q5716684 Q18575684 Q639669 Q384593 Q42603 Q1630100
(c(Q386724)|c(Q340169),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q2412523
relation P180
type Q386724
type Q340169
[ANSWERS]
[[{'concept': 'Q386724'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?h ) WHERE { { ?u property:P180 ?n . ?u rdf:type ontology:Q386724 . ?n rdf:type ontology:Q12737077 } UNION { ?u property:P180 ?n . ?n rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q340169 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { { ?k rdf:type ?b . VALUES ( ?b ) { ( ontology:Q340169 ) ( ontology:Q386724 ) } } . ?k property:P180 resource:Q2412523 } } . FILTER ( ?h > ?t ) }
singer double-bassist sailor nurse monk soldier condottiero mahout domestic worker salt pan worker equestrian dancer embroiderer musician police officer priest art model
nurse soldier dancer
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action count
action filter_multi_types
action find_reverse
entity matador
relation depicts
type work
type media
[[{'concept': 'work'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?h ) WHERE { { ?u property:depicts ?n . ?u rdf:type ontology:work . ?n rdf:type ontology:occupation } UNION { ?u property:depicts ?n . ?n rdf:type ontology:occupation . ?u rdf:type ontology:media } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { { ?k rdf:type ?b . VALUES ( ?b ) { ( ontology:media ) ( ontology:work ) } } . ?k property:depicts resource:matador } } . FILTER ( ?h > ?t ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q186360 Q4991371 Q5716684
P417
Q502895
USER
What people are the patron saint of nurse, soldier and dancer ?
(Q186360,P417,c(Q502895)) (Q4991371,P417,c(Q502895)) (Q5716684,P417,c(Q502895))
action union
action filter_type
action find
entity Q186360
relation P417
type Q502895
action filter_type
action find
entity Q4991371
relation P417
type Q502895
action filter_type
action find
entity Q5716684
relation P417
type Q502895
['Q186360', 'P417', {'concept': 'Q502895'}] ['Q4991371', 'P417', {'concept': 'Q502895'}] ['Q5716684', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?i ) { ( resource:Q186360 ) ( resource:Q4991371 ) } . ?i property:P417 ?u }
nurse soldier dancer
action union
action filter_type
action find
entity nurse
relation patron saint
type common name
action filter_type
action find
entity soldier
relation patron saint
type common name
action filter_type
action find
entity dancer
relation patron saint
type common name
['nurse', 'patron saint', {'concept': 'common name'}] ['soldier', 'patron saint', {'concept': 'common name'}] ['dancer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?i ) { ( resource:nurse ) ( resource:soldier ) } . ?i property:patron_saint ?u }
[]
common name
Q44281 Q229190 Q179718
SYSTEM
Ignatius of Loyola, Catherine of Siena, Catherine of Alexandria
Q332656 Q200895 Q229190 Q137947 Q179718 Q48438 Q192816 Q44281 Q212850
(Q186360,P417,c(Q502895)) (Q4991371,P417,c(Q502895)) (Q5716684,P417,c(Q502895))
action union
action filter_type
action find
entity Q186360
relation P417
type Q502895
action filter_type
action find
entity Q4991371
relation P417
type Q502895
action filter_type
action find
entity Q5716684
relation P417
type Q502895
[ANSWERS] are the patron saint of nurse, soldier and dancer
['Q186360', 'P417', {'concept': 'Q502895'}] ['Q4991371', 'P417', {'concept': 'Q502895'}] ['Q5716684', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?i ) { ( resource:Q186360 ) ( resource:Q4991371 ) } . ?i property:P417 ?u }
Camillus de Lellis Agatha of Sicily Catherine of Siena Alexius of Rome Catherine of Alexandria Saint George Saint Barbara Ignatius of Loyola Vitus
Ignatius of Loyola, Catherine of Siena and Catherine of Alexandria are the patron saint of nurse, soldier and dancer
Ignatius of Loyola Catherine of Siena Catherine of Alexandria
action union
action filter_type
action find
entity nurse
relation patron saint
type common name
action filter_type
action find
entity soldier
relation patron saint
type common name
action filter_type
action find
entity dancer
relation patron saint
type common name
['nurse', 'patron saint', {'concept': 'common name'}] ['soldier', 'patron saint', {'concept': 'common name'}] ['dancer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?i ) { ( resource:nurse ) ( resource:soldier ) } . ?i property:patron_saint ?u }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q44281 Q229190 Q179718
P138
Q44539
USER
Which temples have those people as their toponym ?
(c(Q44539),P138,Q44281) (c(Q44539),P138,Q229190) (c(Q44539),P138,Q179718)
action filter_type
action find_reverse
entity prev_answer
relation P138
type Q44539
[{'concept': 'Q44539'}, 'P138', 'Q44281'] [{'concept': 'Q44539'}, 'P138', 'Q229190'] [{'concept': 'Q44539'}, 'P138', 'Q179718']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q44539 . VALUES ( ?l ) { ( resource:Q332656 ) ( resource:Q200895 ) ( resource:Q229190 ) } . ?t property:P138 ?l }
Ignatius of Loyola Catherine of Siena Catherine of Alexandria
action filter_type
action find_reverse
entity prev_answer
relation named after
type temple
[{'concept': 'temple'}, 'named after', 'Ignatius of Loyola'] [{'concept': 'temple'}, 'named after', 'Catherine of Siena'] [{'concept': 'temple'}, 'named after', 'Catherine of Alexandria']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:temple . VALUES ( ?l ) { ( resource:Camillus_de_Lellis ) ( resource:Agatha_of_Sicily ) ( resource:Catherine_of_Siena ) } . ?t property:named_after ?l }
[]
temple
Q317388 Q1736070 Q1050809
SYSTEM
St. Catherine's Church, Katharinenkapelle, Catharinakerk
Q11746705 Q3672904 Q1256142 Q727508 Q2618766 Q1736070 Q1365162 Q3672920 Q3672929 Q1050809 Q3672907 Q3672914 Q1736082 Q1736086 Q525329 Q452302 Q616790 Q2319848 Q2319893 Q17607155 Q907706 Q18217106 Q647427 Q195176 Q16729855 Q10300609 Q1133543 Q1308483 Q354626 Q1742784 Q1256144 Q479323 Q838441 Q3505115 Q1134284 Q317388
(c(Q44539),P138,Q44281) (c(Q44539),P138,Q229190) (c(Q44539),P138,Q179718)
action filter_type
action find_reverse
entity prev_answer
relation P138
type Q44539
[ANSWERS] have those people as their toponym
[{'concept': 'Q44539'}, 'P138', 'Q44281'] [{'concept': 'Q44539'}, 'P138', 'Q229190'] [{'concept': 'Q44539'}, 'P138', 'Q179718']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q44539 . VALUES ( ?l ) { ( resource:Q332656 ) ( resource:Q200895 ) ( resource:Q229190 ) } . ?t property:P138 ?l }
Church of Saint Ignatius of Loyola Santa Caterina (Livorno) Santa Caterina da Siena, Naples Santa Caterina a Magnanapoli Catholic Church of St. Catherine Katharinenkapelle Haydar Pasha Mosque Santa Caterina Martire Church of St.Catherine of Alexandria Catharinakerk Church of St. Catherine (Padua) Church of Saint Caterina Muhu St. Catherine's Church Katharinenkirche Santa Caterina a Formiello Arnau Church St. Catherine's Church, Hamburg St. Katharina St. Katharinen (Osnabrück) Augustinerkirche St. Katharina (Trier) Gravenkapel Namacpacan Church San Lio St. Catherine's Church Dorfkirche (Würdenhain) Church of Saint Catherine Ducal Rotunda of the Virgin Mary and St Catherine St Catherine's Church in Warsaw Church of Adelhausen in Freiburg im Breisgau Church of Saint Catherine, Thessaloniki Santa Caterina a Chiaia St Catherine's Church Saint Catherine's Church Santa Caterina Santa Caterina dei Funari St. Catherine's Church
St. Catherine's Church, Katharinenkapelle and Catharinakerk have those people as their toponym
St. Catherine's Church Katharinenkapelle Catharinakerk
action filter_type
action find_reverse
entity prev_answer
relation named after
type temple
[{'concept': 'temple'}, 'named after', 'Ignatius of Loyola'] [{'concept': 'temple'}, 'named after', 'Catherine of Siena'] [{'concept': 'temple'}, 'named after', 'Catherine of Alexandria']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:temple . VALUES ( ?l ) { ( resource:Camillus_de_Lellis ) ( resource:Agatha_of_Sicily ) ( resource:Catherine_of_Siena ) } . ?t property:named_after ?l }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1736070
P17
Q1048835
USER
Which political territory is that temple situated in ?
(Q1736070,P17,c(Q1048835))
action filter_type
action find
entity Q1736070
relation P17
type Q1048835
['Q1736070', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q1736070 property:P17 ?n . ?n rdf:type ontology:Q1048835 }
Katharinenkapelle
action filter_type
action find
entity Katharinenkapelle
relation country
type political territorial entity
['Katharinenkapelle', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Katharinenkapelle property:country ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q1736070
SYSTEM
Did you mean Katharinenkapelle ?
Q317388 Q1736070 Q1050809
(Q317388,P17,c(Q1048835)) (Q1736070,P17,c(Q1048835)) (Q1050809,P17,c(Q1048835))
[ANSWER]
['Q317388', 'P17', {'concept': 'Q1048835'}] ['Q1736070', 'P17', {'concept': 'Q1048835'}] ['Q1050809', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q1736070 property:P17 ?n . ?n rdf:type ontology:Q1048835 }
St. Catherine's Church Katharinenkapelle Catharinakerk
Did you mean Katharinenkapelle ?
Katharinenkapelle
["St. Catherine's Church", 'country', {'concept': 'political territorial entity'}] ['Katharinenkapelle', 'country', {'concept': 'political territorial entity'}] ['Catharinakerk', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Katharinenkapelle property:country ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1736070,P17,c(Q1048835))
['Q1736070', 'P17', {'concept': 'Q1048835'}]
['Katharinenkapelle', 'country', {'concept': 'political territorial entity'}]
[]
Q183
SYSTEM
Germany
Q183
(Q1736070,P17,c(Q1048835))
action filter_type
action find
entity Q1736070
relation P17
type Q1048835
That temple is situated in [ANSWER]
['Q1736070', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q1736070 property:P17 ?n . ?n rdf:type ontology:Q1048835 }
Germany
That temple is situated in Germany
Germany
action filter_type
action find
entity Katharinenkapelle
relation country
type political territorial entity
['Katharinenkapelle', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Katharinenkapelle property:country ?n . ?n rdf:type ontology:political_territorial_entity }
[]