Simple Question (Direct)
Simple Question
Q16943429
P21
Q290
USER
What is the sex of Carme Oriol Carazo ?
(Q16943429,P21,c(Q290))
action filter_type
action find
entity Q16943429
relation P21
type Q290
['Q16943429', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q16943429 property:P21 ?l . ?l rdf:type ontology:Q290 }
Carme Oriol Carazo
action filter_type
action find
entity Carme Oriol Carazo
relation gender
type sex
['Carme Oriol Carazo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Carme_Oriol_Carazo property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q16943429,P21,c(Q290))
action filter_type
action find
entity Q16943429
relation P21
type Q290
[ANSWER]
['Q16943429', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q16943429 property:P21 ?l . ?l rdf:type ontology:Q290 }
female
female
action filter_type
action find
entity Carme Oriol Carazo
relation gender
type sex
['Carme Oriol Carazo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Carme_Oriol_Carazo property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16943429
P1412
Q34770
USER
Which language is Carme Oriol Carazo capable of writing ?
(Q16943429,P1412,c(Q34770))
action filter_type
action find
entity Q16943429
relation P1412
type Q34770
['Q16943429', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q16943429 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
Carme Oriol Carazo
action filter_type
action find
entity Carme Oriol Carazo
relation languages spoken, written or signed
type language
['Carme Oriol Carazo', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Carme_Oriol_Carazo property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q16943429,P1412,c(Q34770))
action filter_type
action find
entity Q16943429
relation P1412
type Q34770
[ANSWER]
['Q16943429', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q16943429 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
Spanish
Spanish
action filter_type
action find
entity Carme Oriol Carazo
relation languages spoken, written or signed
type language
['Carme Oriol Carazo', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Carme_Oriol_Carazo property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1321
P101
Q502895
USER
Which people have field of work as that language ?
(c(Q502895),P101,Q1321)
action filter_type
action find_reverse
entity Q1321
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q1321']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P101 resource:Q1321 }
Spanish
action filter_type
action find_reverse
entity Spanish
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Spanish']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:field_of_work resource:Spanish }
[]
common name
Q6775684 Q7155818 Q21883986
SYSTEM
Martin Hilský, Pavel Šrut, Josef Forbelský
Q19800675 Q16515323 Q7155818 Q6775684 Q21886139 Q21883986 Q11985590 Q12054279 Q10823155 Q12044360 Q17157078
(c(Q502895),P101,Q1321)
action filter_type
action find_reverse
entity Q1321
relation P101
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P101', 'Q1321']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P101 resource:Q1321 }
Zdeněk Šmíd Blanka Stárková Pavel Šrut Martin Hilský Miloslav Uličný Josef Forbelský Václav Jiřina Simona Binková Anežka Charvátová Pavla Lidmilová Petr Zavadil
Martin Hilský Pavel Šrut Josef Forbelský
action filter_type
action find_reverse
entity Spanish
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Spanish']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:field_of_work resource:Spanish }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1321
P101 P21
Q502895
USER
Which people have field of work as Spanish and are a male ?
AND((c(Q502895),P101,Q1321), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1321
relation P101
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P101', 'Q1321'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?r WHERE { ?r property:P101 resource:Q1321 . ?r property:P21 resource:Q6581097 . ?r rdf:type ontology:Q502895 }
male Spanish
action filter_type
action intersection
action find_reverse
entity Spanish
relation field of work
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'field of work', 'Spanish'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?r WHERE { ?r property:field_of_work resource:Spanish . ?r property:gender resource:male . ?r rdf:type ontology:common_name }
[]
common name
Q21886139 Q7155818 Q6775684 Q19800675 Q21883986 Q11985590 Q17157078
SYSTEM
Miloslav Uličný, Pavel Šrut, Martin Hilský, Zdeněk Šmíd, Josef Forbelský, Václav Jiřina, Petr Zavadil
Q21886139 Q7155818 Q6775684 Q19800675 Q21883986 Q11985590 Q17157078
AND((c(Q502895),P101,Q1321), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1321
relation P101
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS]
{'AND': [[{'concept': 'Q502895'}, 'P101', 'Q1321'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?r WHERE { ?r property:P101 resource:Q1321 . ?r property:P21 resource:Q6581097 . ?r rdf:type ontology:Q502895 }
Miloslav Uličný Pavel Šrut Martin Hilský Zdeněk Šmíd Josef Forbelský Václav Jiřina Petr Zavadil
Miloslav Uličný Pavel Šrut Martin Hilský Zdeněk Šmíd Josef Forbelský Václav Jiřina Petr Zavadil
action filter_type
action intersection
action find_reverse
entity Spanish
relation field of work
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'field of work', 'Spanish'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?r WHERE { ?r property:field_of_work resource:Spanish . ?r property:gender resource:male . ?r rdf:type ontology:common_name }
[]