Simple Question (Direct)
Simple Question
Q11919130
P39
Q12737077
USER
Which occupations were a position held by Emili Briansó Planes ?
(Q11919130,P39,c(Q12737077))
action filter_type
action find
entity Q11919130
relation P39
type Q12737077
['Q11919130', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q11919130 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
Emili Briansó Planes
action filter_type
action find
entity Emili Briansó Planes
relation position held
type occupation
['Emili Briansó Planes', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Emili_Briansó_Planes property:position_held ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q30185 Q708492
SYSTEM
mayor, councillor
Q30185 Q708492
(Q11919130,P39,c(Q12737077))
action filter_type
action find
entity Q11919130
relation P39
type Q12737077
The [ANSWERS] were a position held by Emili Briansó Planes
['Q11919130', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q11919130 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
mayor councillor
The mayor and councillor were a position held by Emili Briansó Planes
mayor councillor
action filter_type
action find
entity Emili Briansó Planes
relation position held
type occupation
['Emili Briansó Planes', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Emili_Briansó_Planes property:position_held ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11919130
P1412
Q34770
USER
Which language is that person capable of writing ?
(Q30185,P1412,c(Q34770)) (Q708492,P1412,c(Q34770))
action filter_type
action find
entity Q11919130
relation P1412
type Q34770
['Q30185', 'P1412', {'concept': 'Q34770'}] ['Q708492', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q11919130 property:P1412 ?l . ?l rdf:type ontology:Q34770 }
Emili Briansó Planes
action filter_type
action find
entity Emili Briansó Planes
relation languages spoken, written or signed
type language
['mayor', 'languages spoken, written or signed', {'concept': 'language'}] ['councillor', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:Emili_Briansó_Planes property:languages_spoken,_written_or_signed ?l . ?l rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q30185,P1412,c(Q34770)) (Q708492,P1412,c(Q34770))
action filter_type
action find
entity Q11919130
relation P1412
type Q34770
[ANSWER] is that person capable of writing
['Q30185', 'P1412', {'concept': 'Q34770'}] ['Q708492', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q11919130 property:P1412 ?l . ?l rdf:type ontology:Q34770 }
Spanish
Spanish is that person capable of writing
Spanish
action filter_type
action find
entity Emili Briansó Planes
relation languages spoken, written or signed
type language
['mayor', 'languages spoken, written or signed', {'concept': 'language'}] ['councillor', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:Emili_Briansó_Planes property:languages_spoken,_written_or_signed ?l . ?l rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1321 Q10371776
P1412
Q502895
USER
Does Simão de Tavares write that language ?
(Q10371776,P1412,Q1321)
action is_in
entity Q10371776
action find
entity Q1321
relation P1412
['Q10371776', 'P1412', 'Q1321']
ASK WHERE { resource:Q1321 property:P1412 resource:Q10371776 }
Spanish Simão de Tavares
action is_in
entity Simão de Tavares
action find
entity Spanish
relation languages spoken, written or signed
['Simão de Tavares', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { resource:Spanish property:languages_spoken,_written_or_signed resource:Simão_de_Tavares }
[]
common name
SYSTEM
NO
(Q10371776,P1412,Q1321)
action is_in
entity Q10371776
action find
entity Q1321
relation P1412
[ANSWER]
['Q10371776', 'P1412', 'Q1321']
ASK WHERE { resource:Q1321 property:P1412 resource:Q10371776 }
No
action is_in
entity Simão de Tavares
action find
entity Spanish
relation languages spoken, written or signed
['Simão de Tavares', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { resource:Spanish property:languages_spoken,_written_or_signed resource:Simão_de_Tavares }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7103120 Q11919130
P27
Q15617994
USER
Which administrative territories are Emili Briansó Planes or Orlando Lourenco a civilian of ?
OR((Q11919130,P27,c(Q15617994)), (Q7103120,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q11919130
relation P27
action find
entity Q7103120
relation P27
type Q15617994
{'OR': [['Q11919130', 'P27', {'concept': 'Q15617994'}], ['Q7103120', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q11919130 property:P27 ?j } UNION { resource:Q7103120 property:P27 ?j } } . ?j rdf:type ontology:Q15617994 }
Orlando Lourenco Emili Briansó Planes
action filter_type
action union
action find
entity Emili Briansó Planes
relation country of citizenship
action find
entity Orlando Lourenco
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Emili Briansó Planes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Orlando Lourenco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Emili_Briansó_Planes property:country_of_citizenship ?j } UNION { resource:Orlando_Lourenco property:country_of_citizenship ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q954
SYSTEM
Spain, Zimbabwe
Q29 Q954
OR((Q11919130,P27,c(Q15617994)), (Q7103120,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q11919130
relation P27
action find
entity Q7103120
relation P27
type Q15617994
[ANSWERS] are Emili Briansó Planes or Orlando Lourenco a civilian of
{'OR': [['Q11919130', 'P27', {'concept': 'Q15617994'}], ['Q7103120', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q11919130 property:P27 ?j } UNION { resource:Q7103120 property:P27 ?j } } . ?j rdf:type ontology:Q15617994 }
Spain Zimbabwe
Spain and Zimbabwe are Emili Briansó Planes or Orlando Lourenco a civilian of
Spain Zimbabwe
action filter_type
action union
action find
entity Emili Briansó Planes
relation country of citizenship
action find
entity Orlando Lourenco
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Emili Briansó Planes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Orlando Lourenco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Emili_Briansó_Planes property:country_of_citizenship ?j } UNION { resource:Orlando_Lourenco property:country_of_citizenship ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P463
Q43229
USER
How many organizations were that administrative territory a member of ?
(Q29,P463,c(Q43229))
['Q29', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q20266861 property:P463 ?z . ?z rdf:type ontology:Q43229 }
['Spain', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Spain property:member_of ?z . ?z rdf:type ontology:organization }
[]
organization
Quantitative|Count|Single entity type|Clarification
Q29
SYSTEM
Did you mean Spain ?
(Q29,P463,c(Q43229)) (Q954,P463,c(Q43229))
[ANSWER]
['Q29', 'P463', {'concept': 'Q43229'}] ['Q954', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q20266861 property:P463 ?z . ?z rdf:type ontology:Q43229 }
Did you mean Spain ?
Spain
['Spain', 'member of', {'concept': 'organization'}] ['Zimbabwe', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Spain property:member_of ?z . ?z rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q29,P463,c(Q43229))
['Q29', 'P463', {'concept': 'Q43229'}]
['Spain', 'member of', {'concept': 'organization'}]
[]
SYSTEM
8
Q340195 Q191384 Q899770 Q41550 Q656801 Q151991 Q7825 Q827525
(Q29,P463,c(Q43229))
[ANSWER]
['Q29', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q20266861 property:P463 ?z . ?z rdf:type ontology:Q43229 }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development International Finance Corporation European Southern Observatory World Trade Organization International Development Association
8
['Spain', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Spain property:member_of ?z . ?z rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11919130
P106
Q12737077
USER
What are the professions of Emili Briansó Planes ?
(Q11919130,P106,c(Q12737077))
action filter_type
action find
entity Q11919130
relation P106
type Q12737077
['Q11919130', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q11919130 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Emili Briansó Planes
action filter_type
action find
entity Emili Briansó Planes
relation occupation
type occupation
['Emili Briansó Planes', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Emili_Briansó_Planes property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q39631 Q82955
SYSTEM
physician, politician
Q39631 Q82955
(Q11919130,P106,c(Q12737077))
action filter_type
action find
entity Q11919130
relation P106
type Q12737077
The professions of Emili Briansó Planes are a [ANSWERS]
['Q11919130', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q11919130 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
physician politician
The professions of Emili Briansó Planes are a physician and politician
physician politician
action filter_type
action find
entity Emili Briansó Planes
relation occupation
type occupation
['Emili Briansó Planes', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Emili_Briansó_Planes property:occupation ?c . ?c rdf:type ontology:occupation }
[]