Simple Question (Direct)
Simple Question
Q99742
P21
Q290
USER
What is the sex of Friedrich-Karl Thielemann ?
(Q99742,P21,c(Q290))
action filter_type
action find
entity Q99742
relation P21
type Q290
['Q99742', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q99742 property:P21 ?k . ?k rdf:type ontology:Q290 }
Friedrich-Karl Thielemann
action filter_type
action find
entity Friedrich-Karl Thielemann
relation gender
type sex
['Friedrich-Karl Thielemann', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Friedrich-Karl_Thielemann property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q99742,P21,c(Q290))
action filter_type
action find
entity Q99742
relation P21
type Q290
The sex of Friedrich-Karl Thielemann is a [ANSWER]
['Q99742', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q99742 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
The sex of Friedrich-Karl Thielemann is a male
male
action filter_type
action find
entity Friedrich-Karl Thielemann
relation gender
type sex
['Friedrich-Karl Thielemann', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Friedrich-Karl_Thielemann property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q99742
P108
Q163740
USER
Which nonprofit organization is the employer of Friedrich-Karl Thielemann ?
(Q99742,P108,c(Q163740))
action filter_type
action find
entity Q99742
relation P108
type Q163740
['Q99742', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q163740 . resource:Q99742 property:P108 ?e }
Friedrich-Karl Thielemann
action filter_type
action find
entity Friedrich-Karl Thielemann
relation employer
type nonprofit organization
['Friedrich-Karl Thielemann', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:nonprofit_organization . resource:Friedrich-Karl_Thielemann property:employer ?e }
[]
nonprofit organization
Q13371
SYSTEM
Harvard University
Q13371
(Q99742,P108,c(Q163740))
action filter_type
action find
entity Q99742
relation P108
type Q163740
In [ANSWER] is the employer of Friedrich-Karl Thielemann
['Q99742', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q163740 . resource:Q99742 property:P108 ?e }
Harvard University
In Harvard University is the employer of Friedrich-Karl Thielemann
Harvard University
action filter_type
action find
entity Friedrich-Karl Thielemann
relation employer
type nonprofit organization
['Friedrich-Karl Thielemann', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:nonprofit_organization . resource:Friedrich-Karl_Thielemann property:employer ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q99742
P106
Q12737077
USER
What are the job of Friedrich-Karl Thielemann ?
(Q99742,P106,c(Q12737077))
action filter_type
action find
entity Q99742
relation P106
type Q12737077
['Q99742', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q99742 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Friedrich-Karl Thielemann
action filter_type
action find
entity Friedrich-Karl Thielemann
relation occupation
type occupation
['Friedrich-Karl Thielemann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Friedrich-Karl_Thielemann property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q169470 Q752129 Q1622272
SYSTEM
physicist, astrophysicist, university teacher
Q169470 Q752129 Q1622272
(Q99742,P106,c(Q12737077))
action filter_type
action find
entity Q99742
relation P106
type Q12737077
The job of Friedrich-Karl Thielemann are a [ANSWERS]
['Q99742', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q99742 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
physicist astrophysicist university teacher
The job of Friedrich-Karl Thielemann are a physicist, astrophysicist and university teacher
physicist astrophysicist university teacher
action filter_type
action find
entity Friedrich-Karl Thielemann
relation occupation
type occupation
['Friedrich-Karl Thielemann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Friedrich-Karl_Thielemann property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15813205
Q12737077
USER
And what about Nita Bahtiri?
(Q15813205,P106,c(Q12737077))
action filter_type
action find
entity Q15813205
relation P106
type Q12737077
['Q15813205', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q15813205 property:P106 ?o }
Nita Bahtiri
action filter_type
action find
entity Nita Bahtiri
relation occupation
type occupation
['Nita Bahtiri', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Nita_Bahtiri property:occupation ?o }
[]
occupation
Q486748 Q177220
SYSTEM
pianist, singer
Q486748 Q177220
(Q15813205,P106,c(Q12737077))
action filter_type
action find
entity Q15813205
relation P106
type Q12737077
[ANSWERS]
['Q15813205', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q15813205 property:P106 ?o }
pianist singer
pianist singer
action filter_type
action find
entity Nita Bahtiri
relation occupation
type occupation
['Nita Bahtiri', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Nita_Bahtiri property:occupation ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15813205
P136
Q151885
USER
What is the genre of Nita Bahtiri ?
(Q15813205,P136,c(Q151885))
action filter_type
action find
entity Q15813205
relation P136
type Q151885
['Q15813205', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?j WHERE { resource:Q15813205 property:P136 ?j . ?j rdf:type ontology:Q151885 }
Nita Bahtiri
action filter_type
action find
entity Nita Bahtiri
relation genre
type concept
['Nita Bahtiri', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?j WHERE { resource:Nita_Bahtiri property:genre ?j . ?j rdf:type ontology:concept }
[]
concept
Q37073
SYSTEM
pop music
Q37073
(Q15813205,P136,c(Q151885))
action filter_type
action find
entity Q15813205
relation P136
type Q151885
The genre of Nita Bahtiri is a [ANSWER]
['Q15813205', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?j WHERE { resource:Q15813205 property:P136 ?j . ?j rdf:type ontology:Q151885 }
pop music
The genre of Nita Bahtiri is a pop music
pop music
action filter_type
action find
entity Nita Bahtiri
relation genre
type concept
['Nita Bahtiri', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?j WHERE { resource:Nita_Bahtiri property:genre ?j . ?j rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15813205
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q37073,P19,c(Q56061))
action filter_type
action find
entity Q15813205
relation P19
type Q56061
['Q37073', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q15813205 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Nita Bahtiri
action filter_type
action find
entity Nita Bahtiri
relation place of birth
type administrative territorial entity
['pop music', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Nita_Bahtiri property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q25270
SYSTEM
Prishtina
Q25270
(Q37073,P19,c(Q56061))
action filter_type
action find
entity Q15813205
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q37073', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q15813205 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Prishtina
Prishtina is the birthplace of that person
Prishtina
action filter_type
action find
entity Nita Bahtiri
relation place of birth
type administrative territorial entity
['pop music', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Nita_Bahtiri property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q25270 Q5812459 Q83285
P190
Q56061
USER
Is that administrative territory twin city of Goman, West Azerbaijan and Durrës ?
(Q25270,P190,Q5812459) (Q25270,P190,Q83285)
action is_in
entity Q25270
action intersection
action find_reverse
entity Q5812459
relation P190
action find_reverse
entity Q83285
relation P190
['Q25270', 'P190', 'Q5812459'] ['Q25270', 'P190', 'Q83285']
ASK WHERE { resource:Q25270 property:P190 resource:Q5812459 . resource:Q25270 property:P190 resource:Q83285 }
Prishtina Goman, West Azerbaijan Durrës
action is_in
entity Prishtina
action intersection
action find_reverse
entity Goman, West Azerbaijan
relation sister city
action find_reverse
entity Durrës
relation sister city
['Prishtina', 'sister city', 'Goman, West Azerbaijan'] ['Prishtina', 'sister city', 'Durrës']
ASK WHERE { resource:Prishtina property:sister_city resource:Goman,_West_Azerbaijan . resource:Prishtina property:sister_city resource:Durrës }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q25270,P190,Q5812459) (Q25270,P190,Q83285)
action is_in
entity Q25270
action intersection
action find_reverse
entity Q5812459
relation P190
action find_reverse
entity Q83285
relation P190
[ANSWER]
['Q25270', 'P190', 'Q5812459'] ['Q25270', 'P190', 'Q83285']
ASK WHERE { resource:Q25270 property:P190 resource:Q5812459 . resource:Q25270 property:P190 resource:Q83285 }
NO and YES respectively
action is_in
entity Prishtina
action intersection
action find_reverse
entity Goman, West Azerbaijan
relation sister city
action find_reverse
entity Durrës
relation sister city
['Prishtina', 'sister city', 'Goman, West Azerbaijan'] ['Prishtina', 'sister city', 'Durrës']
ASK WHERE { resource:Prishtina property:sister_city resource:Goman,_West_Azerbaijan . resource:Prishtina property:sister_city resource:Durrës }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q25270
P1376
Q5589178 Q648681
USER
How many regimes and districts of Serbia have Prishtina have their first city ?
(Q25270,P1376,c(Q5589178)) (Q25270,P1376,c(Q648681))
action count
action union
action filter_type
action find
entity Q25270
relation P1376
type Q5589178
action filter_type
action find
entity Q25270
relation P1376
type Q648681
['Q25270', 'P1376', {'concept': 'Q5589178'}] ['Q25270', 'P1376', {'concept': 'Q648681'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { { resource:Q25270 property:P1376 ?f . ?f rdf:type ontology:Q5589178 } UNION { resource:Q25270 property:P1376 ?f . ?f rdf:type ontology:Q648681 } }
Prishtina
action count
action union
action filter_type
action find
entity Prishtina
relation capital of
type regime
action filter_type
action find
entity Prishtina
relation capital of
type district of Serbia
['Prishtina', 'capital of', {'concept': 'regime'}] ['Prishtina', 'capital of', {'concept': 'district of Serbia'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { { resource:Prishtina property:capital_of ?f . ?f rdf:type ontology:regime } UNION { resource:Prishtina property:capital_of ?f . ?f rdf:type ontology:district_of_Serbia } }
[]
regime district of Serbia
SYSTEM
2 regimes and 1 districts of Serbia
Q2631403 Q1452368 Q1246
(Q25270,P1376,c(Q5589178)) (Q25270,P1376,c(Q648681))
action count
action union
action filter_type
action find
entity Q25270
relation P1376
type Q5589178
action filter_type
action find
entity Q25270
relation P1376
type Q648681
[ANSWER]
['Q25270', 'P1376', {'concept': 'Q5589178'}] ['Q25270', 'P1376', {'concept': 'Q648681'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { { resource:Q25270 property:P1376 ?f . ?f rdf:type ontology:Q5589178 } UNION { resource:Q25270 property:P1376 ?f . ?f rdf:type ontology:Q648681 } }
Republic of Kosova Kosovo District Kosovo
2 regimes and 1 districts of Serbia
action count
action union
action filter_type
action find
entity Prishtina
relation capital of
type regime
action filter_type
action find
entity Prishtina
relation capital of
type district of Serbia
['Prishtina', 'capital of', {'concept': 'regime'}] ['Prishtina', 'capital of', {'concept': 'district of Serbia'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { { resource:Prishtina property:capital_of ?f . ?f rdf:type ontology:regime } UNION { resource:Prishtina property:capital_of ?f . ?f rdf:type ontology:district_of_Serbia } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1771178 Q99742
P47 P27
Q1048835
USER
Which political territories are Friedrich-Karl Thielemann a civilian of or share the border with Cañaveras ?
OR((Q99742,P27,c(Q1048835)), (Q1771178,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q99742
relation P27
action find
entity Q1771178
relation P47
type Q1048835
{'OR': [['Q99742', 'P27', {'concept': 'Q1048835'}], ['Q1771178', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q99742 property:P27 ?k } UNION { resource:Q1771178 property:P47 ?k } } . ?k rdf:type ontology:Q1048835 }
Cañaveras Friedrich-Karl Thielemann
action filter_type
action union
action find
entity Friedrich-Karl Thielemann
relation country of citizenship
action find
entity Cañaveras
relation shares border with
type political territorial entity
{'OR': [['Friedrich-Karl Thielemann', 'country of citizenship', {'concept': 'political territorial entity'}], ['Cañaveras', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Friedrich-Karl_Thielemann property:country_of_citizenship ?k } UNION { resource:Cañaveras property:shares_border_with ?k } } . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q581548 Q581613 Q183 Q1902640 Q735167
SYSTEM
Villaconejos de Trabaque, Albalate de las Nogueras, Germany, Canalejas del Arroyo, Buciegas
Q581548 Q581613 Q183 Q1902640 Q735167
OR((Q99742,P27,c(Q1048835)), (Q1771178,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q99742
relation P27
action find
entity Q1771178
relation P47
type Q1048835
[ANSWERS] are Friedrich-Karl Thielemann a civilian of or share the border with Cañaveras
{'OR': [['Q99742', 'P27', {'concept': 'Q1048835'}], ['Q1771178', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q99742 property:P27 ?k } UNION { resource:Q1771178 property:P47 ?k } } . ?k rdf:type ontology:Q1048835 }
Villaconejos de Trabaque Albalate de las Nogueras Germany Canalejas del Arroyo Buciegas
Villaconejos de Trabaque, Albalate de las Nogueras, Germany, Canalejas del Arroyo and Buciegas are Friedrich-Karl Thielemann a civilian of or share the border with Cañaveras
Villaconejos de Trabaque Albalate de las Nogueras Germany Canalejas del Arroyo Buciegas
action filter_type
action union
action find
entity Friedrich-Karl Thielemann
relation country of citizenship
action find
entity Cañaveras
relation shares border with
type political territorial entity
{'OR': [['Friedrich-Karl Thielemann', 'country of citizenship', {'concept': 'political territorial entity'}], ['Cañaveras', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Friedrich-Karl_Thielemann property:country_of_citizenship ?k } UNION { resource:Cañaveras property:shares_border_with ?k } } . ?k rdf:type ontology:political_territorial_entity }
[]