Simple Question (Direct)
Simple Question
Q6124327
P495
Q15617994
USER
Where did Jajabara originate ?
(Q6124327,P495,c(Q15617994))
action filter_type
action find
entity Q6124327
relation P495
type Q15617994
['Q6124327', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q6124327 property:P495 ?f }
Jajabara
action filter_type
action find
entity Jajabara
relation country of origin
type designation for an administrative territorial entity
['Jajabara', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jajabara property:country_of_origin ?f }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
(Q6124327,P495,c(Q15617994))
action filter_type
action find
entity Q6124327
relation P495
type Q15617994
Jajabara originated from [ANSWER]
['Q6124327', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q6124327 property:P495 ?f }
India
Jajabara originated from India
India
action filter_type
action find
entity Jajabara
relation country of origin
type designation for an administrative territorial entity
['Jajabara', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jajabara property:country_of_origin ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6124327
P57
Q502895
USER
Which person served as the directed of Jajabara ?
(Q6124327,P57,c(Q502895))
action filter_type
action find
entity Q6124327
relation P57
type Q502895
['Q6124327', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q6124327 property:P57 ?q . ?q rdf:type ontology:Q502895 }
Jajabara
action filter_type
action find
entity Jajabara
relation director
type common name
['Jajabara', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Jajabara property:director ?q . ?q rdf:type ontology:common_name }
[]
common name
Q4701823
SYSTEM
Akshaya Mohanty
Q4701823
(Q6124327,P57,c(Q502895))
action filter_type
action find
entity Q6124327
relation P57
type Q502895
[ANSWER] served as the directed of Jajabara
['Q6124327', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q6124327 property:P57 ?q . ?q rdf:type ontology:Q502895 }
Akshaya Mohanty
Akshaya Mohanty served as the directed of Jajabara
Akshaya Mohanty
action filter_type
action find
entity Jajabara
relation director
type common name
['Jajabara', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Jajabara property:director ?q . ?q rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4701823 Q668
P27
Q15617994
USER
Is Akshaya Mohanty an inhabitant of India ?
(Q4701823,P27,Q668)
action is_in
entity Q668
action find
entity Q4701823
relation P27
['Q4701823', 'P27', 'Q668']
ASK WHERE { resource:Q4701823 property:P27 resource:Q668 }
Akshaya Mohanty India
action is_in
entity India
action find
entity Akshaya Mohanty
relation country of citizenship
['Akshaya Mohanty', 'country of citizenship', 'India']
ASK WHERE { resource:Akshaya_Mohanty property:country_of_citizenship resource:India }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q4701823,P27,Q668)
action is_in
entity Q668
action find
entity Q4701823
relation P27
[ANSWER]
['Q4701823', 'P27', 'Q668']
ASK WHERE { resource:Q4701823 property:P27 resource:Q668 }
Yes
action is_in
entity India
action find
entity Akshaya Mohanty
relation country of citizenship
['Akshaya Mohanty', 'country of citizenship', 'India']
ASK WHERE { resource:Akshaya_Mohanty property:country_of_citizenship resource:India }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q668 Q561532
P47
Q15617994
USER
Does Rathsweiler share border with India ?
(Q668,P47,Q561532)
action is_in
entity Q561532
action find
entity Q668
relation P47
['Q668', 'P47', 'Q561532']
ASK WHERE { resource:Q668 property:P47 resource:Q561532 }
India Rathsweiler
action is_in
entity Rathsweiler
action find
entity India
relation shares border with
['India', 'shares border with', 'Rathsweiler']
ASK WHERE { resource:India property:shares_border_with resource:Rathsweiler }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q668,P47,Q561532)
action is_in
entity Q561532
action find
entity Q668
relation P47
[ANSWER]
['Q668', 'P47', 'Q561532']
ASK WHERE { resource:Q668 property:P47 resource:Q561532 }
No
action is_in
entity Rathsweiler
action find
entity India
relation shares border with
['India', 'shares border with', 'Rathsweiler']
ASK WHERE { resource:India property:shares_border_with resource:Rathsweiler }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q668 Q4701823
P58 P495
Q838948
USER
Which works of art are Akshaya Mohanty a screenwriter of and originate at India ?
AND((c(Q838948),P58,Q4701823), (c(Q838948),P495,Q668))
action filter_type
action intersection
action find_reverse
entity Q4701823
relation P58
action find_reverse
entity Q668
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P58', 'Q4701823'], [{'concept': 'Q838948'}, 'P495', 'Q668']]}
SELECT DISTINCT ?n WHERE { ?n property:P58 resource:Q4701823 . ?n property:P495 resource:Q668 . ?n rdf:type ontology:Q838948 }
India Akshaya Mohanty
action filter_type
action intersection
action find_reverse
entity Akshaya Mohanty
relation screenwriter
action find_reverse
entity India
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'screenwriter', 'Akshaya Mohanty'], [{'concept': 'work of art'}, 'country of origin', 'India']]}
SELECT DISTINCT ?n WHERE { ?n property:screenwriter resource:Akshaya_Mohanty . ?n property:country_of_origin resource:India . ?n rdf:type ontology:work_of_art }
[]
work of art
Q15724998
SYSTEM
Maa O Mamata
Q15724998
AND((c(Q838948),P58,Q4701823), (c(Q838948),P495,Q668))
action filter_type
action intersection
action find_reverse
entity Q4701823
relation P58
action find_reverse
entity Q668
relation P495
type Q838948
[ANSWER] is Akshaya Mohanty a screenwriter of and originate at India
{'AND': [[{'concept': 'Q838948'}, 'P58', 'Q4701823'], [{'concept': 'Q838948'}, 'P495', 'Q668']]}
SELECT DISTINCT ?n WHERE { ?n property:P58 resource:Q4701823 . ?n property:P495 resource:Q668 . ?n rdf:type ontology:Q838948 }
Maa O Mamata
Maa O Mamata is Akshaya Mohanty a screenwriter of and originate at India
Maa O Mamata
action filter_type
action intersection
action find_reverse
entity Akshaya Mohanty
relation screenwriter
action find_reverse
entity India
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'screenwriter', 'Akshaya Mohanty'], [{'concept': 'work of art'}, 'country of origin', 'India']]}
SELECT DISTINCT ?n WHERE { ?n property:screenwriter resource:Akshaya_Mohanty . ?n property:country_of_origin resource:India . ?n rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q15724998 Q2107874
P57
Q502895
USER
Did Prashanta Nanda direct that work of art ?
(Q15724998,P57,Q2107874)
action is_in
entity Q2107874
action find
entity Q15724998
relation P57
['Q15724998', 'P57', 'Q2107874']
ASK WHERE { resource:Q15724998 property:P57 resource:Q2107874 }
Maa O Mamata Prashanta Nanda
action is_in
entity Prashanta Nanda
action find
entity Maa O Mamata
relation director
['Maa O Mamata', 'director', 'Prashanta Nanda']
ASK WHERE { resource:Maa_O_Mamata property:director resource:Prashanta_Nanda }
[]
common name
SYSTEM
YES
(Q15724998,P57,Q2107874)
action is_in
entity Q2107874
action find
entity Q15724998
relation P57
[ANSWER]
['Q15724998', 'P57', 'Q2107874']
ASK WHERE { resource:Q15724998 property:P57 resource:Q2107874 }
Yes
action is_in
entity Prashanta Nanda
action find
entity Maa O Mamata
relation director
['Maa O Mamata', 'director', 'Prashanta Nanda']
ASK WHERE { resource:Maa_O_Mamata property:director resource:Prashanta_Nanda }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q668 Q775912
P530
Q1048835
USER
Does Barbués hold diplomatic relationship with India ?
(Q668,P530,Q775912)
action is_in
entity Q775912
action find
entity Q668
relation P530
['Q668', 'P530', 'Q775912']
ASK WHERE { resource:Q668 property:P530 resource:Q775912 }
India Barbués
action is_in
entity Barbués
action find
entity India
relation diplomatic relation
['India', 'diplomatic relation', 'Barbués']
ASK WHERE { resource:India property:diplomatic_relation resource:Barbués }
[]
political territorial entity
SYSTEM
NO
(Q668,P530,Q775912)
action is_in
entity Q775912
action find
entity Q668
relation P530
[ANSWER]
['Q668', 'P530', 'Q775912']
ASK WHERE { resource:Q668 property:P530 resource:Q775912 }
No
action is_in
entity Barbués
action find
entity India
relation diplomatic relation
['India', 'diplomatic relation', 'Barbués']
ASK WHERE { resource:India property:diplomatic_relation resource:Barbués }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q15724998 Q7304661 Q1914353
P58
Q502895
USER
Does Maa O Mamata have Red Nonnenkamp and May Harrison as screenwriter ?
(Q15724998,P58,Q7304661) (Q15724998,P58,Q1914353)
action is_in
entity Q15724998
action intersection
action find_reverse
entity Q7304661
relation P58
action find_reverse
entity Q1914353
relation P58
['Q15724998', 'P58', 'Q7304661'] ['Q15724998', 'P58', 'Q1914353']
ASK WHERE { resource:Q15724998 property:P58 resource:Q7304661 . resource:Q15724998 property:P58 resource:Q1914353 }
Maa O Mamata Red Nonnenkamp May Harrison
action is_in
entity Maa O Mamata
action intersection
action find_reverse
entity Red Nonnenkamp
relation screenwriter
action find_reverse
entity May Harrison
relation screenwriter
['Maa O Mamata', 'screenwriter', 'Red Nonnenkamp'] ['Maa O Mamata', 'screenwriter', 'May Harrison']
ASK WHERE { resource:Maa_O_Mamata property:screenwriter resource:Red_Nonnenkamp . resource:Maa_O_Mamata property:screenwriter resource:May_Harrison }
[]
common name
SYSTEM
NO
(Q15724998,P58,Q7304661) (Q15724998,P58,Q1914353)
action is_in
entity Q15724998
action intersection
action find_reverse
entity Q7304661
relation P58
action find_reverse
entity Q1914353
relation P58
[ANSWER]
['Q15724998', 'P58', 'Q7304661'] ['Q15724998', 'P58', 'Q1914353']
ASK WHERE { resource:Q15724998 property:P58 resource:Q7304661 . resource:Q15724998 property:P58 resource:Q1914353 }
No
action is_in
entity Maa O Mamata
action intersection
action find_reverse
entity Red Nonnenkamp
relation screenwriter
action find_reverse
entity May Harrison
relation screenwriter
['Maa O Mamata', 'screenwriter', 'Red Nonnenkamp'] ['Maa O Mamata', 'screenwriter', 'May Harrison']
ASK WHERE { resource:Maa_O_Mamata property:screenwriter resource:Red_Nonnenkamp . resource:Maa_O_Mamata property:screenwriter resource:May_Harrison }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4701823 Q2258748
P27
Q15617994
USER
Is Akshaya Mohanty an inhabitant of Schönberg ?
(Q4701823,P27,Q2258748)
action is_in
entity Q2258748
action find
entity Q4701823
relation P27
['Q4701823', 'P27', 'Q2258748']
ASK WHERE { resource:Q4701823 property:P27 resource:Q2258748 }
Akshaya Mohanty Schönberg
action is_in
entity Schönberg
action find
entity Akshaya Mohanty
relation country of citizenship
['Akshaya Mohanty', 'country of citizenship', 'Schönberg']
ASK WHERE { resource:Akshaya_Mohanty property:country_of_citizenship resource:Schönberg }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q4701823,P27,Q2258748)
action is_in
entity Q2258748
action find
entity Q4701823
relation P27
[ANSWER]
['Q4701823', 'P27', 'Q2258748']
ASK WHERE { resource:Q4701823 property:P27 resource:Q2258748 }
No
action is_in
entity Schönberg
action find
entity Akshaya Mohanty
relation country of citizenship
['Akshaya Mohanty', 'country of citizenship', 'Schönberg']
ASK WHERE { resource:Akshaya_Mohanty property:country_of_citizenship resource:Schönberg }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q668 Q801
P530
Q15617994
USER
Does Israel have diplomatic relationships with India ?
(Q668,P530,Q801)
action is_in
entity Q801
action find
entity Q668
relation P530
['Q668', 'P530', 'Q801']
ASK WHERE { resource:Q668 property:P530 resource:Q801 }
India Israel
action is_in
entity Israel
action find
entity India
relation diplomatic relation
['India', 'diplomatic relation', 'Israel']
ASK WHERE { resource:India property:diplomatic_relation resource:Israel }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q668,P530,Q801)
action is_in
entity Q801
action find
entity Q668
relation P530
[ANSWER]
['Q668', 'P530', 'Q801']
ASK WHERE { resource:Q668 property:P530 resource:Q801 }
Yes
action is_in
entity Israel
action find
entity India
relation diplomatic relation
['India', 'diplomatic relation', 'Israel']
ASK WHERE { resource:India property:diplomatic_relation resource:Israel }
[]