Simple Question (Direct)
Simple Question
Q2151934
P641
Q349
USER
What did Carles Coto participate in ?
(Q2151934,P641,c(Q349))
action filter_type
action find
entity Q2151934
relation P641
type Q349
['Q2151934', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q2151934 property:P641 ?y . ?y rdf:type ontology:Q349 }
Carles Coto
action filter_type
action find
entity Carles Coto
relation sport
type sport
['Carles Coto', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Carles_Coto property:sport ?y . ?y rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2151934,P641,c(Q349))
action filter_type
action find
entity Q2151934
relation P641
type Q349
Carles Coto participated in [ANSWER]
['Q2151934', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q2151934 property:P641 ?y . ?y rdf:type ontology:Q349 }
association football
Carles Coto participated in association football
association football
action filter_type
action find
entity Carles Coto
relation sport
type sport
['Carles Coto', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Carles_Coto property:sport ?y . ?y rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2151934
P19
Q1048835
USER
Which political territory was Carles Coto born at ?
(Q2151934,P19,c(Q1048835))
action filter_type
action find
entity Q2151934
relation P19
type Q1048835
['Q2151934', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q2151934 property:P19 ?c . ?c rdf:type ontology:Q1048835 }
Carles Coto
action filter_type
action find
entity Carles Coto
relation place of birth
type political territorial entity
['Carles Coto', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Carles_Coto property:place_of_birth ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q6839
SYSTEM
Figueres
Q6839
(Q2151934,P19,c(Q1048835))
action filter_type
action find
entity Q2151934
relation P19
type Q1048835
Carles Coto was born in [ANSWER]
['Q2151934', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q2151934 property:P19 ?c . ?c rdf:type ontology:Q1048835 }
Figueres
Carles Coto was born in Figueres
Figueres
action filter_type
action find
entity Carles Coto
relation place of birth
type political territorial entity
['Carles Coto', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Carles_Coto property:place_of_birth ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6839
P1376
Q937876
USER
What has that political territory as its capital ?
(Q6839,P1376,c(Q937876))
action filter_type
action find
entity Q6839
relation P1376
type Q937876
['Q6839', 'P1376', {'concept': 'Q937876'}]
SELECT DISTINCT ?d WHERE { resource:Q6839 property:P1376 ?d . ?d rdf:type ontology:Q937876 }
Figueres
action filter_type
action find
entity Figueres
relation capital of
type comarca of Catalonia
['Figueres', 'capital of', {'concept': 'comarca of Catalonia'}]
SELECT DISTINCT ?d WHERE { resource:Figueres property:capital_of ?d . ?d rdf:type ontology:comarca_of_Catalonia }
[]
comarca of Catalonia
Q6904
SYSTEM
Alt Empordà
Q6904
(Q6839,P1376,c(Q937876))
action filter_type
action find
entity Q6839
relation P1376
type Q937876
[ANSWER] has that political territory as its capital
['Q6839', 'P1376', {'concept': 'Q937876'}]
SELECT DISTINCT ?d WHERE { resource:Q6839 property:P1376 ?d . ?d rdf:type ontology:Q937876 }
Alt Empordà
Alt Empordà has that political territory as its capital
Alt Empordà
action filter_type
action find
entity Figueres
relation capital of
type comarca of Catalonia
['Figueres', 'capital of', {'concept': 'comarca of Catalonia'}]
SELECT DISTINCT ?d WHERE { resource:Figueres property:capital_of ?d . ?d rdf:type ontology:comarca_of_Catalonia }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6839
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of that political territory ?
(Q6904,P1313,c(Q12737077))
action filter_type
action find
entity Q6839
relation P1313
type Q12737077
['Q6904', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q6839 property:P1313 ?n . ?n rdf:type ontology:Q12737077 }
Figueres
action filter_type
action find
entity Figueres
relation office held by head of government
type occupation
['Alt Empordà', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Figueres property:office_held_by_head_of_government ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q26699647
SYSTEM
mayor of Figueras
Q26699647
(Q6904,P1313,c(Q12737077))
action filter_type
action find
entity Q6839
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of that political territory
['Q6904', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q6839 property:P1313 ?n . ?n rdf:type ontology:Q12737077 }
mayor of Figueras
The mayor of Figueras serves as the political office that is fulfilled by the head of the government of that political territory
mayor of Figueras
action filter_type
action find
entity Figueres
relation office held by head of government
type occupation
['Alt Empordà', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Figueres property:office_held_by_head_of_government ?n . ?n rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q713215 Q6839
P106 P1313
Q12737077
USER
Which occupations are fulfilled by Figueres or are the job of Giuseppe Acerbi ?
OR((Q6839,P1313,c(Q12737077)), (Q713215,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q6839
relation P1313
action find
entity Q713215
relation P106
type Q12737077
{'OR': [['Q6839', 'P1313', {'concept': 'Q12737077'}], ['Q713215', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . { { resource:Q6839 property:P1313 ?v } UNION { resource:Q713215 property:P106 ?v } } }
Giuseppe Acerbi Figueres
action filter_type
action union
action find
entity Figueres
relation office held by head of government
action find
entity Giuseppe Acerbi
relation occupation
type occupation
{'OR': [['Figueres', 'office held by head of government', {'concept': 'occupation'}], ['Giuseppe Acerbi', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . { { resource:Figueres property:office_held_by_head_of_government ?v } UNION { resource:Giuseppe_Acerbi property:occupation ?v } } }
[]
occupation
Q193391 Q26699647 Q36834 Q3621491 Q18805 Q1225716 Q36180 Q11900058
SYSTEM
diplomat, mayor of Figueras, composer, archaeologist, naturalist, ornithologist, writer, explorer
Q193391 Q26699647 Q36834 Q3621491 Q18805 Q1225716 Q36180 Q11900058
OR((Q6839,P1313,c(Q12737077)), (Q713215,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q6839
relation P1313
action find
entity Q713215
relation P106
type Q12737077
The [ANSWERS] are fulfilled by Figueres or are the job of Giuseppe Acerbi
{'OR': [['Q6839', 'P1313', {'concept': 'Q12737077'}], ['Q713215', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . { { resource:Q6839 property:P1313 ?v } UNION { resource:Q713215 property:P106 ?v } } }
diplomat mayor of Figueras composer archaeologist naturalist ornithologist writer explorer
The diplomat, mayor of Figueras, composer, archaeologist, naturalist, ornithologist, writer and explorer are fulfilled by Figueres or are the job of Giuseppe Acerbi
diplomat mayor of Figueras composer archaeologist naturalist ornithologist writer explorer
action filter_type
action union
action find
entity Figueres
relation office held by head of government
action find
entity Giuseppe Acerbi
relation occupation
type occupation
{'OR': [['Figueres', 'office held by head of government', {'concept': 'occupation'}], ['Giuseppe Acerbi', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . { { resource:Figueres property:office_held_by_head_of_government ?v } UNION { resource:Giuseppe_Acerbi property:occupation ?v } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36834
P425
Q838948
USER
Which work of art has composer as thier associated field of occupation ?
(Q36834,P425,c(Q838948))
action filter_type
action find
entity Q36834
relation P425
type Q838948
['Q36834', 'P425', {'concept': 'Q838948'}]
SELECT DISTINCT ?m WHERE { resource:Q36834 property:P425 ?m . ?m rdf:type ontology:Q838948 }
composer
action filter_type
action find
entity composer
relation field of this occupation
type work of art
['composer', 'field of this occupation', {'concept': 'work of art'}]
SELECT DISTINCT ?m WHERE { resource:composer property:field_of_this_occupation ?m . ?m rdf:type ontology:work_of_art }
[]
work of art
Q207628
SYSTEM
musical composition
Q207628
(Q36834,P425,c(Q838948))
action filter_type
action find
entity Q36834
relation P425
type Q838948
The [ANSWER] has composer as thier associated field of occupation
['Q36834', 'P425', {'concept': 'Q838948'}]
SELECT DISTINCT ?m WHERE { resource:Q36834 property:P425 ?m . ?m rdf:type ontology:Q838948 }
musical composition
The musical composition has composer as thier associated field of occupation
musical composition
action filter_type
action find
entity composer
relation field of this occupation
type work of art
['composer', 'field of this occupation', {'concept': 'work of art'}]
SELECT DISTINCT ?m WHERE { resource:composer property:field_of_this_occupation ?m . ?m rdf:type ontology:work_of_art }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17505902
Q838948
USER
And also tell me about watercolourist?
(Q17505902,P425,c(Q838948))
action filter_type
action find
entity Q17505902
relation P425
type Q838948
['Q17505902', 'P425', {'concept': 'Q838948'}]
SELECT DISTINCT ?v WHERE { resource:Q17505902 property:P425 ?v . ?v rdf:type ontology:Q838948 }
watercolourist
action filter_type
action find
entity watercolourist
relation field of this occupation
type work of art
['watercolourist', 'field of this occupation', {'concept': 'work of art'}]
SELECT DISTINCT ?v WHERE { resource:watercolourist property:field_of_this_occupation ?v . ?v rdf:type ontology:work_of_art }
[]
work of art
Q50030
SYSTEM
watercolor
Q50030
(Q17505902,P425,c(Q838948))
action filter_type
action find
entity Q17505902
relation P425
type Q838948
[ANSWER]
['Q17505902', 'P425', {'concept': 'Q838948'}]
SELECT DISTINCT ?v WHERE { resource:Q17505902 property:P425 ?v . ?v rdf:type ontology:Q838948 }
watercolor
watercolor
action filter_type
action find
entity watercolourist
relation field of this occupation
type work of art
['watercolourist', 'field of this occupation', {'concept': 'work of art'}]
SELECT DISTINCT ?v WHERE { resource:watercolourist property:field_of_this_occupation ?v . ?v rdf:type ontology:work_of_art }
[]