Simple Question (Direct)
Simple Question
Q2093162
P69
Q3918
USER
What is the university where Muhammad Mansur Ali was educated ?
(Q2093162,P69,c(Q3918))
action filter_type
action find
entity Q2093162
relation P69
type Q3918
['Q2093162', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?k WHERE { resource:Q2093162 property:P69 ?k . ?k rdf:type ontology:Q3918 }
Muhammad Mansur Ali
action filter_type
action find
entity Muhammad Mansur Ali
relation educated at
type university
['Muhammad Mansur Ali', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?k WHERE { resource:Muhammad_Mansur_Ali property:educated_at ?k . ?k rdf:type ontology:university }
[]
university
Q1145306
SYSTEM
University of Calcutta
Q1145306
(Q2093162,P69,c(Q3918))
action filter_type
action find
entity Q2093162
relation P69
type Q3918
The university Muhammad Mansur is the [ANSWER]
['Q2093162', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?k WHERE { resource:Q2093162 property:P69 ?k . ?k rdf:type ontology:Q3918 }
University of Calcutta
The university Muhammad Mansur is the University of Calcutta
University of Calcutta
action filter_type
action find
entity Muhammad Mansur Ali
relation educated at
type university
['Muhammad Mansur Ali', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?k WHERE { resource:Muhammad_Mansur_Ali property:educated_at ?k . ?k rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2093162
P22
Q502895
USER
Which person has that one as dad ?
(c(Q502895),P22,Q1145306)
action filter_type
action find_reverse
entity Q2093162
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q1145306']
SELECT DISTINCT ?f WHERE { ?f property:P22 resource:Q2093162 . ?f rdf:type ontology:Q502895 }
Muhammad Mansur Ali
action filter_type
action find_reverse
entity Muhammad Mansur Ali
relation father
type common name
[{'concept': 'common name'}, 'father', 'University of Calcutta']
SELECT DISTINCT ?f WHERE { ?f property:father resource:Muhammad_Mansur_Ali . ?f rdf:type ontology:common_name }
[]
common name
Q142387
SYSTEM
Hassan Ali Mansur
Q142387
(c(Q502895),P22,Q1145306)
action filter_type
action find_reverse
entity Q2093162
relation P22
type Q502895
[ANSWER] has that one as dad
[{'concept': 'Q502895'}, 'P22', 'Q1145306']
SELECT DISTINCT ?f WHERE { ?f property:P22 resource:Q2093162 . ?f rdf:type ontology:Q502895 }
Hassan Ali Mansur
Hassan Ali Mansur has that one as dad
Hassan Ali Mansur
action filter_type
action find_reverse
entity Muhammad Mansur Ali
relation father
type common name
[{'concept': 'common name'}, 'father', 'University of Calcutta']
SELECT DISTINCT ?f WHERE { ?f property:father resource:Muhammad_Mansur_Ali . ?f rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q8050502 Q2093162
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Muhammad Mansur Ali or Yaya Diallo ?
OR((Q2093162,P27,c(Q15617994)), (Q8050502,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2093162
relation P27
action find
entity Q8050502
relation P27
type Q15617994
{'OR': [['Q2093162', 'P27', {'concept': 'Q15617994'}], ['Q8050502', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q2093162 property:P27 ?f } UNION { resource:Q8050502 property:P27 ?f } } . ?f rdf:type ontology:Q15617994 }
Yaya Diallo Muhammad Mansur Ali
action filter_type
action union
action find
entity Muhammad Mansur Ali
relation country of citizenship
action find
entity Yaya Diallo
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Muhammad Mansur Ali', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yaya Diallo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Muhammad_Mansur_Ali property:country_of_citizenship ?f } UNION { resource:Yaya_Diallo property:country_of_citizenship ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q912 Q902
SYSTEM
Mali, Bangladesh
Q912 Q902
OR((Q2093162,P27,c(Q15617994)), (Q8050502,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2093162
relation P27
action find
entity Q8050502
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Muhammad Mansur Ali or Yaya Diallo
{'OR': [['Q2093162', 'P27', {'concept': 'Q15617994'}], ['Q8050502', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q2093162 property:P27 ?f } UNION { resource:Q8050502 property:P27 ?f } } . ?f rdf:type ontology:Q15617994 }
Mali Bangladesh
Mali and Bangladesh are the countries of citizenship of Muhammad Mansur Ali or Yaya Diallo
Mali Bangladesh
action filter_type
action union
action find
entity Muhammad Mansur Ali
relation country of citizenship
action find
entity Yaya Diallo
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Muhammad Mansur Ali', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yaya Diallo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Muhammad_Mansur_Ali property:country_of_citizenship ?f } UNION { resource:Yaya_Diallo property:country_of_citizenship ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8050502
P106
Q12737077
USER
What is the profession of Yaya Diallo ?
(Q8050502,P106,c(Q12737077))
action filter_type
action find
entity Q8050502
relation P106
type Q12737077
['Q8050502', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q8050502 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Yaya Diallo
action filter_type
action find
entity Yaya Diallo
relation occupation
type occupation
['Yaya Diallo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Yaya_Diallo property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q639669
SYSTEM
musician
Q639669
(Q8050502,P106,c(Q12737077))
action filter_type
action find
entity Q8050502
relation P106
type Q12737077
The profession of Yaya Diallo is a [ANSWER]
['Q8050502', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q8050502 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
musician
The profession of Yaya Diallo is a musician
musician
action filter_type
action find
entity Yaya Diallo
relation occupation
type occupation
['Yaya Diallo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Yaya_Diallo property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q67688
Q12737077
USER
And also tell me about Carl Jakob Adolf Christian Gerhardt?
(Q67688,P106,c(Q12737077))
action filter_type
action find
entity Q67688
relation P106
type Q12737077
['Q67688', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q67688 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Carl Jakob Adolf Christian Gerhardt
action filter_type
action find
entity Carl Jakob Adolf Christian Gerhardt
relation occupation
type occupation
['Carl Jakob Adolf Christian Gerhardt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Carl_Jakob_Adolf_Christian_Gerhardt property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q39631 Q1622272 Q15924224
SYSTEM
physician, university teacher, internist
Q39631 Q1622272 Q15924224
(Q67688,P106,c(Q12737077))
action filter_type
action find
entity Q67688
relation P106
type Q12737077
[ANSWERS]
['Q67688', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q67688 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
physician university teacher internist
physician university teacher internist
action filter_type
action find
entity Carl Jakob Adolf Christian Gerhardt
relation occupation
type occupation
['Carl Jakob Adolf Christian Gerhardt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Carl_Jakob_Adolf_Christian_Gerhardt property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q67688
P937
Q56061 Q515
USER
How many administrative territories and cities are the work locations of Carl Jakob Adolf Christian Gerhardt ?
(Q67688,P937,c(Q56061)) (Q67688,P937,c(Q515))
action count
action union
action filter_type
action find
entity Q67688
relation P937
type Q56061
action filter_type
action find
entity Q67688
relation P937
type Q515
['Q67688', 'P937', {'concept': 'Q56061'}] ['Q67688', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { ?s rdf:type ?p . VALUES ( ?p ) { ( ontology:Q56061 ) ( ontology:Q515 ) } }
Carl Jakob Adolf Christian Gerhardt
action count
action union
action filter_type
action find
entity Carl Jakob Adolf Christian Gerhardt
relation work location
type administrative territorial entity
action filter_type
action find
entity Carl Jakob Adolf Christian Gerhardt
relation work location
type city
['Carl Jakob Adolf Christian Gerhardt', 'work location', {'concept': 'administrative territorial entity'}] ['Carl Jakob Adolf Christian Gerhardt', 'work location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { ?s rdf:type ?p . VALUES ( ?p ) { ( ontology:administrative_territorial_entity ) ( ontology:city ) } }
[]
administrative territorial entity city
SYSTEM
2 administrative territories and 1 cities
Q64 Q2999 Q3150
(Q67688,P937,c(Q56061)) (Q67688,P937,c(Q515))
action count
action union
action filter_type
action find
entity Q67688
relation P937
type Q56061
action filter_type
action find
entity Q67688
relation P937
type Q515
[ANSWER]
['Q67688', 'P937', {'concept': 'Q56061'}] ['Q67688', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { ?s rdf:type ?p . VALUES ( ?p ) { ( ontology:Q56061 ) ( ontology:Q515 ) } }
Berlin Würzburg Jena
2 administrative territories and 1 cities
action count
action union
action filter_type
action find
entity Carl Jakob Adolf Christian Gerhardt
relation work location
type administrative territorial entity
action filter_type
action find
entity Carl Jakob Adolf Christian Gerhardt
relation work location
type city
['Carl Jakob Adolf Christian Gerhardt', 'work location', {'concept': 'administrative territorial entity'}] ['Carl Jakob Adolf Christian Gerhardt', 'work location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { ?s rdf:type ?p . VALUES ( ?p ) { ( ontology:administrative_territorial_entity ) ( ontology:city ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q67688
P184
Q502895
USER
Which person has that one as doctoral advisor ?
action filter_type
action find_reverse
entity Q67688
relation P184
type Q502895
SELECT DISTINCT ?t WHERE { ?t property:P184 resource:Q67688 . ?t rdf:type ontology:Q502895 }
Carl Jakob Adolf Christian Gerhardt
action filter_type
action find_reverse
entity Carl Jakob Adolf Christian Gerhardt
relation doctoral advisor
type common name
SELECT DISTINCT ?t WHERE { ?t property:doctoral_advisor resource:Carl_Jakob_Adolf_Christian_Gerhardt . ?t rdf:type ontology:common_name }
[]
common name
Q77686
SYSTEM
Theodor Escherich
Q77686
action filter_type
action find_reverse
entity Q67688
relation P184
type Q502895
[ANSWER] has that one as doctoral advisor
SELECT DISTINCT ?t WHERE { ?t property:P184 resource:Q67688 . ?t rdf:type ontology:Q502895 }
Theodor Escherich
Theodor Escherich has that one as doctoral advisor
Theodor Escherich
action filter_type
action find_reverse
entity Carl Jakob Adolf Christian Gerhardt
relation doctoral advisor
type common name
SELECT DISTINCT ?t WHERE { ?t property:doctoral_advisor resource:Carl_Jakob_Adolf_Christian_Gerhardt . ?t rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P27
Q1048835
USER
How many political territories do that person belong to ?
(Q77686,P27,c(Q1048835))
action count
action filter_type
action find
entity Q77686
relation P27
type Q1048835
['Q77686', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Q77686 property:P27 ?s . ?s rdf:type ontology:Q1048835 }
action count
action filter_type
action find
entity Theodor Escherich
relation country of citizenship
type political territorial entity
['Theodor Escherich', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Theodor_Escherich property:country_of_citizenship ?s . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q183 Q40
(Q77686,P27,c(Q1048835))
action count
action filter_type
action find
entity Q77686
relation P27
type Q1048835
[ANSWER]
['Q77686', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Q77686 property:P27 ?s . ?s rdf:type ontology:Q1048835 }
Germany Austria
2
action count
action filter_type
action find
entity Theodor Escherich
relation country of citizenship
type political territorial entity
['Theodor Escherich', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Theodor_Escherich property:country_of_citizenship ?s . ?s rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q902
P172
Q502895
USER
Which person has Bangladesh as ethnic group ?
(c(Q502895),P172,Q902)
action filter_type
action find_reverse
entity Q902
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q902']
SELECT DISTINCT ?i WHERE { ?i property:P172 resource:Q902 . ?i rdf:type ontology:Q502895 }
Bangladesh
action filter_type
action find_reverse
entity Bangladesh
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Bangladesh']
SELECT DISTINCT ?i WHERE { ?i property:ethnic_group resource:Bangladesh . ?i rdf:type ontology:common_name }
[]
common name
Q76694
SYSTEM
Jawed Karim
Q76694
(c(Q502895),P172,Q902)
action filter_type
action find_reverse
entity Q902
relation P172
type Q502895
[ANSWER] has Bangladesh as ethnic group
[{'concept': 'Q502895'}, 'P172', 'Q902']
SELECT DISTINCT ?i WHERE { ?i property:P172 resource:Q902 . ?i rdf:type ontology:Q502895 }
Jawed Karim
Jawed Karim has Bangladesh as ethnic group
Jawed Karim
action filter_type
action find_reverse
entity Bangladesh
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Bangladesh']
SELECT DISTINCT ?i WHERE { ?i property:ethnic_group resource:Bangladesh . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q902
P610
Q14524493
USER
What is the highest point of that administrative territory ?
(Q76694,P610,c(Q14524493))
action filter_type
action find
entity Q902
relation P610
type Q14524493
['Q76694', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?p WHERE { resource:Q902 property:P610 ?p . ?p rdf:type ontology:Q14524493 }
Bangladesh
action filter_type
action find
entity Bangladesh
relation highest point
type terrain
['Jawed Karim', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?p WHERE { resource:Bangladesh property:highest_point ?p . ?p rdf:type ontology:terrain }
[]
terrain
Q2696459
SYSTEM
Mowdok Mual
Q2696459
(Q76694,P610,c(Q14524493))
action filter_type
action find
entity Q902
relation P610
type Q14524493
The highest point of that administrative territory is the [ANSWER]
['Q76694', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?p WHERE { resource:Q902 property:P610 ?p . ?p rdf:type ontology:Q14524493 }
Mowdok Mual
The highest point of that administrative territory is the Mowdok Mual
Mowdok Mual
action filter_type
action find
entity Bangladesh
relation highest point
type terrain
['Jawed Karim', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?p WHERE { resource:Bangladesh property:highest_point ?p . ?p rdf:type ontology:terrain }
[]