Simple Question (Direct)
Simple Question
Q6662901
P463
Q48204
USER
Which voluntary association was Lluís Solé a member of ?
(Q6662901,P463,c(Q48204))
action filter_type
action find
entity Q6662901
relation P463
type Q48204
['Q6662901', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q48204 . resource:Q6662901 property:P463 ?r }
Lluís Solé
action filter_type
action find
entity Lluís Solé
relation member of
type voluntary association
['Lluís Solé', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:voluntary_association . resource:Lluís_Solé property:member_of ?r }
[]
voluntary association
Q756890
SYSTEM
Institut d'Estudis Catalans
Q756890
(Q6662901,P463,c(Q48204))
action filter_type
action find
entity Q6662901
relation P463
type Q48204
The [ANSWER] was Lluís Solé a member of
['Q6662901', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q48204 . resource:Q6662901 property:P463 ?r }
Institut d'Estudis Catalans
The Institut d'Estudis Catalans was Lluís Solé a member of
Institut d'Estudis Catalans
action filter_type
action find
entity Lluís Solé
relation member of
type voluntary association
['Lluís Solé', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:voluntary_association . resource:Lluís_Solé property:member_of ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q756890
P112
Q502895
USER
Which person founded that voluntary association ?
(Q756890,P112,c(Q502895))
action filter_type
action find
entity Q756890
relation P112
type Q502895
['Q756890', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q756890 property:P112 ?l . ?l rdf:type ontology:Q502895 }
Institut d'Estudis Catalans
action filter_type
action find
entity Institut d'Estudis Catalans
relation founder
type common name
["Institut d'Estudis Catalans", 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Institut_d'Estudis_Catalans property:founder ?l . ?l rdf:type ontology:common_name }
[]
common name
Q727170
SYSTEM
Enric Prat de la Riba
Q727170
(Q756890,P112,c(Q502895))
action filter_type
action find
entity Q756890
relation P112
type Q502895
[ANSWER] founded that voluntary association
['Q756890', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q756890 property:P112 ?l . ?l rdf:type ontology:Q502895 }
Enric Prat de la Riba
Enric Prat de la Riba founded that voluntary association
Enric Prat de la Riba
action filter_type
action find
entity Institut d'Estudis Catalans
relation founder
type common name
["Institut d'Estudis Catalans", 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Institut_d'Estudis_Catalans property:founder ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q727170
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q727170,P102,c(Q7210356))
action filter_type
action find
entity Q727170
relation P102
type Q7210356
['Q727170', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q727170 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Enric Prat de la Riba
action filter_type
action find
entity Enric Prat de la Riba
relation member of political party
type political organization
['Enric Prat de la Riba', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Enric_Prat_de_la_Riba property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
political organization
Q3052430
SYSTEM
Regionalist League
Q3052430
(Q727170,P102,c(Q7210356))
action filter_type
action find
entity Q727170
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q727170', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q727170 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Regionalist League
That person is affiliated with Regionalist League
Regionalist League
action filter_type
action find
entity Enric Prat de la Riba
relation member of political party
type political organization
['Enric Prat de la Riba', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Enric_Prat_de_la_Riba property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q704422
Q7210356
USER
And also tell me about Konstantin Muraviev?
(Q704422,P102,c(Q7210356))
action filter_type
action find
entity Q704422
relation P102
type Q7210356
['Q704422', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { resource:Q704422 property:P102 ?r . ?r rdf:type ontology:Q7210356 }
Konstantin Muraviev
action filter_type
action find
entity Konstantin Muraviev
relation member of political party
type political organization
['Konstantin Muraviev', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { resource:Konstantin_Muraviev property:member_of_political_party ?r . ?r rdf:type ontology:political_organization }
[]
political organization
Q11689171
SYSTEM
Bulgarian Agrarian National Union
Q11689171
(Q704422,P102,c(Q7210356))
action filter_type
action find
entity Q704422
relation P102
type Q7210356
[ANSWER]
['Q704422', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { resource:Q704422 property:P102 ?r . ?r rdf:type ontology:Q7210356 }
Bulgarian Agrarian National Union
Bulgarian Agrarian National Union
action filter_type
action find
entity Konstantin Muraviev
relation member of political party
type political organization
['Konstantin Muraviev', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { resource:Konstantin_Muraviev property:member_of_political_party ?r . ?r rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3052430
P1142
Q7257
USER
Which ideology does Regionalist League believe in ?
(Q3052430,P1142,c(Q7257))
action filter_type
action find
entity Q3052430
relation P1142
type Q7257
['Q3052430', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?h WHERE { resource:Q3052430 property:P1142 ?h . ?h rdf:type ontology:Q7257 }
Regionalist League
action filter_type
action find
entity Regionalist League
relation political ideology
type ideology
['Regionalist League', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?h WHERE { resource:Regionalist_League property:political_ideology ?h . ?h rdf:type ontology:ideology }
[]
ideology
Q1735599
SYSTEM
Catalan nationalism
Q1735599
(Q3052430,P1142,c(Q7257))
action filter_type
action find
entity Q3052430
relation P1142
type Q7257
Regionalist League believes in [ANSWER]
['Q3052430', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?h WHERE { resource:Q3052430 property:P1142 ?h . ?h rdf:type ontology:Q7257 }
Catalan nationalism
Regionalist League believes in Catalan nationalism
Catalan nationalism
action filter_type
action find
entity Regionalist League
relation political ideology
type ideology
['Regionalist League', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?h WHERE { resource:Regionalist_League property:political_ideology ?h . ?h rdf:type ontology:ideology }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q10342392 Q727170
P27
Q15617994
USER
Which administrative territories are Enric Prat de la Riba or Oswaldo Duncan an inhabitant of ?
OR((Q727170,P27,c(Q15617994)), (Q10342392,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q727170
relation P27
action find
entity Q10342392
relation P27
type Q15617994
{'OR': [['Q727170', 'P27', {'concept': 'Q15617994'}], ['Q10342392', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . { { resource:Q10342392 property:P27 ?g } UNION { resource:Q727170 property:P27 ?g } } }
Oswaldo Duncan Enric Prat de la Riba
action filter_type
action union
action find
entity Enric Prat de la Riba
relation country of citizenship
action find
entity Oswaldo Duncan
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Enric Prat de la Riba', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Oswaldo Duncan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Oswaldo_Duncan property:country_of_citizenship ?g } UNION { resource:Enric_Prat_de_la_Riba property:country_of_citizenship ?g } } }
[]
designation for an administrative territorial entity
Q155 Q29
SYSTEM
Brazil, Spain
Q155 Q29
OR((Q727170,P27,c(Q15617994)), (Q10342392,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q727170
relation P27
action find
entity Q10342392
relation P27
type Q15617994
[ANSWERS] are Enric Prat de la Riba or Oswaldo Duncan an inhabitant of
{'OR': [['Q727170', 'P27', {'concept': 'Q15617994'}], ['Q10342392', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . { { resource:Q10342392 property:P27 ?g } UNION { resource:Q727170 property:P27 ?g } } }
Brazil Spain
Brazil and Spain are Enric Prat de la Riba or Oswaldo Duncan an inhabitant of
Brazil Spain
action filter_type
action union
action find
entity Enric Prat de la Riba
relation country of citizenship
action find
entity Oswaldo Duncan
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Enric Prat de la Riba', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Oswaldo Duncan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Oswaldo_Duncan property:country_of_citizenship ?g } UNION { resource:Enric_Prat_de_la_Riba property:country_of_citizenship ?g } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q483577
P27
Q502895
USER
Are Rivaldo a citizen of those administrative territories ?
(Q483577,P27,Q155) (Q483577,P27,Q29)
action is_in
entity prev_answer
action find
entity Q483577
relation P27
['Q483577', 'P27', 'Q155'] ['Q483577', 'P27', 'Q29']
ASK WHERE { resource:Q483577 property:P27 ?i . VALUES ( ?i ) { ( resource:Q155 ) ( resource:Q29 ) } }
Rivaldo
action is_in
entity prev_answer
action find
entity Rivaldo
relation country of citizenship
['Rivaldo', 'country of citizenship', 'Brazil'] ['Rivaldo', 'country of citizenship', 'Spain']
ASK WHERE { resource:Rivaldo property:country_of_citizenship ?i . VALUES ( ?i ) { ( resource:Brazil ) ( resource:Spain ) } }
[]
common name
SYSTEM
YES
(Q483577,P27,Q155) (Q483577,P27,Q29)
action is_in
entity prev_answer
action find
entity Q483577
relation P27
[ANSWER]
['Q483577', 'P27', 'Q155'] ['Q483577', 'P27', 'Q29']
ASK WHERE { resource:Q483577 property:P27 ?i . VALUES ( ?i ) { ( resource:Q155 ) ( resource:Q29 ) } }
Yes
action is_in
entity prev_answer
action find
entity Rivaldo
relation country of citizenship
['Rivaldo', 'country of citizenship', 'Brazil'] ['Rivaldo', 'country of citizenship', 'Spain']
ASK WHERE { resource:Rivaldo property:country_of_citizenship ?i . VALUES ( ?i ) { ( resource:Brazil ) ( resource:Spain ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q29 Q953822 Q38
P530
Q15617994
USER
Does Spain have ambassadorial relations with canton of Costa Rica and Italy ?
(Q29,P530,Q953822) (Q29,P530,Q38)
action is_in
entity Q29
action intersection
action find_reverse
entity Q953822
relation P530
action find_reverse
entity Q38
relation P530
['Q29', 'P530', 'Q953822'] ['Q29', 'P530', 'Q38']
ASK WHERE { resource:Q29 property:P530 resource:Q953822 . resource:Q29 property:P530 resource:Q38 }
Spain canton of Costa Rica Italy
action is_in
entity Spain
action intersection
action find_reverse
entity canton of Costa Rica
relation diplomatic relation
action find_reverse
entity Italy
relation diplomatic relation
['Spain', 'diplomatic relation', 'canton of Costa Rica'] ['Spain', 'diplomatic relation', 'Italy']
ASK WHERE { resource:Spain property:diplomatic_relation resource:canton_of_Costa_Rica . resource:Spain property:diplomatic_relation resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q29,P530,Q953822) (Q29,P530,Q38)
action is_in
entity Q29
action intersection
action find_reverse
entity Q953822
relation P530
action find_reverse
entity Q38
relation P530
[ANSWER]
['Q29', 'P530', 'Q953822'] ['Q29', 'P530', 'Q38']
ASK WHERE { resource:Q29 property:P530 resource:Q953822 . resource:Q29 property:P530 resource:Q38 }
NO and YES respectively
action is_in
entity Spain
action intersection
action find_reverse
entity canton of Costa Rica
relation diplomatic relation
action find_reverse
entity Italy
relation diplomatic relation
['Spain', 'diplomatic relation', 'canton of Costa Rica'] ['Spain', 'diplomatic relation', 'Italy']
ASK WHERE { resource:Spain property:diplomatic_relation resource:canton_of_Costa_Rica . resource:Spain property:diplomatic_relation resource:Italy }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q727170
P106
Q12737077 Q28640
USER
How many occupations and professions are the professions of Enric Prat de la Riba ?
(Q727170,P106,c(Q12737077)) (Q727170,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q727170
relation P106
type Q12737077
action filter_type
action find
entity Q727170
relation P106
type Q28640
['Q727170', 'P106', {'concept': 'Q12737077'}] ['Q727170', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { ?s rdf:type ontology:Q28640 . resource:Q727170 property:P106 ?s } UNION { resource:Q727170 property:P106 ?s . ?s rdf:type ontology:Q12737077 } }
Enric Prat de la Riba
action count
action union
action filter_type
action find
entity Enric Prat de la Riba
relation occupation
type occupation
action filter_type
action find
entity Enric Prat de la Riba
relation occupation
type profession
['Enric Prat de la Riba', 'occupation', {'concept': 'occupation'}] ['Enric Prat de la Riba', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { ?s rdf:type ontology:profession . resource:Enric_Prat_de_la_Riba property:occupation ?s } UNION { resource:Enric_Prat_de_la_Riba property:occupation ?s . ?s rdf:type ontology:occupation } }
[]
occupation profession
SYSTEM
3 occupations and 1 professions
Q1930187 Q82955 Q11774202 Q40348
(Q727170,P106,c(Q12737077)) (Q727170,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q727170
relation P106
type Q12737077
action filter_type
action find
entity Q727170
relation P106
type Q28640
[ANSWER]
['Q727170', 'P106', {'concept': 'Q12737077'}] ['Q727170', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { ?s rdf:type ontology:Q28640 . resource:Q727170 property:P106 ?s } UNION { resource:Q727170 property:P106 ?s . ?s rdf:type ontology:Q12737077 } }
journalist politician essayist lawyer
3 occupations and 1 professions
action count
action union
action filter_type
action find
entity Enric Prat de la Riba
relation occupation
type occupation
action filter_type
action find
entity Enric Prat de la Riba
relation occupation
type profession
['Enric Prat de la Riba', 'occupation', {'concept': 'occupation'}] ['Enric Prat de la Riba', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { ?s rdf:type ontology:profession . resource:Enric_Prat_de_la_Riba property:occupation ?s } UNION { resource:Enric_Prat_de_la_Riba property:occupation ?s . ?s rdf:type ontology:occupation } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q155 Q503689 Q8022691
P530
Q15617994
USER
Does Brazil have diplomatic associations with Attenhofen and Wilmer-Hutchins Independent School District ?
(Q155,P530,Q503689) (Q155,P530,Q8022691)
action is_in
entity Q155
action intersection
action find_reverse
entity Q503689
relation P530
action find_reverse
entity Q8022691
relation P530
['Q155', 'P530', 'Q503689'] ['Q155', 'P530', 'Q8022691']
ASK WHERE { resource:Q155 property:P530 resource:Q8022691 . resource:Q155 property:P530 resource:Q503689 }
Brazil Attenhofen Wilmer-Hutchins Independent School District
action is_in
entity Brazil
action intersection
action find_reverse
entity Attenhofen
relation diplomatic relation
action find_reverse
entity Wilmer-Hutchins Independent School District
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Attenhofen'] ['Brazil', 'diplomatic relation', 'Wilmer-Hutchins Independent School District']
ASK WHERE { resource:Brazil property:diplomatic_relation resource:Wilmer-Hutchins_Independent_School_District . resource:Brazil property:diplomatic_relation resource:Attenhofen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q155,P530,Q503689) (Q155,P530,Q8022691)
action is_in
entity Q155
action intersection
action find_reverse
entity Q503689
relation P530
action find_reverse
entity Q8022691
relation P530
[ANSWER]
['Q155', 'P530', 'Q503689'] ['Q155', 'P530', 'Q8022691']
ASK WHERE { resource:Q155 property:P530 resource:Q8022691 . resource:Q155 property:P530 resource:Q503689 }
No
action is_in
entity Brazil
action intersection
action find_reverse
entity Attenhofen
relation diplomatic relation
action find_reverse
entity Wilmer-Hutchins Independent School District
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Attenhofen'] ['Brazil', 'diplomatic relation', 'Wilmer-Hutchins Independent School District']
ASK WHERE { resource:Brazil property:diplomatic_relation resource:Wilmer-Hutchins_Independent_School_District . resource:Brazil property:diplomatic_relation resource:Attenhofen }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q29 Q6684701 Q408
P530
Q1048835
USER
Does Spain have diplomatic relations with Ulianivka and Australia ?
(Q29,P530,Q6684701) (Q29,P530,Q408)
action is_in
entity Q29
action intersection
action find_reverse
entity Q6684701
relation P530
action find_reverse
entity Q408
relation P530
['Q29', 'P530', 'Q6684701'] ['Q29', 'P530', 'Q408']
ASK WHERE { resource:Q29 property:P530 resource:Q6684701 . resource:Q29 property:P530 resource:Q408 }
Spain Ulianivka Australia
action is_in
entity Spain
action intersection
action find_reverse
entity Ulianivka
relation diplomatic relation
action find_reverse
entity Australia
relation diplomatic relation
['Spain', 'diplomatic relation', 'Ulianivka'] ['Spain', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Spain property:diplomatic_relation resource:Ulianivka . resource:Spain property:diplomatic_relation resource:Australia }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q29,P530,Q6684701) (Q29,P530,Q408)
action is_in
entity Q29
action intersection
action find_reverse
entity Q6684701
relation P530
action find_reverse
entity Q408
relation P530
[ANSWER]
['Q29', 'P530', 'Q6684701'] ['Q29', 'P530', 'Q408']
ASK WHERE { resource:Q29 property:P530 resource:Q6684701 . resource:Q29 property:P530 resource:Q408 }
NO and YES respectively
action is_in
entity Spain
action intersection
action find_reverse
entity Ulianivka
relation diplomatic relation
action find_reverse
entity Australia
relation diplomatic relation
['Spain', 'diplomatic relation', 'Ulianivka'] ['Spain', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Spain property:diplomatic_relation resource:Ulianivka . resource:Spain property:diplomatic_relation resource:Australia }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q6662901 Q22467 Q39759
P27
Q15617994
USER
Is Lluís Solé a civilian of Dörrenbach and Torrazza Coste ?
(Q6662901,P27,Q22467) (Q6662901,P27,Q39759)
action is_in
entity Q6662901
action intersection
action find_reverse
entity Q22467
relation P27
action find_reverse
entity Q39759
relation P27
['Q6662901', 'P27', 'Q22467'] ['Q6662901', 'P27', 'Q39759']
ASK WHERE { resource:Q6662901 property:P27 resource:Q39759 . resource:Q6662901 property:P27 resource:Q22467 }
Lluís Solé Dörrenbach Torrazza Coste
action is_in
entity Lluís Solé
action intersection
action find_reverse
entity Dörrenbach
relation country of citizenship
action find_reverse
entity Torrazza Coste
relation country of citizenship
['Lluís Solé', 'country of citizenship', 'Dörrenbach'] ['Lluís Solé', 'country of citizenship', 'Torrazza Coste']
ASK WHERE { resource:Lluís_Solé property:country_of_citizenship resource:Torrazza_Coste . resource:Lluís_Solé property:country_of_citizenship resource:Dörrenbach }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q6662901,P27,Q22467) (Q6662901,P27,Q39759)
action is_in
entity Q6662901
action intersection
action find_reverse
entity Q22467
relation P27
action find_reverse
entity Q39759
relation P27
[ANSWER]
['Q6662901', 'P27', 'Q22467'] ['Q6662901', 'P27', 'Q39759']
ASK WHERE { resource:Q6662901 property:P27 resource:Q39759 . resource:Q6662901 property:P27 resource:Q22467 }
No
action is_in
entity Lluís Solé
action intersection
action find_reverse
entity Dörrenbach
relation country of citizenship
action find_reverse
entity Torrazza Coste
relation country of citizenship
['Lluís Solé', 'country of citizenship', 'Dörrenbach'] ['Lluís Solé', 'country of citizenship', 'Torrazza Coste']
ASK WHERE { resource:Lluís_Solé property:country_of_citizenship resource:Torrazza_Coste . resource:Lluís_Solé property:country_of_citizenship resource:Dörrenbach }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6662901
P106
Q12737077
USER
What does that person do for a living ?
action filter_type
action find
entity Q6662901
relation P106
type Q12737077
SELECT DISTINCT ?d WHERE { resource:Q6662901 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Lluís Solé
action filter_type
action find
entity Lluís Solé
relation occupation
type occupation
SELECT DISTINCT ?d WHERE { resource:Lluís_Solé property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q901402
SYSTEM
geographer
Q901402
action filter_type
action find
entity Q6662901
relation P106
type Q12737077
[ANSWER] that person does for a living
SELECT DISTINCT ?d WHERE { resource:Q6662901 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
geographer
Geographer that person does for a living
geographer
action filter_type
action find
entity Lluís Solé
relation occupation
type occupation
SELECT DISTINCT ?d WHERE { resource:Lluís_Solé property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6662901
P1412
Q34770
USER
Which language can that person understand ?
(Q901402,P1412,c(Q34770))
action filter_type
action find
entity Q6662901
relation P1412
type Q34770
['Q901402', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q34770 . resource:Q6662901 property:P1412 ?r }
Lluís Solé
action filter_type
action find
entity Lluís Solé
relation languages spoken, written or signed
type language
['geographer', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:language . resource:Lluís_Solé property:languages_spoken,_written_or_signed ?r }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q901402,P1412,c(Q34770))
action filter_type
action find
entity Q6662901
relation P1412
type Q34770
That person can understand in [ANSWER]
['Q901402', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q34770 . resource:Q6662901 property:P1412 ?r }
Spanish
That person can understand in Spanish
Spanish
action filter_type
action find
entity Lluís Solé
relation languages spoken, written or signed
type language
['geographer', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:language . resource:Lluís_Solé property:languages_spoken,_written_or_signed ?r }
[]