Simple Question (Direct)
Simple Question
Q517464
P1412
Q34770
USER
Which language does Nick Kent speak in ?
(Q517464,P1412,c(Q34770))
action filter_type
action find
entity Q517464
relation P1412
type Q34770
['Q517464', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q517464 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
Nick Kent
action filter_type
action find
entity Nick Kent
relation languages spoken, written or signed
type language
['Nick Kent', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Nick_Kent property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q517464,P1412,c(Q34770))
action filter_type
action find
entity Q517464
relation P1412
type Q34770
Nick Kent speaks Kent [ANSWER]
['Q517464', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q517464 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
English
Nick Kent speaks Kent English
English
action filter_type
action find
entity Nick Kent
relation languages spoken, written or signed
type language
['Nick Kent', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Nick_Kent property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q517464
P108
Q1002697
USER
Who is the employer of Nick Kent ?
(Q517464,P108,c(Q1002697))
action filter_type
action find
entity Q517464
relation P108
type Q1002697
['Q517464', 'P108', {'concept': 'Q1002697'}]
SELECT DISTINCT ?i WHERE { resource:Q517464 property:P108 ?i . ?i rdf:type ontology:Q1002697 }
Nick Kent
action filter_type
action find
entity Nick Kent
relation employer
type periodical literature
['Nick Kent', 'employer', {'concept': 'periodical literature'}]
SELECT DISTINCT ?i WHERE { resource:Nick_Kent property:employer ?i . ?i rdf:type ontology:periodical_literature }
[]
periodical literature
Q2758142
SYSTEM
Les Inrockuptibles
Q2758142
(Q517464,P108,c(Q1002697))
action filter_type
action find
entity Q517464
relation P108
type Q1002697
The employer of Nick Kent is the [ANSWER]
['Q517464', 'P108', {'concept': 'Q1002697'}]
SELECT DISTINCT ?i WHERE { resource:Q517464 property:P108 ?i . ?i rdf:type ontology:Q1002697 }
Les Inrockuptibles
The employer of Nick Kent is the Les Inrockuptibles
Les Inrockuptibles
action filter_type
action find
entity Nick Kent
relation employer
type periodical literature
['Nick Kent', 'employer', {'concept': 'periodical literature'}]
SELECT DISTINCT ?i WHERE { resource:Nick_Kent property:employer ?i . ?i rdf:type ontology:periodical_literature }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3175303
Q1002697
USER
And what about Jean de Brem?
(Q3175303,P108,c(Q1002697))
action filter_type
action find
entity Q3175303
relation P108
type Q1002697
['Q3175303', 'P108', {'concept': 'Q1002697'}]
SELECT DISTINCT ?j WHERE { resource:Q3175303 property:P108 ?j . ?j rdf:type ontology:Q1002697 }
Jean de Brem
action filter_type
action find
entity Jean de Brem
relation employer
type periodical literature
['Jean de Brem', 'employer', {'concept': 'periodical literature'}]
SELECT DISTINCT ?j WHERE { resource:Jean_de_Brem property:employer ?j . ?j rdf:type ontology:periodical_literature }
[]
periodical literature
Q678095
SYSTEM
Paris Match
Q678095
(Q3175303,P108,c(Q1002697))
action filter_type
action find
entity Q3175303
relation P108
type Q1002697
[ANSWER]
['Q3175303', 'P108', {'concept': 'Q1002697'}]
SELECT DISTINCT ?j WHERE { resource:Q3175303 property:P108 ?j . ?j rdf:type ontology:Q1002697 }
Paris Match
Paris Match
action filter_type
action find
entity Jean de Brem
relation employer
type periodical literature
['Jean de Brem', 'employer', {'concept': 'periodical literature'}]
SELECT DISTINCT ?j WHERE { resource:Jean_de_Brem property:employer ?j . ?j rdf:type ontology:periodical_literature }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q678095 Q18235374
P108
Q502895
USER
Does Cricket McRae work for that periodical literature ?
(Q18235374,P108,Q678095)
action is_in
entity Q18235374
action find
entity Q678095
relation P108
['Q18235374', 'P108', 'Q678095']
ASK WHERE { resource:Q678095 property:P108 resource:Q18235374 }
Paris Match Cricket McRae
action is_in
entity Cricket McRae
action find
entity Paris Match
relation employer
['Cricket McRae', 'employer', 'Paris Match']
ASK WHERE { resource:Paris_Match property:employer resource:Cricket_McRae }
[]
common name
SYSTEM
NO
(Q18235374,P108,Q678095)
action is_in
entity Q18235374
action find
entity Q678095
relation P108
[ANSWER]
['Q18235374', 'P108', 'Q678095']
ASK WHERE { resource:Q678095 property:P108 resource:Q18235374 }
No
action is_in
entity Cricket McRae
action find
entity Paris Match
relation employer
['Cricket McRae', 'employer', 'Paris Match']
ASK WHERE { resource:Paris_Match property:employer resource:Cricket_McRae }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2758142
P127
Q502895
USER
Which person does Les Inrockuptibles belong to ?
(Q2758142,P127,c(Q502895))
action filter_type
action find
entity Q2758142
relation P127
type Q502895
['Q2758142', 'P127', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q2758142 property:P127 ?q . ?q rdf:type ontology:Q502895 }
Les Inrockuptibles
action filter_type
action find
entity Les Inrockuptibles
relation owned by
type common name
['Les Inrockuptibles', 'owned by', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Les_Inrockuptibles property:owned_by ?q . ?q rdf:type ontology:common_name }
[]
common name
Q3299928
SYSTEM
Matthieu Pigasse
Q3299928
(Q2758142,P127,c(Q502895))
action filter_type
action find
entity Q2758142
relation P127
type Q502895
Les Inrockuptibles belongs to [ANSWER]
['Q2758142', 'P127', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q2758142 property:P127 ?q . ?q rdf:type ontology:Q502895 }
Matthieu Pigasse
Les Inrockuptibles belongs to Matthieu Pigasse
Matthieu Pigasse
action filter_type
action find
entity Les Inrockuptibles
relation owned by
type common name
['Les Inrockuptibles', 'owned by', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Les_Inrockuptibles property:owned_by ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3299928
P26
Q502895
USER
Which person has that one as spouse ?
(c(Q502895),P26,Q3299928)
action filter_type
action find_reverse
entity Q3299928
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q3299928']
SELECT DISTINCT ?v WHERE { ?v property:P26 resource:Q3299928 . ?v rdf:type ontology:Q502895 }
Matthieu Pigasse
action filter_type
action find_reverse
entity Matthieu Pigasse
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Matthieu Pigasse']
SELECT DISTINCT ?v WHERE { ?v property:spouse resource:Matthieu_Pigasse . ?v rdf:type ontology:common_name }
[]
common name
Q15407463
SYSTEM
Alix Étournaud
Q15407463
(c(Q502895),P26,Q3299928)
action filter_type
action find_reverse
entity Q3299928
relation P26
type Q502895
[ANSWER] has that one as spouse
[{'concept': 'Q502895'}, 'P26', 'Q3299928']
SELECT DISTINCT ?v WHERE { ?v property:P26 resource:Q3299928 . ?v rdf:type ontology:Q502895 }
Alix Étournaud
Alix Étournaud has that one as spouse
Alix Étournaud
action filter_type
action find_reverse
entity Matthieu Pigasse
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Matthieu Pigasse']
SELECT DISTINCT ?v WHERE { ?v property:spouse resource:Matthieu_Pigasse . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15407463
P69
Q3914
USER
Where was that person educated ?
(Q15407463,P69,c(Q3914))
action filter_type
action find
entity Q15407463
relation P69
type Q3914
['Q15407463', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?g WHERE { resource:Q15407463 property:P69 ?g . ?g rdf:type ontology:Q3914 }
Alix Étournaud
action filter_type
action find
entity Alix Étournaud
relation educated at
type school
['Alix Étournaud', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?g WHERE { resource:Alix_Étournaud property:educated_at ?g . ?g rdf:type ontology:school }
[]
school
Q859363
SYSTEM
Sciences Po
Q859363
(Q15407463,P69,c(Q3914))
action filter_type
action find
entity Q15407463
relation P69
type Q3914
[ANSWER] that person was educated
['Q15407463', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?g WHERE { resource:Q15407463 property:P69 ?g . ?g rdf:type ontology:Q3914 }
Sciences Po
Sciences Po that person was educated
Sciences Po
action filter_type
action find
entity Alix Étournaud
relation educated at
type school
['Alix Étournaud', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?g WHERE { resource:Alix_Étournaud property:educated_at ?g . ?g rdf:type ontology:school }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q859363 Q15729425
P69
Q502895
USER
Was Ngawang Drakpa Gyaltsen educated at that school ?
(Q15729425,P69,Q859363)
action is_in
entity Q15729425
action find
entity Q859363
relation P69
['Q15729425', 'P69', 'Q859363']
ASK WHERE { resource:Q859363 property:P69 resource:Q15729425 }
Sciences Po Ngawang Drakpa Gyaltsen
action is_in
entity Ngawang Drakpa Gyaltsen
action find
entity Sciences Po
relation educated at
['Ngawang Drakpa Gyaltsen', 'educated at', 'Sciences Po']
ASK WHERE { resource:Sciences_Po property:educated_at resource:Ngawang_Drakpa_Gyaltsen }
[]
common name
SYSTEM
NO
(Q15729425,P69,Q859363)
action is_in
entity Q15729425
action find
entity Q859363
relation P69
[ANSWER]
['Q15729425', 'P69', 'Q859363']
ASK WHERE { resource:Q859363 property:P69 resource:Q15729425 }
No
action is_in
entity Ngawang Drakpa Gyaltsen
action find
entity Sciences Po
relation educated at
['Ngawang Drakpa Gyaltsen', 'educated at', 'Sciences Po']
ASK WHERE { resource:Sciences_Po property:educated_at resource:Ngawang_Drakpa_Gyaltsen }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q517464 Q145
P27
Q15617994
USER
Is Nick Kent a civilian of United Kingdom ?
(Q517464,P27,Q145)
action is_in
entity Q145
action find
entity Q517464
relation P27
['Q517464', 'P27', 'Q145']
ASK WHERE { resource:Q517464 property:P27 resource:Q145 }
Nick Kent United Kingdom
action is_in
entity United Kingdom
action find
entity Nick Kent
relation country of citizenship
['Nick Kent', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Nick_Kent property:country_of_citizenship resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q517464,P27,Q145)
action is_in
entity Q145
action find
entity Q517464
relation P27
[ANSWER]
['Q517464', 'P27', 'Q145']
ASK WHERE { resource:Q517464 property:P27 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Nick Kent
relation country of citizenship
['Nick Kent', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Nick_Kent property:country_of_citizenship resource:United_Kingdom }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q678095 Q142
P495
Q15617994
USER
Is France the origin of that periodical literature ?
(Q678095,P495,Q142)
action is_in
entity Q142
action find
entity Q678095
relation P495
['Q678095', 'P495', 'Q142']
ASK WHERE { resource:Q678095 property:P495 resource:Q142 }
Paris Match France
action is_in
entity France
action find
entity Paris Match
relation country of origin
['Paris Match', 'country of origin', 'France']
ASK WHERE { resource:Paris_Match property:country_of_origin resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q678095,P495,Q142)
action is_in
entity Q142
action find
entity Q678095
relation P495
[ANSWER]
['Q678095', 'P495', 'Q142']
ASK WHERE { resource:Q678095 property:P495 resource:Q142 }
Yes
action is_in
entity France
action find
entity Paris Match
relation country of origin
['Paris Match', 'country of origin', 'France']
ASK WHERE { resource:Paris_Match property:country_of_origin resource:France }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3946112 Q18235374
P1412
Q34770
USER
Which languages can Cricket McRae or Salvatore Lo Presti understand ?
OR((Q18235374,P1412,c(Q34770)), (Q3946112,P1412,c(Q34770)))
action filter_type
action union
action find
entity Q18235374
relation P1412
action find
entity Q3946112
relation P1412
type Q34770
{'OR': [['Q18235374', 'P1412', {'concept': 'Q34770'}], ['Q3946112', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q34770 . { { resource:Q18235374 property:P1412 ?j } UNION { resource:Q3946112 property:P1412 ?j } } }
Salvatore Lo Presti Cricket McRae
action filter_type
action union
action find
entity Cricket McRae
relation languages spoken, written or signed
action find
entity Salvatore Lo Presti
relation languages spoken, written or signed
type language
{'OR': [['Cricket McRae', 'languages spoken, written or signed', {'concept': 'language'}], ['Salvatore Lo Presti', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:language . { { resource:Cricket_McRae property:languages_spoken,_written_or_signed ?j } UNION { resource:Salvatore_Lo_Presti property:languages_spoken,_written_or_signed ?j } } }
[]
language
Q652 Q1860
SYSTEM
Italian, English
Q652 Q1860
OR((Q18235374,P1412,c(Q34770)), (Q3946112,P1412,c(Q34770)))
action filter_type
action union
action find
entity Q18235374
relation P1412
action find
entity Q3946112
relation P1412
type Q34770
Cricket McRae or Salvatore Lo Presti can understand English [ANSWERS]
{'OR': [['Q18235374', 'P1412', {'concept': 'Q34770'}], ['Q3946112', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q34770 . { { resource:Q18235374 property:P1412 ?j } UNION { resource:Q3946112 property:P1412 ?j } } }
Italian English
Cricket McRae or Salvatore Lo Presti can understand English Italian and English
Italian English
action filter_type
action union
action find
entity Cricket McRae
relation languages spoken, written or signed
action find
entity Salvatore Lo Presti
relation languages spoken, written or signed
type language
{'OR': [['Cricket McRae', 'languages spoken, written or signed', {'concept': 'language'}], ['Salvatore Lo Presti', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:language . { { resource:Cricket_McRae property:languages_spoken,_written_or_signed ?j } UNION { resource:Salvatore_Lo_Presti property:languages_spoken,_written_or_signed ?j } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q652 Q1860
P37
Q7275
USER
Which states are known to have Italian and English as their official language ?
(c(Q7275),P37,Q652) (c(Q7275),P37,Q1860)
action union
action filter_type
action find_reverse
entity Q652
relation P37
type Q7275
action filter_type
action find_reverse
entity Q1860
relation P37
type Q7275
[{'concept': 'Q7275'}, 'P37', 'Q652'] [{'concept': 'Q7275'}, 'P37', 'Q1860']
SELECT DISTINCT ?p WHERE { { ?p property:P37 resource:Q652 . ?p rdf:type ontology:Q7275 } UNION { ?p property:P37 resource:Q1860 . ?p rdf:type ontology:Q7275 } }
Italian English
action union
action filter_type
action find_reverse
entity Italian
relation official language
type state
action filter_type
action find_reverse
entity English
relation official language
type state
[{'concept': 'state'}, 'official language', 'Italian'] [{'concept': 'state'}, 'official language', 'English']
SELECT DISTINCT ?p WHERE { { ?p property:official_language resource:Italian . ?p rdf:type ontology:state } UNION { ?p property:official_language resource:English . ?p rdf:type ontology:state } }
[]
state
Q26273 Q25279 Q26988
SYSTEM
Sint Maarten, Curaçao, Cook Islands
Q4948 Q947153 Q551798 Q26273 Q2353425 Q26988 Q744042 Q6083755 Q1152445 Q19801186 Q1423680 Q1123960 Q25227 Q1083009 Q25279 Q1194329
(c(Q7275),P37,Q652) (c(Q7275),P37,Q1860)
action union
action filter_type
action find_reverse
entity Q652
relation P37
type Q7275
action filter_type
action find_reverse
entity Q1860
relation P37
type Q7275
[ANSWERS] are known to have Italian and English as their official language
[{'concept': 'Q7275'}, 'P37', 'Q652'] [{'concept': 'Q7275'}, 'P37', 'Q1860']
SELECT DISTINCT ?p WHERE { { ?p property:P37 resource:Q652 . ?p rdf:type ontology:Q7275 } UNION { ?p property:P37 resource:Q1860 . ?p rdf:type ontology:Q7275 } }
Republic of Venice Kingdom of Tavolara Grand Duchy of Flandrensis Sint Maarten Talossa Cook Islands Grand Duchy of Avram Islands of Refreshment Aerican Empire Liberland Gay and Lesbian Kingdom of the Coral Sea Islands Conch Republic Netherlands Antilles Principality of Wy Curaçao Nova Roma
Sint Maarten, Curaçao and Cook Islands are known to have Italian and English as their official language
Sint Maarten Curaçao Cook Islands
action union
action filter_type
action find_reverse
entity Italian
relation official language
type state
action filter_type
action find_reverse
entity English
relation official language
type state
[{'concept': 'state'}, 'official language', 'Italian'] [{'concept': 'state'}, 'official language', 'English']
SELECT DISTINCT ?p WHERE { { ?p property:official_language resource:Italian . ?p rdf:type ontology:state } UNION { ?p property:official_language resource:English . ?p rdf:type ontology:state } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q26273 Q25279 Q26988
P6
Q502895
USER
Who are the heads of the government of Sint Maarten, Curaçao and Cook Islands ?
(Q26273,P6,c(Q502895)) (Q25279,P6,c(Q502895)) (Q26988,P6,c(Q502895))
action union
action filter_type
action find
entity Q26273
relation P6
type Q502895
action filter_type
action find
entity Q25279
relation P6
type Q502895
action filter_type
action find
entity Q26988
relation P6
type Q502895
['Q26273', 'P6', {'concept': 'Q502895'}] ['Q25279', 'P6', {'concept': 'Q502895'}] ['Q26988', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?z ) { ( resource:Q26273 ) ( resource:Q25279 ) } . ?z property:P6 ?s }
Sint Maarten Curaçao Cook Islands
action union
action filter_type
action find
entity Sint Maarten
relation head of government
type common name
action filter_type
action find
entity Curaçao
relation head of government
type common name
action filter_type
action find
entity Cook Islands
relation head of government
type common name
['Sint Maarten', 'head of government', {'concept': 'common name'}] ['Curaçao', 'head of government', {'concept': 'common name'}] ['Cook Islands', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?z ) { ( resource:Sint_Maarten ) ( resource:Curaçao ) } . ?z property:head_of_government ?s }
[]
common name
Q2036594 Q13422184 Q2569345
SYSTEM
Sarah Wescot-Williams, Ivar Asjes, Henry Puna
Q2036594 Q13422184 Q2569345
(Q26273,P6,c(Q502895)) (Q25279,P6,c(Q502895)) (Q26988,P6,c(Q502895))
action union
action filter_type
action find
entity Q26273
relation P6
type Q502895
action filter_type
action find
entity Q25279
relation P6
type Q502895
action filter_type
action find
entity Q26988
relation P6
type Q502895
The heads of the government of Sint Maarten , Curaçao and Cook Islands are [ANSWERS]
['Q26273', 'P6', {'concept': 'Q502895'}] ['Q25279', 'P6', {'concept': 'Q502895'}] ['Q26988', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?z ) { ( resource:Q26273 ) ( resource:Q25279 ) } . ?z property:P6 ?s }
Sarah Wescot-Williams Ivar Asjes Henry Puna
The heads of the government of Sint Maarten , Curaçao and Cook Islands are Sarah Wescot-Williams, Ivar Asjes and Henry Puna
Sarah Wescot-Williams Ivar Asjes Henry Puna
action union
action filter_type
action find
entity Sint Maarten
relation head of government
type common name
action filter_type
action find
entity Curaçao
relation head of government
type common name
action filter_type
action find
entity Cook Islands
relation head of government
type common name
['Sint Maarten', 'head of government', {'concept': 'common name'}] ['Curaçao', 'head of government', {'concept': 'common name'}] ['Cook Islands', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?z ) { ( resource:Sint_Maarten ) ( resource:Curaçao ) } . ?z property:head_of_government ?s }
[]