Simple Question (Direct)
Simple Question
Q17037057
P1412
Q34770
USER
Which language is Josep Maria Ureta i Buxeda capable of writing ?
(Q17037057,P1412,c(Q34770))
action filter_type
action find
entity Q17037057
relation P1412
type Q34770
['Q17037057', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q17037057 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
Josep Maria Ureta i Buxeda
action filter_type
action find
entity Josep Maria Ureta i Buxeda
relation languages spoken, written or signed
type language
['Josep Maria Ureta i Buxeda', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Josep_Maria_Ureta_i_Buxeda property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q17037057,P1412,c(Q34770))
action filter_type
action find
entity Q17037057
relation P1412
type Q34770
[ANSWER] is Josep Maria Ureta i Buxeda capable of writing
['Q17037057', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q17037057 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
Spanish
Spanish is Josep Maria Ureta i Buxeda capable of writing
Spanish
action filter_type
action find
entity Josep Maria Ureta i Buxeda
relation languages spoken, written or signed
type language
['Josep Maria Ureta i Buxeda', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Josep_Maria_Ureta_i_Buxeda property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17037057
P551
Q56061
USER
Where did Josep Maria Ureta i Buxeda reside ?
(Q17037057,P551,c(Q56061))
action filter_type
action find
entity Q17037057
relation P551
type Q56061
['Q17037057', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q17037057 property:P551 ?m }
Josep Maria Ureta i Buxeda
action filter_type
action find
entity Josep Maria Ureta i Buxeda
relation residence
type administrative territorial entity
['Josep Maria Ureta i Buxeda', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Josep_Maria_Ureta_i_Buxeda property:residence ?m }
[]
administrative territorial entity
Q12258
SYSTEM
Sabadell
Q12258
(Q17037057,P551,c(Q56061))
action filter_type
action find
entity Q17037057
relation P551
type Q56061
Josep Maria Ureta i Buxeda resided in [ANSWER]
['Q17037057', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q17037057 property:P551 ?m }
Sabadell
Josep Maria Ureta i Buxeda resided in Sabadell
Sabadell
action filter_type
action find
entity Josep Maria Ureta i Buxeda
relation residence
type administrative territorial entity
['Josep Maria Ureta i Buxeda', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Josep_Maria_Ureta_i_Buxeda property:residence ?m }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1186860 Q12258
P17
Q15617994
USER
Which administrative territories are Sabadell or Elogio del horizonte a part of ?
OR((Q12258,P17,c(Q15617994)), (Q1186860,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q12258
relation P17
action find
entity Q1186860
relation P17
type Q15617994
{'OR': [['Q12258', 'P17', {'concept': 'Q15617994'}], ['Q1186860', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q12258 property:P17 ?a } UNION { resource:Q1186860 property:P17 ?a } } . ?a rdf:type ontology:Q15617994 }
Elogio del horizonte Sabadell
action filter_type
action union
action find
entity Sabadell
relation country
action find
entity Elogio del horizonte
relation country
type designation for an administrative territorial entity
{'OR': [['Sabadell', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Elogio del horizonte', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Sabadell property:country ?a } UNION { resource:Elogio_del_horizonte property:country ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
OR((Q12258,P17,c(Q15617994)), (Q1186860,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q12258
relation P17
action find
entity Q1186860
relation P17
type Q15617994
[ANSWER] is Sabadell or Elogio del horizonte a part of
{'OR': [['Q12258', 'P17', {'concept': 'Q15617994'}], ['Q1186860', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q12258 property:P17 ?a } UNION { resource:Q1186860 property:P17 ?a } } . ?a rdf:type ontology:Q15617994 }
Spain
Spain is Sabadell or Elogio del horizonte a part of
Spain
action filter_type
action union
action find
entity Sabadell
relation country
action find
entity Elogio del horizonte
relation country
type designation for an administrative territorial entity
{'OR': [['Sabadell', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Elogio del horizonte', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Sabadell property:country ?a } UNION { resource:Elogio_del_horizonte property:country ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q29 Q7172
P47
Q56061
USER
Does Arab League have a shared border with that administrative territory ?
(Q29,P47,Q7172)
action is_in
entity Q7172
action find
entity Q29
relation P47
['Q29', 'P47', 'Q7172']
ASK WHERE { resource:Q29 property:P47 resource:Q7172 }
Spain Arab League
action is_in
entity Arab League
action find
entity Spain
relation shares border with
['Spain', 'shares border with', 'Arab League']
ASK WHERE { resource:Spain property:shares_border_with resource:Arab_League }
[]
administrative territorial entity
SYSTEM
YES
(Q29,P47,Q7172)
action is_in
entity Q7172
action find
entity Q29
relation P47
[ANSWER]
['Q29', 'P47', 'Q7172']
ASK WHERE { resource:Q29 property:P47 resource:Q7172 }
Yes
action is_in
entity Arab League
action find
entity Spain
relation shares border with
['Spain', 'shares border with', 'Arab League']
ASK WHERE { resource:Spain property:shares_border_with resource:Arab_League }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q17037057 Q12258
P19
Q56061
USER
Is Sabadell the birthplace of that person ?
(Q17037057,P19,Q12258)
action is_in
entity Q12258
action find
entity Q17037057
relation P19
['Q17037057', 'P19', 'Q12258']
ASK WHERE { resource:Q17037057 property:P19 resource:Q12258 }
Josep Maria Ureta i Buxeda Sabadell
action is_in
entity Sabadell
action find
entity Josep Maria Ureta i Buxeda
relation place of birth
['Josep Maria Ureta i Buxeda', 'place of birth', 'Sabadell']
ASK WHERE { resource:Josep_Maria_Ureta_i_Buxeda property:place_of_birth resource:Sabadell }
[]
administrative territorial entity
SYSTEM
YES
(Q17037057,P19,Q12258)
action is_in
entity Q12258
action find
entity Q17037057
relation P19
[ANSWER]
['Q17037057', 'P19', 'Q12258']
ASK WHERE { resource:Q17037057 property:P19 resource:Q12258 }
Yes
action is_in
entity Sabadell
action find
entity Josep Maria Ureta i Buxeda
relation place of birth
['Josep Maria Ureta i Buxeda', 'place of birth', 'Sabadell']
ASK WHERE { resource:Josep_Maria_Ureta_i_Buxeda property:place_of_birth resource:Sabadell }
[]