Simple Question (Direct)
Simple Question
Q3838894
P39
Q12737077
USER
Which occupations were a position held by Lucio Malan ?
(Q3838894,P39,c(Q12737077))
action filter_type
action find
entity Q3838894
relation P39
type Q12737077
['Q3838894', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q3838894 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
Lucio Malan
action filter_type
action find
entity Lucio Malan
relation position held
type occupation
['Lucio Malan', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Lucio_Malan property:position_held ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q18558478 Q13653224
SYSTEM
member of the Chamber of Deputies of the Italian Republic, member of the Italian Senate
Q18558478 Q13653224
(Q3838894,P39,c(Q12737077))
action filter_type
action find
entity Q3838894
relation P39
type Q12737077
And [ANSWERS] were a position held by Lucio Malan
['Q3838894', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q3838894 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
member of the Chamber of Deputies of the Italian Republic member of the Italian Senate
And member of the Chamber of Deputies of the Italian Republic and member of the Italian Senate were a position held by Lucio Malan
member of the Chamber of Deputies of the Italian Republic member of the Italian Senate
action filter_type
action find
entity Lucio Malan
relation position held
type occupation
['Lucio Malan', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Lucio_Malan property:position_held ?d . ?d rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q13653224
P17
Q15617994
USER
Which administrative territory is that occupation located in ?
(Q13653224,P17,c(Q15617994))
action filter_type
action find
entity Q13653224
relation P17
type Q15617994
['Q13653224', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q13653224 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
member of the Italian Senate
action filter_type
action find
entity member of the Italian Senate
relation country
type designation for an administrative territorial entity
['member of the Italian Senate', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:member_of_the_Italian_Senate property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q13653224
SYSTEM
Did you mean member of the Italian Senate ?
Q18558478 Q13653224
(Q18558478,P17,c(Q15617994)) (Q13653224,P17,c(Q15617994))
[ANSWER]
['Q18558478', 'P17', {'concept': 'Q15617994'}] ['Q13653224', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q13653224 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
member of the Chamber of Deputies of the Italian Republic member of the Italian Senate
Did you mean member of the Italian Senate ?
member of the Italian Senate
['member of the Chamber of Deputies of the Italian Republic', 'country', {'concept': 'designation for an administrative territorial entity'}] ['member of the Italian Senate', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:member_of_the_Italian_Senate property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q13653224,P17,c(Q15617994))
['Q13653224', 'P17', {'concept': 'Q15617994'}]
['member of the Italian Senate', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38
SYSTEM
Italy
Q38
(Q13653224,P17,c(Q15617994))
action filter_type
action find
entity Q13653224
relation P17
type Q15617994
That occupation is located in [ANSWER]
['Q13653224', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q13653224 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Italy
That occupation is located in Italy
Italy
action filter_type
action find
entity member of the Italian Senate
relation country
type designation for an administrative territorial entity
['member of the Italian Senate', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:member_of_the_Italian_Senate property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]