Simple Question (Direct)
Simple Question
Q1344101
P1303
Q34379
USER
Which musical instrument can George Thomas Smart perform with ?
(Q1344101,P1303,c(Q34379))
action filter_type
action find
entity Q1344101
relation P1303
type Q34379
['Q1344101', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { resource:Q1344101 property:P1303 ?n . ?n rdf:type ontology:Q34379 }
George Thomas Smart
action filter_type
action find
entity George Thomas Smart
relation instrument
type musical instrument
['George Thomas Smart', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { resource:George_Thomas_Smart property:instrument ?n . ?n rdf:type ontology:musical_instrument }
[]
musical instrument
Q1444
SYSTEM
organ
Q1444
(Q1344101,P1303,c(Q34379))
action filter_type
action find
entity Q1344101
relation P1303
type Q34379
George Thomas Smart can perform Hammond [ANSWER]
['Q1344101', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { resource:Q1344101 property:P1303 ?n . ?n rdf:type ontology:Q34379 }
organ
George Thomas Smart can perform Hammond organ
organ
action filter_type
action find
entity George Thomas Smart
relation instrument
type musical instrument
['George Thomas Smart', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { resource:George_Thomas_Smart property:instrument ?n . ?n rdf:type ontology:musical_instrument }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1344101
P40
Q502895
USER
Who is an offspring of George Thomas Smart ?
(Q1344101,P40,c(Q502895))
action filter_type
action find
entity Q1344101
relation P40
type Q502895
['Q1344101', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q1344101 property:P40 ?e . ?e rdf:type ontology:Q502895 }
George Thomas Smart
action filter_type
action find
entity George Thomas Smart
relation child
type common name
['George Thomas Smart', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:George_Thomas_Smart property:child ?e . ?e rdf:type ontology:common_name }
[]
common name
Q466189
SYSTEM
Henry Smart
Q466189
(Q1344101,P40,c(Q502895))
action filter_type
action find
entity Q1344101
relation P40
type Q502895
An offspring of George Thomas Smart is George [ANSWER]
['Q1344101', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q1344101 property:P40 ?e . ?e rdf:type ontology:Q502895 }
Henry Smart
An offspring of George Thomas Smart is George Henry Smart
Henry Smart
action filter_type
action find
entity George Thomas Smart
relation child
type common name
['George Thomas Smart', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:George_Thomas_Smart property:child ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1344101
P119
Q43229
USER
Which organization is the resting place of George Thomas Smart ?
(Q1344101,P119,c(Q43229))
action filter_type
action find
entity Q1344101
relation P119
type Q43229
['Q1344101', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?w WHERE { resource:Q1344101 property:P119 ?w . ?w rdf:type ontology:Q43229 }
George Thomas Smart
action filter_type
action find
entity George Thomas Smart
relation place of burial
type organization
['George Thomas Smart', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?w WHERE { resource:George_Thomas_Smart property:place_of_burial ?w . ?w rdf:type ontology:organization }
[]
organization
Q1574424
SYSTEM
Kensal Green Cemetery
Q1574424
(Q1344101,P119,c(Q43229))
action filter_type
action find
entity Q1344101
relation P119
type Q43229
Cemetery [ANSWER] is the resting place of George Thomas Smart
['Q1344101', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?w WHERE { resource:Q1344101 property:P119 ?w . ?w rdf:type ontology:Q43229 }
Kensal Green Cemetery
Cemetery Kensal Green Cemetery is the resting place of George Thomas Smart
Kensal Green Cemetery
action filter_type
action find
entity George Thomas Smart
relation place of burial
type organization
['George Thomas Smart', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?w WHERE { resource:George_Thomas_Smart property:place_of_burial ?w . ?w rdf:type ontology:organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2578160
Q43229
USER
And also tell me about Josip Frank?
(Q2578160,P119,c(Q43229))
action filter_type
action find
entity Q2578160
relation P119
type Q43229
['Q2578160', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?d WHERE { resource:Q2578160 property:P119 ?d . ?d rdf:type ontology:Q43229 }
Josip Frank
action filter_type
action find
entity Josip Frank
relation place of burial
type organization
['Josip Frank', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?d WHERE { resource:Josip_Frank property:place_of_burial ?d . ?d rdf:type ontology:organization }
[]
organization
Q1262136
SYSTEM
Mirogoj Cemetery
Q1262136
(Q2578160,P119,c(Q43229))
action filter_type
action find
entity Q2578160
relation P119
type Q43229
[ANSWER]
['Q2578160', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?d WHERE { resource:Q2578160 property:P119 ?d . ?d rdf:type ontology:Q43229 }
Mirogoj Cemetery
Mirogoj Cemetery
action filter_type
action find
entity Josip Frank
relation place of burial
type organization
['Josip Frank', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?d WHERE { resource:Josip_Frank property:place_of_burial ?d . ?d rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q311171 Q1344101
P27
Q15617994
USER
Which administrative territories are George Thomas Smart and Paul Ince a civilian of ?
AND((Q1344101,P27,c(Q15617994)), (Q311171,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1344101
relation P27
action find
entity Q311171
relation P27
type Q15617994
{'AND': [['Q1344101', 'P27', {'concept': 'Q15617994'}], ['Q311171', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { resource:Q1344101 property:P27 ?a . resource:Q311171 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Paul Ince George Thomas Smart
action filter_type
action intersection
action find
entity George Thomas Smart
relation country of citizenship
action find
entity Paul Ince
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['George Thomas Smart', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Paul Ince', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { resource:George_Thomas_Smart property:country_of_citizenship ?a . resource:Paul_Ince property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
AND((Q1344101,P27,c(Q15617994)), (Q311171,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1344101
relation P27
action find
entity Q311171
relation P27
type Q15617994
[ANSWER] is George Thomas Smart and Paul Ince a civilian of
{'AND': [['Q1344101', 'P27', {'concept': 'Q15617994'}], ['Q311171', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { resource:Q1344101 property:P27 ?a . resource:Q311171 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is George Thomas Smart and Paul Ince a civilian of
United Kingdom
action filter_type
action intersection
action find
entity George Thomas Smart
relation country of citizenship
action find
entity Paul Ince
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['George Thomas Smart', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Paul Ince', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { resource:George_Thomas_Smart property:country_of_citizenship ?a . resource:Paul_Ince property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q145 Q203054 Q34378
P530
Q15617994
USER
Does that administrative territory have ambassadorial relations with Ziliujing District and Rosolina ?
(Q145,P530,Q203054) (Q145,P530,Q34378)
action is_in
entity Q145
action intersection
action find_reverse
entity Q203054
relation P530
action find_reverse
entity Q34378
relation P530
['Q145', 'P530', 'Q203054'] ['Q145', 'P530', 'Q34378']
ASK WHERE { resource:Q145 property:P530 resource:Q203054 . resource:Q145 property:P530 resource:Q34378 }
United Kingdom Ziliujing District Rosolina
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Ziliujing District
relation diplomatic relation
action find_reverse
entity Rosolina
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Ziliujing District'] ['United Kingdom', 'diplomatic relation', 'Rosolina']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Ziliujing_District . resource:United_Kingdom property:diplomatic_relation resource:Rosolina }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q145,P530,Q203054) (Q145,P530,Q34378)
action is_in
entity Q145
action intersection
action find_reverse
entity Q203054
relation P530
action find_reverse
entity Q34378
relation P530
[ANSWER]
['Q145', 'P530', 'Q203054'] ['Q145', 'P530', 'Q34378']
ASK WHERE { resource:Q145 property:P530 resource:Q203054 . resource:Q145 property:P530 resource:Q34378 }
No
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Ziliujing District
relation diplomatic relation
action find_reverse
entity Rosolina
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Ziliujing District'] ['United Kingdom', 'diplomatic relation', 'Rosolina']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Ziliujing_District . resource:United_Kingdom property:diplomatic_relation resource:Rosolina }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26422756 Q1574424
P17
Q15617994
USER
Which administrative territories are Kensal Green Cemetery or Bahari situated in ?
OR((Q1574424,P17,c(Q15617994)), (Q26422756,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1574424
relation P17
action find
entity Q26422756
relation P17
type Q15617994
{'OR': [['Q1574424', 'P17', {'concept': 'Q15617994'}], ['Q26422756', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q1574424 property:P17 ?b } UNION { resource:Q26422756 property:P17 ?b } } . ?b rdf:type ontology:Q15617994 }
Bahari Kensal Green Cemetery
action filter_type
action union
action find
entity Kensal Green Cemetery
relation country
action find
entity Bahari
relation country
type designation for an administrative territorial entity
{'OR': [['Kensal Green Cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Bahari', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Kensal_Green_Cemetery property:country ?b } UNION { resource:Bahari property:country ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q252 Q145
SYSTEM
Indonesia, United Kingdom
Q252 Q145
OR((Q1574424,P17,c(Q15617994)), (Q26422756,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1574424
relation P17
action find
entity Q26422756
relation P17
type Q15617994
Kensal Green Cemetery or Bahari are situated in [ANSWERS]
{'OR': [['Q1574424', 'P17', {'concept': 'Q15617994'}], ['Q26422756', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q1574424 property:P17 ?b } UNION { resource:Q26422756 property:P17 ?b } } . ?b rdf:type ontology:Q15617994 }
Indonesia United Kingdom
Kensal Green Cemetery or Bahari are situated in Indonesia and United Kingdom
Indonesia United Kingdom
action filter_type
action union
action find
entity Kensal Green Cemetery
relation country
action find
entity Bahari
relation country
type designation for an administrative territorial entity
{'OR': [['Kensal Green Cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Bahari', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Kensal_Green_Cemetery property:country ?b } UNION { resource:Bahari property:country ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q230
P530
Q15617994
USER
Do Georgia have diplomatic relations with those ones ?
(Q230,P530,Q252) (Q230,P530,Q145)
action is_in
entity prev_answer
action find
entity Q230
relation P530
['Q230', 'P530', 'Q252'] ['Q230', 'P530', 'Q145']
ASK WHERE { resource:Q230 property:P530 ?g . VALUES ( ?g ) { ( resource:Q252 ) ( resource:Q145 ) } }
Georgia
action is_in
entity prev_answer
action find
entity Georgia
relation diplomatic relation
['Georgia', 'diplomatic relation', 'Indonesia'] ['Georgia', 'diplomatic relation', 'United Kingdom']
ASK WHERE { resource:Georgia property:diplomatic_relation ?g . VALUES ( ?g ) { ( resource:Indonesia ) ( resource:United_Kingdom ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q230,P530,Q252) (Q230,P530,Q145)
action is_in
entity prev_answer
action find
entity Q230
relation P530
[ANSWER]
['Q230', 'P530', 'Q252'] ['Q230', 'P530', 'Q145']
ASK WHERE { resource:Q230 property:P530 ?g . VALUES ( ?g ) { ( resource:Q252 ) ( resource:Q145 ) } }
Yes
action is_in
entity prev_answer
action find
entity Georgia
relation diplomatic relation
['Georgia', 'diplomatic relation', 'Indonesia'] ['Georgia', 'diplomatic relation', 'United Kingdom']
ASK WHERE { resource:Georgia property:diplomatic_relation ?g . VALUES ( ?g ) { ( resource:Indonesia ) ( resource:United_Kingdom ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1262136 Q224
P17
Q15617994
USER
Is Mirogoj Cemetery present in Croatia ?
(Q1262136,P17,Q224)
action is_in
entity Q224
action find
entity Q1262136
relation P17
['Q1262136', 'P17', 'Q224']
ASK WHERE { resource:Q1262136 property:P17 resource:Q224 }
Mirogoj Cemetery Croatia
action is_in
entity Croatia
action find
entity Mirogoj Cemetery
relation country
['Mirogoj Cemetery', 'country', 'Croatia']
ASK WHERE { resource:Mirogoj_Cemetery property:country resource:Croatia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1262136,P17,Q224)
action is_in
entity Q224
action find
entity Q1262136
relation P17
[ANSWER]
['Q1262136', 'P17', 'Q224']
ASK WHERE { resource:Q1262136 property:P17 resource:Q224 }
Yes
action is_in
entity Croatia
action find
entity Mirogoj Cemetery
relation country
['Mirogoj Cemetery', 'country', 'Croatia']
ASK WHERE { resource:Mirogoj_Cemetery property:country resource:Croatia }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1344101 Q5179888 Q4837276
P20
Q56061
USER
Did George Thomas Smart expire at Cox Green, Tyne and Wear and Baba Bozorg ?
(Q1344101,P20,Q5179888) (Q1344101,P20,Q4837276)
action is_in
entity Q1344101
action intersection
action find_reverse
entity Q5179888
relation P20
action find_reverse
entity Q4837276
relation P20
['Q1344101', 'P20', 'Q5179888'] ['Q1344101', 'P20', 'Q4837276']
ASK WHERE { resource:Q1344101 property:P20 resource:Q5179888 . resource:Q1344101 property:P20 resource:Q4837276 }
George Thomas Smart Cox Green, Tyne and Wear Baba Bozorg
action is_in
entity George Thomas Smart
action intersection
action find_reverse
entity Cox Green, Tyne and Wear
relation place of death
action find_reverse
entity Baba Bozorg
relation place of death
['George Thomas Smart', 'place of death', 'Cox Green, Tyne and Wear'] ['George Thomas Smart', 'place of death', 'Baba Bozorg']
ASK WHERE { resource:George_Thomas_Smart property:place_of_death resource:Cox_Green,_Tyne_and_Wear . resource:George_Thomas_Smart property:place_of_death resource:Baba_Bozorg }
[]
administrative territorial entity
SYSTEM
NO
(Q1344101,P20,Q5179888) (Q1344101,P20,Q4837276)
action is_in
entity Q1344101
action intersection
action find_reverse
entity Q5179888
relation P20
action find_reverse
entity Q4837276
relation P20
[ANSWER]
['Q1344101', 'P20', 'Q5179888'] ['Q1344101', 'P20', 'Q4837276']
ASK WHERE { resource:Q1344101 property:P20 resource:Q5179888 . resource:Q1344101 property:P20 resource:Q4837276 }
No
action is_in
entity George Thomas Smart
action intersection
action find_reverse
entity Cox Green, Tyne and Wear
relation place of death
action find_reverse
entity Baba Bozorg
relation place of death
['George Thomas Smart', 'place of death', 'Cox Green, Tyne and Wear'] ['George Thomas Smart', 'place of death', 'Baba Bozorg']
ASK WHERE { resource:George_Thomas_Smart property:place_of_death resource:Cox_Green,_Tyne_and_Wear . resource:George_Thomas_Smart property:place_of_death resource:Baba_Bozorg }
[]