Simple Question (Direct)
Simple Question
Q701570
P102
Q7210356
USER
Which political organization is Leonardo Domenici a member of ?
(Q701570,P102,c(Q7210356))
action filter_type
action find
entity Q701570
relation P102
type Q7210356
['Q701570', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { resource:Q701570 property:P102 ?o . ?o rdf:type ontology:Q7210356 }
Leonardo Domenici
action filter_type
action find
entity Leonardo Domenici
relation member of political party
type political organization
['Leonardo Domenici', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { resource:Leonardo_Domenici property:member_of_political_party ?o . ?o rdf:type ontology:political_organization }
[]
political organization
Q47729
SYSTEM
Democratic Party
Q47729
(Q701570,P102,c(Q7210356))
action filter_type
action find
entity Q701570
relation P102
type Q7210356
The [ANSWER] is Leonardo Domenici a member of
['Q701570', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { resource:Q701570 property:P102 ?o . ?o rdf:type ontology:Q7210356 }
Democratic Party
The Democratic Party is Leonardo Domenici a member of
Democratic Party
action filter_type
action find
entity Leonardo Domenici
relation member of political party
type political organization
['Leonardo Domenici', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { resource:Leonardo_Domenici property:member_of_political_party ?o . ?o rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q701570
P937
Q515
USER
Where did Leonardo Domenici work ?
(Q701570,P937,c(Q515))
action filter_type
action find
entity Q701570
relation P937
type Q515
['Q701570', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?d WHERE { resource:Q701570 property:P937 ?d . ?d rdf:type ontology:Q515 }
Leonardo Domenici
action filter_type
action find
entity Leonardo Domenici
relation work location
type city
['Leonardo Domenici', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?d WHERE { resource:Leonardo_Domenici property:work_location ?d . ?d rdf:type ontology:city }
[]
city
Q6602
SYSTEM
Strasbourg
Q6602
(Q701570,P937,c(Q515))
action filter_type
action find
entity Q701570
relation P937
type Q515
Leonardo Domenici worked [ANSWER]
['Q701570', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?d WHERE { resource:Q701570 property:P937 ?d . ?d rdf:type ontology:Q515 }
Strasbourg
Leonardo Domenici worked Strasbourg
Strasbourg
action filter_type
action find
entity Leonardo Domenici
relation work location
type city
['Leonardo Domenici', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?d WHERE { resource:Leonardo_Domenici property:work_location ?d . ?d rdf:type ontology:city }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q440012
Q515
USER
And how about Marie-Thérèse Sanchez-Schmid?
(Q440012,P937,c(Q515))
action filter_type
action find
entity Q440012
relation P937
type Q515
['Q440012', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?v WHERE { resource:Q440012 property:P937 ?v . ?v rdf:type ontology:Q515 }
Marie-Thérèse Sanchez-Schmid
action filter_type
action find
entity Marie-Thérèse Sanchez-Schmid
relation work location
type city
['Marie-Thérèse Sanchez-Schmid', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?v WHERE { resource:Marie-Thérèse_Sanchez-Schmid property:work_location ?v . ?v rdf:type ontology:city }
[]
city
Q6602
SYSTEM
Strasbourg
Q6602
(Q440012,P937,c(Q515))
action filter_type
action find
entity Q440012
relation P937
type Q515
[ANSWER]
['Q440012', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?v WHERE { resource:Q440012 property:P937 ?v . ?v rdf:type ontology:Q515 }
Strasbourg
Strasbourg
action filter_type
action find
entity Marie-Thérèse Sanchez-Schmid
relation work location
type city
['Marie-Thérèse Sanchez-Schmid', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?v WHERE { resource:Marie-Thérèse_Sanchez-Schmid property:work_location ?v . ?v rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6602
P138
Q79007
USER
Which street has that city as its toponym ?
(c(Q79007),P138,Q6602)
action filter_type
action find_reverse
entity Q6602
relation P138
type Q79007
[{'concept': 'Q79007'}, 'P138', 'Q6602']
SELECT DISTINCT ?a WHERE { ?a property:P138 resource:Q6602 . ?a rdf:type ontology:Q79007 }
Strasbourg
action filter_type
action find_reverse
entity Strasbourg
relation named after
type street
[{'concept': 'street'}, 'named after', 'Strasbourg']
SELECT DISTINCT ?a WHERE { ?a property:named_after resource:Strasbourg . ?a rdf:type ontology:street }
[]
street
Q2922002
SYSTEM
boulevard de Strasbourg
Q2922002
(c(Q79007),P138,Q6602)
action filter_type
action find_reverse
entity Q6602
relation P138
type Q79007
[ANSWER] has that city as its toponym
[{'concept': 'Q79007'}, 'P138', 'Q6602']
SELECT DISTINCT ?a WHERE { ?a property:P138 resource:Q6602 . ?a rdf:type ontology:Q79007 }
boulevard de Strasbourg
Boulevard de Strasbourg has that city as its toponym
boulevard de Strasbourg
action filter_type
action find_reverse
entity Strasbourg
relation named after
type street
[{'concept': 'street'}, 'named after', 'Strasbourg']
SELECT DISTINCT ?a WHERE { ?a property:named_after resource:Strasbourg . ?a rdf:type ontology:street }
[]