Simple Question (Direct)
Simple Question
Q19290931
P1412
Q34770
USER
Which language is Francesc Puigjaner i Gual capable of writing ?
(Q19290931,P1412,c(Q34770))
action filter_type
action find
entity Q19290931
relation P1412
type Q34770
['Q19290931', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q19290931 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
Francesc Puigjaner i Gual
action filter_type
action find
entity Francesc Puigjaner i Gual
relation languages spoken, written or signed
type language
['Francesc Puigjaner i Gual', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Francesc_Puigjaner_i_Gual property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q19290931,P1412,c(Q34770))
action filter_type
action find
entity Q19290931
relation P1412
type Q34770
[ANSWER] is Francesc Puigjaner i Gual capable of writing
['Q19290931', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q19290931 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
Spanish
Spanish is Francesc Puigjaner i Gual capable of writing
Spanish
action filter_type
action find
entity Francesc Puigjaner i Gual
relation languages spoken, written or signed
type language
['Francesc Puigjaner i Gual', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Francesc_Puigjaner_i_Gual property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19290931
P937
Q56061
USER
What is the location where that person worked ?
(Q1321,P937,c(Q56061))
action filter_type
action find
entity Q19290931
relation P937
type Q56061
['Q1321', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q19290931 property:P937 ?c . ?c rdf:type ontology:Q56061 }
Francesc Puigjaner i Gual
action filter_type
action find
entity Francesc Puigjaner i Gual
relation work location
type administrative territorial entity
['Spanish', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Francesc_Puigjaner_i_Gual property:work_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2807
SYSTEM
Madrid
Q2807
(Q1321,P937,c(Q56061))
action filter_type
action find
entity Q19290931
relation P937
type Q56061
The location that person worked is [ANSWER]
['Q1321', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q19290931 property:P937 ?c . ?c rdf:type ontology:Q56061 }
Madrid
The location that person worked is Madrid
Madrid
action filter_type
action find
entity Francesc Puigjaner i Gual
relation work location
type administrative territorial entity
['Spanish', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Francesc_Puigjaner_i_Gual property:work_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19290931
P39
Q12737077
USER
Which occupation was a position for which Francesc Puigjaner i Gual was appointed ?
(Q19290931,P39,c(Q12737077))
action filter_type
action find
entity Q19290931
relation P39
type Q12737077
['Q19290931', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q19290931 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
Francesc Puigjaner i Gual
action filter_type
action find
entity Francesc Puigjaner i Gual
relation position held
type occupation
['Francesc Puigjaner i Gual', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Francesc_Puigjaner_i_Gual property:position_held ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q18171345
SYSTEM
Member of the Congress of Deputies of Spain
Q18171345
(Q19290931,P39,c(Q12737077))
action filter_type
action find
entity Q19290931
relation P39
type Q12737077
[ANSWER] was a position for which Francesc Puigjaner i Gual was appointed
['Q19290931', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q19290931 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
Member of the Congress of Deputies of Spain
Member of the Congress of Deputies of Spain was a position for which Francesc Puigjaner i Gual was appointed
Member of the Congress of Deputies of Spain
action filter_type
action find
entity Francesc Puigjaner i Gual
relation position held
type occupation
['Francesc Puigjaner i Gual', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Francesc_Puigjaner_i_Gual property:position_held ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q820
Q12737077
USER
And how about Juan Antonio Rios?
(Q820,P39,c(Q12737077))
action filter_type
action find
entity Q820
relation P39
type Q12737077
['Q820', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q820 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
Juan Antonio Rios
action filter_type
action find
entity Juan Antonio Rios
relation position held
type occupation
['Juan Antonio Rios', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Juan_Antonio_Rios property:position_held ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q466956 Q18067639 Q18882653
SYSTEM
President of Chile, member of the Chamber of Deputies of Chile, member of the Senate of Chile
Q466956 Q18067639 Q18882653
(Q820,P39,c(Q12737077))
action filter_type
action find
entity Q820
relation P39
type Q12737077
[ANSWERS]
['Q820', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q820 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
President of Chile member of the Chamber of Deputies of Chile member of the Senate of Chile
President of Chile member of the Chamber of Deputies of Chile member of the Senate of Chile
action filter_type
action find
entity Juan Antonio Rios
relation position held
type occupation
['Juan Antonio Rios', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Juan_Antonio_Rios property:position_held ?k . ?k rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6774579
P39
Q502895
USER
Were Martha Tabram responsible for occupying the position of those occupations ?
(Q6774579,P39,Q466956) (Q6774579,P39,Q18067639) (Q6774579,P39,Q18882653)
action is_in
entity prev_answer
action find
entity Q6774579
relation P39
['Q6774579', 'P39', 'Q466956'] ['Q6774579', 'P39', 'Q18067639'] ['Q6774579', 'P39', 'Q18882653']
ASK WHERE { VALUES ( ?b ) { ( resource:Q466956 ) ( resource:Q18067639 ) ( resource:Q18882653 ) } . resource:Q6774579 property:P39 ?b }
Martha Tabram
action is_in
entity prev_answer
action find
entity Martha Tabram
relation position held
['Martha Tabram', 'position held', 'President of Chile'] ['Martha Tabram', 'position held', 'member of the Chamber of Deputies of Chile'] ['Martha Tabram', 'position held', 'member of the Senate of Chile']
ASK WHERE { VALUES ( ?b ) { ( resource:President_of_Chile ) ( resource:member_of_the_Chamber_of_Deputies_of_Chile ) ( resource:member_of_the_Senate_of_Chile ) } . resource:Martha_Tabram property:position_held ?b }
[]
common name
SYSTEM
NO
(Q6774579,P39,Q466956) (Q6774579,P39,Q18067639) (Q6774579,P39,Q18882653)
action is_in
entity prev_answer
action find
entity Q6774579
relation P39
[ANSWER]
['Q6774579', 'P39', 'Q466956'] ['Q6774579', 'P39', 'Q18067639'] ['Q6774579', 'P39', 'Q18882653']
ASK WHERE { VALUES ( ?b ) { ( resource:Q466956 ) ( resource:Q18067639 ) ( resource:Q18882653 ) } . resource:Q6774579 property:P39 ?b }
No
action is_in
entity prev_answer
action find
entity Martha Tabram
relation position held
['Martha Tabram', 'position held', 'President of Chile'] ['Martha Tabram', 'position held', 'member of the Chamber of Deputies of Chile'] ['Martha Tabram', 'position held', 'member of the Senate of Chile']
ASK WHERE { VALUES ( ?b ) { ( resource:President_of_Chile ) ( resource:member_of_the_Chamber_of_Deputies_of_Chile ) ( resource:member_of_the_Senate_of_Chile ) } . resource:Martha_Tabram property:position_held ?b }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q18882653 Q298
P1001
Q15617994
USER
Does Chile come under the jurisdiction of that occupation ?
(Q18882653,P1001,Q298)
action is_in
entity Q298
action find
entity Q18882653
relation P1001
['Q18882653', 'P1001', 'Q298']
ASK WHERE { resource:Q18882653 property:P1001 resource:Q298 }
member of the Senate of Chile Chile
action is_in
entity Chile
action find
entity member of the Senate of Chile
relation applies to jurisdiction
['member of the Senate of Chile', 'applies to jurisdiction', 'Chile']
ASK WHERE { resource:member_of_the_Senate_of_Chile property:applies_to_jurisdiction resource:Chile }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q18882653,P1001,Q298)
action is_in
entity Q298
action find
entity Q18882653
relation P1001
[ANSWER]
['Q18882653', 'P1001', 'Q298']
ASK WHERE { resource:Q18882653 property:P1001 resource:Q298 }
Yes
action is_in
entity Chile
action find
entity member of the Senate of Chile
relation applies to jurisdiction
['member of the Senate of Chile', 'applies to jurisdiction', 'Chile']
ASK WHERE { resource:member_of_the_Senate_of_Chile property:applies_to_jurisdiction resource:Chile }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q18171345 Q11058 Q29
P1001
Q15617994
USER
Does Member of the Congress of Deputies of Spain apply to jurisdiction over Reichshof and Spain ?
(Q18171345,P1001,Q11058) (Q18171345,P1001,Q29)
action is_in
entity Q18171345
action intersection
action find_reverse
entity Q11058
relation P1001
action find_reverse
entity Q29
relation P1001
['Q18171345', 'P1001', 'Q11058'] ['Q18171345', 'P1001', 'Q29']
ASK WHERE { resource:Q18171345 property:P1001 resource:Q11058 . resource:Q18171345 property:P1001 resource:Q29 }
Member of the Congress of Deputies of Spain Reichshof Spain
action is_in
entity Member of the Congress of Deputies of Spain
action intersection
action find_reverse
entity Reichshof
relation applies to jurisdiction
action find_reverse
entity Spain
relation applies to jurisdiction
['Member of the Congress of Deputies of Spain', 'applies to jurisdiction', 'Reichshof'] ['Member of the Congress of Deputies of Spain', 'applies to jurisdiction', 'Spain']
ASK WHERE { resource:Member_of_the_Congress_of_Deputies_of_Spain property:applies_to_jurisdiction resource:Reichshof . resource:Member_of_the_Congress_of_Deputies_of_Spain property:applies_to_jurisdiction resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q18171345,P1001,Q11058) (Q18171345,P1001,Q29)
action is_in
entity Q18171345
action intersection
action find_reverse
entity Q11058
relation P1001
action find_reverse
entity Q29
relation P1001
[ANSWER]
['Q18171345', 'P1001', 'Q11058'] ['Q18171345', 'P1001', 'Q29']
ASK WHERE { resource:Q18171345 property:P1001 resource:Q11058 . resource:Q18171345 property:P1001 resource:Q29 }
NO and YES respectively
action is_in
entity Member of the Congress of Deputies of Spain
action intersection
action find_reverse
entity Reichshof
relation applies to jurisdiction
action find_reverse
entity Spain
relation applies to jurisdiction
['Member of the Congress of Deputies of Spain', 'applies to jurisdiction', 'Reichshof'] ['Member of the Congress of Deputies of Spain', 'applies to jurisdiction', 'Spain']
ASK WHERE { resource:Member_of_the_Congress_of_Deputies_of_Spain property:applies_to_jurisdiction resource:Reichshof . resource:Member_of_the_Congress_of_Deputies_of_Spain property:applies_to_jurisdiction resource:Spain }
[]