Simple Question (Direct)
Simple Question
Q11686717
P106
Q12737077
USER
What does Arkadiusz Musierowicz do for a living ?
(Q11686717,P106,c(Q12737077))
action filter_type
action find
entity Q11686717
relation P106
type Q12737077
['Q11686717', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q11686717 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Arkadiusz Musierowicz
action filter_type
action find
entity Arkadiusz Musierowicz
relation occupation
type occupation
['Arkadiusz Musierowicz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Arkadiusz_Musierowicz property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q593644
SYSTEM
chemist
Q593644
(Q11686717,P106,c(Q12737077))
action filter_type
action find
entity Q11686717
relation P106
type Q12737077
[ANSWER] Arkadiusz Musierowicz does for a living
['Q11686717', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q11686717 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
chemist
Chemist Arkadiusz Musierowicz does for a living
chemist
action filter_type
action find
entity Arkadiusz Musierowicz
relation occupation
type occupation
['Arkadiusz Musierowicz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Arkadiusz_Musierowicz property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11686717
P27
Q15617994
USER
Which administrative territory is the native country of Arkadiusz Musierowicz ?
(Q11686717,P27,c(Q15617994))
action filter_type
action find
entity Q11686717
relation P27
type Q15617994
['Q11686717', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q11686717 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Arkadiusz Musierowicz
action filter_type
action find
entity Arkadiusz Musierowicz
relation country of citizenship
type designation for an administrative territorial entity
['Arkadiusz Musierowicz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Arkadiusz_Musierowicz property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q11686717,P27,c(Q15617994))
action filter_type
action find
entity Q11686717
relation P27
type Q15617994
[ANSWER] is the native country of Arkadiusz Musierowicz
['Q11686717', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q11686717 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Poland
Poland is the native country of Arkadiusz Musierowicz
Poland
action filter_type
action find
entity Arkadiusz Musierowicz
relation country of citizenship
type designation for an administrative territorial entity
['Arkadiusz Musierowicz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Arkadiusz_Musierowicz property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6384120
Q15617994
USER
And how about Keith Brown?
(Q6384120,P27,c(Q15617994))
action filter_type
action find
entity Q6384120
relation P27
type Q15617994
['Q6384120', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q6384120 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Keith Brown
action filter_type
action find
entity Keith Brown
relation country of citizenship
type designation for an administrative territorial entity
['Keith Brown', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Keith_Brown property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q6384120,P27,c(Q15617994))
action filter_type
action find
entity Q6384120
relation P27
type Q15617994
[ANSWER]
['Q6384120', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q6384120 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Keith Brown
relation country of citizenship
type designation for an administrative territorial entity
['Keith Brown', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Keith_Brown property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6384120
P21
Q290
USER
Which sex does that person belong to ?
(Q30,P21,c(Q290))
action filter_type
action find
entity Q6384120
relation P21
type Q290
['Q30', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q6384120 property:P21 ?f . ?f rdf:type ontology:Q290 }
Keith Brown
action filter_type
action find
entity Keith Brown
relation gender
type sex
['United States of America', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Keith_Brown property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q30,P21,c(Q290))
action filter_type
action find
entity Q6384120
relation P21
type Q290
That person belongs to [ANSWER]
['Q30', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q6384120 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Keith Brown
relation gender
type sex
['United States of America', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Keith_Brown property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6384120
P734
Q82799
USER
Who is associated with that person ?
(Q6581097,P734,c(Q82799))
action filter_type
action find
entity Q6384120
relation P734
type Q82799
['Q6581097', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q6384120 property:P734 ?k . ?k rdf:type ontology:Q82799 }
Keith Brown
action filter_type
action find
entity Keith Brown
relation family name
type name
['male', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:Keith_Brown property:family_name ?k . ?k rdf:type ontology:name }
[]
name
Q13421990
SYSTEM
Brown
Q13421990
(Q6581097,P734,c(Q82799))
action filter_type
action find
entity Q6384120
relation P734
type Q82799
[ANSWER] is associated with that person
['Q6581097', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q6384120 property:P734 ?k . ?k rdf:type ontology:Q82799 }
Brown
Brown is associated with that person
Brown
action filter_type
action find
entity Keith Brown
relation family name
type name
['male', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:Keith_Brown property:family_name ?k . ?k rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q875881 Q11686717
P937 P20
Q56061
USER
Which administrative territories did Arkadiusz Musierowicz die or are the locations where Gregorius Thomas Ziegler worked ?
OR((Q11686717,P20,c(Q56061)), (Q875881,P937,c(Q56061)))
action filter_type
action union
action find
entity Q11686717
relation P20
action find
entity Q875881
relation P937
type Q56061
{'OR': [['Q11686717', 'P20', {'concept': 'Q56061'}], ['Q875881', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q11686717 property:P20 ?t } UNION { resource:Q875881 property:P937 ?t } } . ?t rdf:type ontology:Q56061 }
Gregorius Thomas Ziegler Arkadiusz Musierowicz
action filter_type
action union
action find
entity Arkadiusz Musierowicz
relation place of death
action find
entity Gregorius Thomas Ziegler
relation work location
type administrative territorial entity
{'OR': [['Arkadiusz Musierowicz', 'place of death', {'concept': 'administrative territorial entity'}], ['Gregorius Thomas Ziegler', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Arkadiusz_Musierowicz property:place_of_death ?t } UNION { resource:Gregorius_Thomas_Ziegler property:work_location ?t } } . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q270 Q41329
SYSTEM
Warsaw, Linz
Q270 Q41329
OR((Q11686717,P20,c(Q56061)), (Q875881,P937,c(Q56061)))
action filter_type
action union
action find
entity Q11686717
relation P20
action find
entity Q875881
relation P937
type Q56061
Arkadiusz Musierowicz died or are the locations where Gregorius Thomas Ziegler worked in [ANSWERS]
{'OR': [['Q11686717', 'P20', {'concept': 'Q56061'}], ['Q875881', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q11686717 property:P20 ?t } UNION { resource:Q875881 property:P937 ?t } } . ?t rdf:type ontology:Q56061 }
Warsaw Linz
Arkadiusz Musierowicz died or are the locations where Gregorius Thomas Ziegler worked in Warsaw and Linz
Warsaw Linz
action filter_type
action union
action find
entity Arkadiusz Musierowicz
relation place of death
action find
entity Gregorius Thomas Ziegler
relation work location
type administrative territorial entity
{'OR': [['Arkadiusz Musierowicz', 'place of death', {'concept': 'administrative territorial entity'}], ['Gregorius Thomas Ziegler', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Arkadiusz_Musierowicz property:place_of_death ?t } UNION { resource:Gregorius_Thomas_Ziegler property:work_location ?t } } . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q270 Q41329
P190
Q13220204
USER
Which administrative country subdivisions are sister towns of those administrative territories ?
(Q270,P190,c(Q13220204)) (Q41329,P190,c(Q13220204))
action filter_type
action find
entity prev_answer
relation P190
type Q13220204
['Q270', 'P190', {'concept': 'Q13220204'}] ['Q41329', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?d ) { ( resource:Q270 ) ( resource:Q41329 ) } . ?j rdf:type ontology:Q13220204 . ?d property:P190 ?j }
Warsaw Linz
action filter_type
action find
entity prev_answer
relation sister city
type second-level administrative country subdivision
['Warsaw', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Linz', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?d ) { ( resource:Warsaw ) ( resource:Linz ) } . ?j rdf:type ontology:second-level_administrative_country_subdivision . ?d property:sister_city ?j }
[]
second-level administrative country subdivision
Q1435 Q1770737
SYSTEM
Zagreb, Albufeira Municipality
Q1435 Q1770737
(Q270,P190,c(Q13220204)) (Q41329,P190,c(Q13220204))
action filter_type
action find
entity prev_answer
relation P190
type Q13220204
[ANSWERS] are sister towns of those administrative territories
['Q270', 'P190', {'concept': 'Q13220204'}] ['Q41329', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?d ) { ( resource:Q270 ) ( resource:Q41329 ) } . ?j rdf:type ontology:Q13220204 . ?d property:P190 ?j }
Zagreb Albufeira Municipality
Zagreb and Albufeira Municipality are sister towns of those administrative territories
Zagreb Albufeira Municipality
action filter_type
action find
entity prev_answer
relation sister city
type second-level administrative country subdivision
['Warsaw', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Linz', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?d ) { ( resource:Warsaw ) ( resource:Linz ) } . ?j rdf:type ontology:second-level_administrative_country_subdivision . ?d property:sister_city ?j }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1770737
P138
Q515
USER
What is that administrative country subdivision named after ?
(Q1770737,P138,c(Q515))
action filter_type
action find
entity Q1770737
relation P138
type Q515
['Q1770737', 'P138', {'concept': 'Q515'}]
SELECT DISTINCT ?f WHERE { resource:Q1770737 property:P138 ?f . ?f rdf:type ontology:Q515 }
Albufeira Municipality
action filter_type
action find
entity Albufeira Municipality
relation named after
type city
['Albufeira Municipality', 'named after', {'concept': 'city'}]
SELECT DISTINCT ?f WHERE { resource:Albufeira_Municipality property:named_after ?f . ?f rdf:type ontology:city }
[]
city
Clarification for simple ques.
Q1770737
SYSTEM
Did you mean Albufeira Municipality ?
Q1435 Q1770737
(Q1435,P138,c(Q515)) (Q1770737,P138,c(Q515))
[ANSWER]
['Q1435', 'P138', {'concept': 'Q515'}] ['Q1770737', 'P138', {'concept': 'Q515'}]
SELECT DISTINCT ?f WHERE { resource:Q1770737 property:P138 ?f . ?f rdf:type ontology:Q515 }
Zagreb Albufeira Municipality
Did you mean Albufeira Municipality ?
Albufeira Municipality
['Zagreb', 'named after', {'concept': 'city'}] ['Albufeira Municipality', 'named after', {'concept': 'city'}]
SELECT DISTINCT ?f WHERE { resource:Albufeira_Municipality property:named_after ?f . ?f rdf:type ontology:city }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1770737,P138,c(Q515))
['Q1770737', 'P138', {'concept': 'Q515'}]
['Albufeira Municipality', 'named after', {'concept': 'city'}]
[]
Q373813
SYSTEM
Albufeira
Q373813
(Q1770737,P138,c(Q515))
action filter_type
action find
entity Q1770737
relation P138
type Q515
[ANSWER] after that administrative country subdivision named is
['Q1770737', 'P138', {'concept': 'Q515'}]
SELECT DISTINCT ?f WHERE { resource:Q1770737 property:P138 ?f . ?f rdf:type ontology:Q515 }
Albufeira
Albufeira after that administrative country subdivision named is
Albufeira
action filter_type
action find
entity Albufeira Municipality
relation named after
type city
['Albufeira Municipality', 'named after', {'concept': 'city'}]
SELECT DISTINCT ?f WHERE { resource:Albufeira_Municipality property:named_after ?f . ?f rdf:type ontology:city }
[]