Simple Question (Direct)
Simple Question
Q11701999
P19
Q1048835
USER
Where was Ramon Martí d'Eixalà born ?
(Q11701999,P19,c(Q1048835))
action filter_type
action find
entity Q11701999
relation P19
type Q1048835
['Q11701999', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q11701999 property:P19 ?r . ?r rdf:type ontology:Q1048835 }
Ramon Martí d'Eixalà
action filter_type
action find
entity Ramon Martí d'Eixalà
relation place of birth
type political territorial entity
["Ramon Martí d'Eixalà", 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Ramon_Martí_d'Eixalà property:place_of_birth ?r . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16683
SYSTEM
Cardona
Q16683
(Q11701999,P19,c(Q1048835))
action filter_type
action find
entity Q11701999
relation P19
type Q1048835
Ramon Martí d' Eixalà was born in [ANSWER]
['Q11701999', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q11701999 property:P19 ?r . ?r rdf:type ontology:Q1048835 }
Cardona
Ramon Martí d' Eixalà was born in Cardona
Cardona
action filter_type
action find
entity Ramon Martí d'Eixalà
relation place of birth
type political territorial entity
["Ramon Martí d'Eixalà", 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Ramon_Martí_d'Eixalà property:place_of_birth ?r . ?r rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11701999
P1412
Q34770
USER
Which language is that person capable of writing ?
(Q16683,P1412,c(Q34770))
action filter_type
action find
entity Q11701999
relation P1412
type Q34770
['Q16683', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q11701999 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
Ramon Martí d'Eixalà
action filter_type
action find
entity Ramon Martí d'Eixalà
relation languages spoken, written or signed
type language
['Cardona', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Ramon_Martí_d'Eixalà property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q16683,P1412,c(Q34770))
action filter_type
action find
entity Q11701999
relation P1412
type Q34770
[ANSWER] is that person capable of writing
['Q16683', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q11701999 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
Spanish
Spanish is that person capable of writing
Spanish
action filter_type
action find
entity Ramon Martí d'Eixalà
relation languages spoken, written or signed
type language
['Cardona', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Ramon_Martí_d'Eixalà property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q11701999 Q16128811
P39
Q12737077
USER
How many occupations were the positions for which Ramon Martí d'Eixalà or Tali Ploskov were appointed ?
(Q11701999,P39,c(Q12737077)) (Q16128811,P39,c(Q12737077))
action count
action union
action filter_type
action find
entity Q11701999
relation P39
type Q12737077
action filter_type
action find
entity Q16128811
relation P39
type Q12737077
['Q11701999', 'P39', {'concept': 'Q12737077'}] ['Q16128811', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?l ) { ( resource:Q11701999 ) ( resource:Q16128811 ) } . ?l property:P39 ?o }
Ramon Martí d'Eixalà Tali Ploskov
action count
action union
action filter_type
action find
entity Ramon Martí d'Eixalà
relation position held
type occupation
action filter_type
action find
entity Tali Ploskov
relation position held
type occupation
["Ramon Martí d'Eixalà", 'position held', {'concept': 'occupation'}] ['Tali Ploskov', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?l ) { ( resource:Ramon_Martí_d'Eixalà ) ( resource:Tali_Ploskov ) } . ?l property:position_held ?o }
[]
occupation
SYSTEM
2
Q18171345 Q4047513
(Q11701999,P39,c(Q12737077)) (Q16128811,P39,c(Q12737077))
action count
action union
action filter_type
action find
entity Q11701999
relation P39
type Q12737077
action filter_type
action find
entity Q16128811
relation P39
type Q12737077
[ANSWER]
['Q11701999', 'P39', {'concept': 'Q12737077'}] ['Q16128811', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?l ) { ( resource:Q11701999 ) ( resource:Q16128811 ) } . ?l property:P39 ?o }
Member of the Congress of Deputies of Spain Knesset member
2
action count
action union
action filter_type
action find
entity Ramon Martí d'Eixalà
relation position held
type occupation
action filter_type
action find
entity Tali Ploskov
relation position held
type occupation
["Ramon Martí d'Eixalà", 'position held', {'concept': 'occupation'}] ['Tali Ploskov', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?l ) { ( resource:Ramon_Martí_d'Eixalà ) ( resource:Tali_Ploskov ) } . ?l property:position_held ?o }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q11701999
P27
Q15617994
USER
How many administrative territories are the native countriesof Ramon Martí d'Eixalà ?
(Q11701999,P27,c(Q15617994))
action count
action filter_type
action find
entity Q11701999
relation P27
type Q15617994
['Q11701999', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { resource:Q11701999 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Ramon Martí d'Eixalà
action count
action filter_type
action find
entity Ramon Martí d'Eixalà
relation country of citizenship
type designation for an administrative territorial entity
["Ramon Martí d'Eixalà", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { resource:Ramon_Martí_d'Eixalà property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q29
(Q11701999,P27,c(Q15617994))
action count
action filter_type
action find
entity Q11701999
relation P27
type Q15617994
[ANSWER]
['Q11701999', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { resource:Q11701999 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Spain
1
action count
action filter_type
action find
entity Ramon Martí d'Eixalà
relation country of citizenship
type designation for an administrative territorial entity
["Ramon Martí d'Eixalà", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { resource:Ramon_Martí_d'Eixalà property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16683
P20
Q502895
USER
Which people have Cardona as place of death ?
(c(Q502895),P20,Q16683)
action filter_type
action find_reverse
entity Q16683
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q16683']
SELECT DISTINCT ?y WHERE { ?y property:P20 resource:Q16683 . ?y rdf:type ontology:Q502895 }
Cardona
action filter_type
action find_reverse
entity Cardona
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Cardona']
SELECT DISTINCT ?y WHERE { ?y property:place_of_death resource:Cardona . ?y rdf:type ontology:common_name }
[]
common name
Q3787479 Q16943326 Q704364
SYSTEM
Hugo Folch de Cardona, Celestí Mas i Abat, Raymond Nonnatus
Q3787479 Q16943326 Q704364
(c(Q502895),P20,Q16683)
action filter_type
action find_reverse
entity Q16683
relation P20
type Q502895
[ANSWERS] have Cardona as place of death
[{'concept': 'Q502895'}, 'P20', 'Q16683']
SELECT DISTINCT ?y WHERE { ?y property:P20 resource:Q16683 . ?y rdf:type ontology:Q502895 }
Hugo Folch de Cardona Celestí Mas i Abat Raymond Nonnatus
Hugo Folch de Cardona, Celestí Mas i Abat and Raymond Nonnatus have Cardona as place of death
Hugo Folch de Cardona Celestí Mas i Abat Raymond Nonnatus
action filter_type
action find_reverse
entity Cardona
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Cardona']
SELECT DISTINCT ?y WHERE { ?y property:place_of_death resource:Cardona . ?y rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3787479
P22
Q502895
USER
Which people have that one as father ?
(c(Q502895),P22,Q3787479)
action filter_type
action find_reverse
entity Q3787479
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q3787479']
SELECT DISTINCT ?i WHERE { ?i property:P22 resource:Q3787479 . ?i rdf:type ontology:Q502895 }
Hugo Folch de Cardona
action filter_type
action find_reverse
entity Hugo Folch de Cardona
relation father
type common name
[{'concept': 'common name'}, 'father', 'Hugo Folch de Cardona']
SELECT DISTINCT ?i WHERE { ?i property:father resource:Hugo_Folch_de_Cardona . ?i rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q3787479
SYSTEM
Did you mean Hugo Folch de Cardona ?
Q3787479 Q16943326 Q704364
(c(Q502895),P22,Q3787479) (c(Q502895),P22,Q16943326) (c(Q502895),P22,Q704364)
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q3787479'] [{'concept': 'Q502895'}, 'P22', 'Q16943326'] [{'concept': 'Q502895'}, 'P22', 'Q704364']
SELECT DISTINCT ?i WHERE { ?i property:P22 resource:Q3787479 . ?i rdf:type ontology:Q502895 }
Hugo Folch de Cardona Celestí Mas i Abat Raymond Nonnatus
Did you mean Hugo Folch de Cardona ?
Hugo Folch de Cardona
[{'concept': 'common name'}, 'father', 'Hugo Folch de Cardona'] [{'concept': 'common name'}, 'father', 'Celestí Mas i Abat'] [{'concept': 'common name'}, 'father', 'Raymond Nonnatus']
SELECT DISTINCT ?i WHERE { ?i property:father resource:Hugo_Folch_de_Cardona . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P22,Q3787479)
[{'concept': 'Q502895'}, 'P22', 'Q3787479']
[{'concept': 'common name'}, 'father', 'Hugo Folch de Cardona']
[]
Q11906012 Q3768000 Q16187438
SYSTEM
Antoni de Cardona i de Luna, Giovanni Raimondo Folch I de Cardona, Pere de Cardona
Q11906012 Q11926161 Q3768000 Q16187438
(c(Q502895),P22,Q3787479)
action filter_type
action find_reverse
entity Q3787479
relation P22
type Q502895
[ANSWERS] have that one as father
[{'concept': 'Q502895'}, 'P22', 'Q3787479']
SELECT DISTINCT ?i WHERE { ?i property:P22 resource:Q3787479 . ?i rdf:type ontology:Q502895 }
Antoni de Cardona i de Luna Hug de Cardona-Anglesola i de Luna Giovanni Raimondo Folch I de Cardona Pere de Cardona
Antoni de Cardona i de Luna, Giovanni Raimondo Folch I de Cardona and Pere de Cardona have that one as father
Antoni de Cardona i de Luna Giovanni Raimondo Folch I de Cardona Pere de Cardona
action filter_type
action find_reverse
entity Hugo Folch de Cardona
relation father
type common name
[{'concept': 'common name'}, 'father', 'Hugo Folch de Cardona']
SELECT DISTINCT ?i WHERE { ?i property:father resource:Hugo_Folch_de_Cardona . ?i rdf:type ontology:common_name }
[]