Simple Question (Direct)
Simple Question
Q11012305
P734
Q82799
USER
Who is associated with Takanobu Kondo ?
(Q11012305,P734,c(Q82799))
action filter_type
action find
entity Q11012305
relation P734
type Q82799
['Q11012305', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q11012305 property:P734 ?b . ?b rdf:type ontology:Q82799 }
Takanobu Kondo
action filter_type
action find
entity Takanobu Kondo
relation family name
type name
['Takanobu Kondo', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Takanobu_Kondo property:family_name ?b . ?b rdf:type ontology:name }
[]
name
Q21492112
SYSTEM
Kondo
Q21492112
(Q11012305,P734,c(Q82799))
action filter_type
action find
entity Q11012305
relation P734
type Q82799
To [ANSWER] is associated with Takanobu [ANSWER]
['Q11012305', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q11012305 property:P734 ?b . ?b rdf:type ontology:Q82799 }
Kondo
To Kondo is associated with Takanobu Kondo
Kondo
action filter_type
action find
entity Takanobu Kondo
relation family name
type name
['Takanobu Kondo', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Takanobu_Kondo property:family_name ?b . ?b rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11012305
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Takanobu Kondo ?
(Q11012305,P27,c(Q15617994))
action filter_type
action find
entity Q11012305
relation P27
type Q15617994
['Q11012305', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q11012305 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Takanobu Kondo
action filter_type
action find
entity Takanobu Kondo
relation country of citizenship
type designation for an administrative territorial entity
['Takanobu Kondo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Takanobu_Kondo property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q11012305,P27,c(Q15617994))
action filter_type
action find
entity Q11012305
relation P27
type Q15617994
Of [ANSWER] is the country of citizenship of Takanobu Kondo
['Q11012305', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q11012305 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Japan
Of Japan is the country of citizenship of Takanobu Kondo
Japan
action filter_type
action find
entity Takanobu Kondo
relation country of citizenship
type designation for an administrative territorial entity
['Takanobu Kondo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Takanobu_Kondo property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q235225
Q15617994
USER
And how about Elīna Garanča?
(Q235225,P27,c(Q15617994))
action filter_type
action find
entity Q235225
relation P27
type Q15617994
['Q235225', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q235225 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Elīna Garanča
action filter_type
action find
entity Elīna Garanča
relation country of citizenship
type designation for an administrative territorial entity
['Elīna Garanča', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Elīna_Garanča property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q211
SYSTEM
Latvia
Q211
(Q235225,P27,c(Q15617994))
action filter_type
action find
entity Q235225
relation P27
type Q15617994
[ANSWER]
['Q235225', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q235225 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Latvia
Latvia
action filter_type
action find
entity Elīna Garanča
relation country of citizenship
type designation for an administrative territorial entity
['Elīna Garanča', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Elīna_Garanča property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q211
P35
Q502895
USER
Which people have the highest formal authority in that administrative territory ?
(Q211,P35,c(Q502895))
action filter_type
action find
entity Q211
relation P35
type Q502895
['Q211', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q211 property:P35 ?m . ?m rdf:type ontology:Q502895 }
Latvia
action filter_type
action find
entity Latvia
relation head of state
type common name
['Latvia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Latvia property:head_of_state ?m . ?m rdf:type ontology:common_name }
[]
common name
Q57506 Q2416022
SYSTEM
Andris Bērziņš, Raimonds Vējonis
Q57506 Q2416022
(Q211,P35,c(Q502895))
action filter_type
action find
entity Q211
relation P35
type Q502895
[ANSWERS] have the highest formal authority in that administrative territory
['Q211', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q211 property:P35 ?m . ?m rdf:type ontology:Q502895 }
Andris Bērziņš Raimonds Vējonis
Andris Bērziņš and Raimonds Vējonis have the highest formal authority in that administrative territory
Andris Bērziņš Raimonds Vējonis
action filter_type
action find
entity Latvia
relation head of state
type common name
['Latvia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Latvia property:head_of_state ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q57506 Q2416022
P21
Q290
USER
Which sexes do those people possess ?
(Q57506,P21,c(Q290)) (Q2416022,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q57506', 'P21', {'concept': 'Q290'}] ['Q2416022', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q290 . VALUES ( ?b ) { ( resource:Q57506 ) ( resource:Q2416022 ) } . ?b property:P21 ?k }
Andris Bērziņš Raimonds Vējonis
action filter_type
action find
entity prev_answer
relation gender
type sex
['Andris Bērziņš', 'gender', {'concept': 'sex'}] ['Raimonds Vējonis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sex . VALUES ( ?b ) { ( resource:Andris_Bērziņš ) ( resource:Raimonds_Vējonis ) } . ?b property:gender ?k }
[]
sex
Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097
(Q57506,P21,c(Q290)) (Q2416022,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people possess both [ANSWER] and [ANSWER]
['Q57506', 'P21', {'concept': 'Q290'}] ['Q2416022', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q290 . VALUES ( ?b ) { ( resource:Q57506 ) ( resource:Q2416022 ) } . ?b property:P21 ?k }
male male
Those people possess both male and male
male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Andris Bērziņš', 'gender', {'concept': 'sex'}] ['Raimonds Vējonis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sex . VALUES ( ?b ) { ( resource:Andris_Bērziņš ) ( resource:Raimonds_Vējonis ) } . ?b property:gender ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q57506
P19
Q56061
USER
Which administrative territory was Andris Bērziņš born at ?
(Q57506,P19,c(Q56061))
action filter_type
action find
entity Q57506
relation P19
type Q56061
['Q57506', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q57506 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Andris Bērziņš
action filter_type
action find
entity Andris Bērziņš
relation place of birth
type administrative territorial entity
['Andris Bērziņš', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Andris_Bērziņš property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q985240
SYSTEM
Nītaure
Q985240
(Q57506,P19,c(Q56061))
action filter_type
action find
entity Q57506
relation P19
type Q56061
Andris Bērziņš was born in [ANSWER]
['Q57506', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q57506 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Nītaure
Andris Bērziņš was born in Nītaure
Nītaure
action filter_type
action find
entity Andris Bērziņš
relation place of birth
type administrative territorial entity
['Andris Bērziņš', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Andris_Bērziņš property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q985240
P20
Q502895
USER
Which person has that administrative territory as place of death ?
(c(Q502895),P20,Q985240)
action filter_type
action find_reverse
entity Q985240
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q985240']
SELECT DISTINCT ?f WHERE { ?f property:P20 resource:Q985240 . ?f rdf:type ontology:Q502895 }
Nītaure
action filter_type
action find_reverse
entity Nītaure
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Nītaure']
SELECT DISTINCT ?f WHERE { ?f property:place_of_death resource:Nītaure . ?f rdf:type ontology:common_name }
[]
common name
Q180806
SYSTEM
William Fermor
Q180806
(c(Q502895),P20,Q985240)
action filter_type
action find_reverse
entity Q985240
relation P20
type Q502895
[ANSWER] has that administrative territory as place of death
[{'concept': 'Q502895'}, 'P20', 'Q985240']
SELECT DISTINCT ?f WHERE { ?f property:P20 resource:Q985240 . ?f rdf:type ontology:Q502895 }
William Fermor
William Fermor has that administrative territory as place of death
William Fermor
action filter_type
action find_reverse
entity Nītaure
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Nītaure']
SELECT DISTINCT ?f WHERE { ?f property:place_of_death resource:Nītaure . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q985240
P1376
Q13220204
USER
Which administrative country subdivision has Nītaure has its center of administration ?
(Q985240,P1376,c(Q13220204))
action filter_type
action find
entity Q985240
relation P1376
type Q13220204
['Q985240', 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ?q WHERE { resource:Q985240 property:P1376 ?q . ?q rdf:type ontology:Q13220204 }
Nītaure
action filter_type
action find
entity Nītaure
relation capital of
type second-level administrative country subdivision
['Nītaure', 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?q WHERE { resource:Nītaure property:capital_of ?q . ?q rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q2606940
SYSTEM
Nītaure parish Parish
Q2606940
(Q985240,P1376,c(Q13220204))
action filter_type
action find
entity Q985240
relation P1376
type Q13220204
[ANSWER] has Nītaure has its center of administration
['Q985240', 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ?q WHERE { resource:Q985240 property:P1376 ?q . ?q rdf:type ontology:Q13220204 }
Nītaure parish Parish
Nītaure parish Parish has Nītaure has its center of administration
Nītaure parish Parish
action filter_type
action find
entity Nītaure
relation capital of
type second-level administrative country subdivision
['Nītaure', 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?q WHERE { resource:Nītaure property:capital_of ?q . ?q rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2606940
P36
Q56061
USER
Which administrative territory is the capital of that administrative country subdivision ?
(Q2606940,P36,c(Q56061))
action filter_type
action find
entity Q2606940
relation P36
type Q56061
['Q2606940', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q2606940 property:P36 ?v . ?v rdf:type ontology:Q56061 }
Nītaure parish Parish
action filter_type
action find
entity Nītaure parish Parish
relation capital
type administrative territorial entity
['Nītaure parish Parish', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Nītaure_parish_Parish property:capital ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q985240
SYSTEM
Nītaure
Q985240
(Q2606940,P36,c(Q56061))
action filter_type
action find
entity Q2606940
relation P36
type Q56061
[ANSWER] is the capital of that administrative country subdivision
['Q2606940', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q2606940 property:P36 ?v . ?v rdf:type ontology:Q56061 }
Nītaure
Nītaure is the capital of that administrative country subdivision
Nītaure
action filter_type
action find
entity Nītaure parish Parish
relation capital
type administrative territorial entity
['Nītaure parish Parish', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Nītaure_parish_Parish property:capital ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q985240 Q1543647
P19
Q502895
USER
Was Nils Stenbock born at that administrative territory ?
(Q1543647,P19,Q985240)
action is_in
entity Q985240
action find
entity Q1543647
relation P19
['Q1543647', 'P19', 'Q985240']
ASK WHERE { resource:Q1543647 property:P19 resource:Q985240 }
Nītaure Nils Stenbock
action is_in
entity Nītaure
action find
entity Nils Stenbock
relation place of birth
['Nils Stenbock', 'place of birth', 'Nītaure']
ASK WHERE { resource:Nils_Stenbock property:place_of_birth resource:Nītaure }
[]
common name
SYSTEM
YES
(Q1543647,P19,Q985240)
action is_in
entity Q985240
action find
entity Q1543647
relation P19
[ANSWER]
['Q1543647', 'P19', 'Q985240']
ASK WHERE { resource:Q1543647 property:P19 resource:Q985240 }
Yes
action is_in
entity Nītaure
action find
entity Nils Stenbock
relation place of birth
['Nils Stenbock', 'place of birth', 'Nītaure']
ASK WHERE { resource:Nils_Stenbock property:place_of_birth resource:Nītaure }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q985240
P19
Q502895
USER
How many people were born at Nītaure ?
(c(Q502895),P19,Q985240)
action count
action filter_type
action find_reverse
entity Q985240
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q985240']
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:P19 resource:Q985240 . ?h rdf:type ontology:Q502895 }
Nītaure
action count
action filter_type
action find_reverse
entity Nītaure
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Nītaure']
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:place_of_birth resource:Nītaure . ?h rdf:type ontology:common_name }
[]
common name
SYSTEM
5
Q57506 Q17593822 Q1543647 Q1768119 Q16357502
(c(Q502895),P19,Q985240)
action count
action filter_type
action find_reverse
entity Q985240
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q985240']
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:P19 resource:Q985240 . ?h rdf:type ontology:Q502895 }
Andris Bērziņš Agate Nesaule Nils Stenbock Alexander Stenbock-Fermor Haralds Marvē
5
action count
action filter_type
action find_reverse
entity Nītaure
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Nītaure']
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:place_of_birth resource:Nītaure . ?h rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q177220 Q235225
P106 P40
Q502895
USER
Which people have Elīna Garanča as an offspring and have singer as his/her means of employment ?
AND((c(Q502895),P40,Q235225), (c(Q502895),P106,Q177220))
action filter_type
action intersection
action find_reverse
entity Q235225
relation P40
action find_reverse
entity Q177220
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q235225'], [{'concept': 'Q502895'}, 'P106', 'Q177220']]}
SELECT DISTINCT ?y WHERE { ?y property:P106 resource:Q177220 . ?y property:P40 resource:Q235225 . ?y rdf:type ontology:Q502895 }
singer Elīna Garanča
action filter_type
action intersection
action find_reverse
entity Elīna Garanča
relation child
action find_reverse
entity singer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Elīna Garanča'], [{'concept': 'common name'}, 'occupation', 'singer']]}
SELECT DISTINCT ?y WHERE { ?y property:occupation resource:singer . ?y property:child resource:Elīna_Garanča . ?y rdf:type ontology:common_name }
[]
common name
Q21083637
SYSTEM
Anita Garanča
Q21083637
AND((c(Q502895),P40,Q235225), (c(Q502895),P106,Q177220))
action filter_type
action intersection
action find_reverse
entity Q235225
relation P40
action find_reverse
entity Q177220
relation P106
type Q502895
[ANSWER] have Elīna Garanča as an offspring and have singer as his/her means of employment
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q235225'], [{'concept': 'Q502895'}, 'P106', 'Q177220']]}
SELECT DISTINCT ?y WHERE { ?y property:P106 resource:Q177220 . ?y property:P40 resource:Q235225 . ?y rdf:type ontology:Q502895 }
Anita Garanča
Anita Garanča have Elīna Garanča as an offspring and have singer as his/her means of employment
Anita Garanča
action filter_type
action intersection
action find_reverse
entity Elīna Garanča
relation child
action find_reverse
entity singer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Elīna Garanča'], [{'concept': 'common name'}, 'occupation', 'singer']]}
SELECT DISTINCT ?y WHERE { ?y property:occupation resource:singer . ?y property:child resource:Elīna_Garanča . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21083637
P25
Q502895
USER
Who is the offspring of that one ?
(c(Q502895),P25,Q21083637)
action filter_type
action find_reverse
entity Q21083637
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q21083637']
SELECT DISTINCT ?r WHERE { ?r property:P25 resource:Q21083637 . ?r rdf:type ontology:Q502895 }
Anita Garanča
action filter_type
action find_reverse
entity Anita Garanča
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Anita Garanča']
SELECT DISTINCT ?r WHERE { ?r property:mother resource:Anita_Garanča . ?r rdf:type ontology:common_name }
[]
common name
Q235225
SYSTEM
Elīna Garanča
Q235225
(c(Q502895),P25,Q21083637)
action filter_type
action find_reverse
entity Q21083637
relation P25
type Q502895
The offspring of that one is [ANSWER]
[{'concept': 'Q502895'}, 'P25', 'Q21083637']
SELECT DISTINCT ?r WHERE { ?r property:P25 resource:Q21083637 . ?r rdf:type ontology:Q502895 }
Elīna Garanča
The offspring of that one is Elīna Garanča
Elīna Garanča
action filter_type
action find_reverse
entity Anita Garanča
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Anita Garanča']
SELECT DISTINCT ?r WHERE { ?r property:mother resource:Anita_Garanča . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q235225
P26
Q502895
USER
Which person has that one as spouse ?
(c(Q502895),P26,Q235225)
action filter_type
action find
entity Q235225
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q235225']
SELECT DISTINCT ?m WHERE { resource:Q235225 property:P26 ?m . ?m rdf:type ontology:Q502895 }
Elīna Garanča
action filter_type
action find
entity Elīna Garanča
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Elīna Garanča']
SELECT DISTINCT ?m WHERE { resource:Elīna_Garanča property:spouse ?m . ?m rdf:type ontology:common_name }
[]
common name
Q3056616
SYSTEM
Karel Mark Chichon
Q3056616
(c(Q502895),P26,Q235225)
action filter_type
action find
entity Q235225
relation P26
type Q502895
[ANSWER] has that one as spouse
[{'concept': 'Q502895'}, 'P26', 'Q235225']
SELECT DISTINCT ?m WHERE { resource:Q235225 property:P26 ?m . ?m rdf:type ontology:Q502895 }
Karel Mark Chichon
Karel Mark Chichon has that one as spouse
Karel Mark Chichon
action filter_type
action find
entity Elīna Garanča
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Elīna Garanča']
SELECT DISTINCT ?m WHERE { resource:Elīna_Garanča property:spouse ?m . ?m rdf:type ontology:common_name }
[]