Simple Question (Direct)
Simple Question
Q3847649
P463
Q43229
USER
Which organization was Marian Bantjes a member of ?
(Q3847649,P463,c(Q43229))
action filter_type
action find
entity Q3847649
relation P463
type Q43229
['Q3847649', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?g WHERE { resource:Q3847649 property:P463 ?g . ?g rdf:type ontology:Q43229 }
Marian Bantjes
action filter_type
action find
entity Marian Bantjes
relation member of
type organization
['Marian Bantjes', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?g WHERE { resource:Marian_Bantjes property:member_of ?g . ?g rdf:type ontology:organization }
[]
organization
Q2004869
SYSTEM
Alliance Graphique Internationale
Q2004869
(Q3847649,P463,c(Q43229))
action filter_type
action find
entity Q3847649
relation P463
type Q43229
[ANSWER] was Marian Bantjes a member of
['Q3847649', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?g WHERE { resource:Q3847649 property:P463 ?g . ?g rdf:type ontology:Q43229 }
Alliance Graphique Internationale
Alliance Graphique Internationale was Marian Bantjes a member of
Alliance Graphique Internationale
action filter_type
action find
entity Marian Bantjes
relation member of
type organization
['Marian Bantjes', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?g WHERE { resource:Marian_Bantjes property:member_of ?g . ?g rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3847649
P27
Q1048835
USER
Which political territory does that person belong to ?
(Q2004869,P27,c(Q1048835))
action filter_type
action find
entity Q3847649
relation P27
type Q1048835
['Q2004869', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q3847649 property:P27 ?r . ?r rdf:type ontology:Q1048835 }
Marian Bantjes
action filter_type
action find
entity Marian Bantjes
relation country of citizenship
type political territorial entity
['Alliance Graphique Internationale', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Marian_Bantjes property:country_of_citizenship ?r . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q2004869,P27,c(Q1048835))
action filter_type
action find
entity Q3847649
relation P27
type Q1048835
That person belongs to the [ANSWER]
['Q2004869', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q3847649 property:P27 ?r . ?r rdf:type ontology:Q1048835 }
Canada
That person belongs to the Canada
Canada
action filter_type
action find
entity Marian Bantjes
relation country of citizenship
type political territorial entity
['Alliance Graphique Internationale', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Marian_Bantjes property:country_of_citizenship ?r . ?r rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q16 Q39128 Q801
P530
Q15617994
USER
Does that political territory have ambassadorial relations with Gambarana and Israel ?
(Q16,P530,Q39128) (Q16,P530,Q801)
action is_in
entity Q16
action intersection
action find_reverse
entity Q39128
relation P530
action find_reverse
entity Q801
relation P530
['Q16', 'P530', 'Q39128'] ['Q16', 'P530', 'Q801']
ASK WHERE { resource:Q16 property:P530 resource:Q39128 . resource:Q16 property:P530 resource:Q801 }
Canada Gambarana Israel
action is_in
entity Canada
action intersection
action find_reverse
entity Gambarana
relation diplomatic relation
action find_reverse
entity Israel
relation diplomatic relation
['Canada', 'diplomatic relation', 'Gambarana'] ['Canada', 'diplomatic relation', 'Israel']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Gambarana . resource:Canada property:diplomatic_relation resource:Israel }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q16,P530,Q39128) (Q16,P530,Q801)
action is_in
entity Q16
action intersection
action find_reverse
entity Q39128
relation P530
action find_reverse
entity Q801
relation P530
[ANSWER]
['Q16', 'P530', 'Q39128'] ['Q16', 'P530', 'Q801']
ASK WHERE { resource:Q16 property:P530 resource:Q39128 . resource:Q16 property:P530 resource:Q801 }
NO and YES respectively
action is_in
entity Canada
action intersection
action find_reverse
entity Gambarana
relation diplomatic relation
action find_reverse
entity Israel
relation diplomatic relation
['Canada', 'diplomatic relation', 'Gambarana'] ['Canada', 'diplomatic relation', 'Israel']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Gambarana . resource:Canada property:diplomatic_relation resource:Israel }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16
P106
Q502895
USER
Which people have career as that political territory ?
action filter_type
action find_reverse
entity Q16
relation P106
type Q502895
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P106 resource:Q16 }
Canada
action filter_type
action find_reverse
entity Canada
relation occupation
type common name
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:occupation resource:Canada }
[]
common name
Q26959567 Q17518881
SYSTEM
Isobel Bryson, Mario Ferri
Q26959567 Q17518881
action filter_type
action find_reverse
entity Q16
relation P106
type Q502895
[ANSWERS] have career as that political territory
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P106 resource:Q16 }
Isobel Bryson Mario Ferri
Isobel Bryson and Mario Ferri have career as that political territory
Isobel Bryson Mario Ferri
action filter_type
action find_reverse
entity Canada
relation occupation
type common name
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:occupation resource:Canada }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q923394 Q801
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relationships with Israel or do Joílson Rodrigues Macedo belong to ?
OR((Q801,P530,c(Q15617994)), (Q923394,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q801
relation P530
action find
entity Q923394
relation P27
type Q15617994
{'OR': [['Q801', 'P530', {'concept': 'Q15617994'}], ['Q923394', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . { { resource:Q801 property:P530 ?e } UNION { resource:Q923394 property:P27 ?e } } }
Joílson Rodrigues Macedo Israel
action filter_type
action union
action find
entity Israel
relation diplomatic relation
action find
entity Joílson Rodrigues Macedo
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Israel', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Joílson Rodrigues Macedo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Israel property:diplomatic_relation ?e } UNION { resource:Joílson_Rodrigues_Macedo property:country_of_citizenship ?e } } }
[]
designation for an administrative territorial entity
Q17 Q822 Q794 Q155 Q213 Q41 Q30 Q159 Q668 Q148
SYSTEM
Some of them are Japan, Lebanon, Iran, Brazil, Czech Republic, Greece, United States of America, Russia, India, People's Republic of China
Q858 Q142 Q805 Q38 Q810 Q43 Q213 Q155 Q148 Q145 Q794 Q822 Q17 Q30 Q79 Q668 Q159 Q884 Q41
OR((Q801,P530,c(Q15617994)), (Q923394,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q801
relation P530
action find
entity Q923394
relation P27
type Q15617994
[ANSWERS] have diplomatic relationships with Israel or do Joílson Rodrigues Macedo belong to
{'OR': [['Q801', 'P530', {'concept': 'Q15617994'}], ['Q923394', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . { { resource:Q801 property:P530 ?e } UNION { resource:Q923394 property:P27 ?e } } }
Syria France Yemen Italy Jordan Turkey Czech Republic Brazil People's Republic of China United Kingdom Iran Lebanon Japan United States of America Egypt India Russia South Korea Greece
Japan, Lebanon, Iran, Brazil, Czech Republic, Greece, United States of America, Russia, India and People's Republic of China have diplomatic relationships with Israel or do Joílson Rodrigues Macedo belong to
Japan Lebanon Iran Brazil Czech Republic Greece United States of America Russia India People's Republic of China
action filter_type
action union
action find
entity Israel
relation diplomatic relation
action find
entity Joílson Rodrigues Macedo
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Israel', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Joílson Rodrigues Macedo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Israel property:diplomatic_relation ?e } UNION { resource:Joílson_Rodrigues_Macedo property:country_of_citizenship ?e } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q801
P530
Q15617994
USER
Do Israel have diplomatic associations with those ones ?
(Q801,P530,Q17) (Q801,P530,Q822) (Q801,P530,Q794) (Q801,P530,Q155) (Q801,P530,Q213) (Q801,P530,Q41) (Q801,P530,Q30) (Q801,P530,Q159) (Q801,P530,Q668) (Q801,P530,Q148)
action is_in
entity prev_answer
action find
entity Q801
relation P530
['Q801', 'P530', 'Q17'] ['Q801', 'P530', 'Q822'] ['Q801', 'P530', 'Q794'] ['Q801', 'P530', 'Q155'] ['Q801', 'P530', 'Q213'] ['Q801', 'P530', 'Q41'] ['Q801', 'P530', 'Q30'] ['Q801', 'P530', 'Q159'] ['Q801', 'P530', 'Q668'] ['Q801', 'P530', 'Q148']
ASK WHERE { VALUES ( ?t ) { ( resource:Q858 ) ( resource:Q142 ) ( resource:Q805 ) } . resource:Q801 property:P530 ?t }
Israel
action is_in
entity prev_answer
action find
entity Israel
relation diplomatic relation
['Israel', 'diplomatic relation', 'Japan'] ['Israel', 'diplomatic relation', 'Lebanon'] ['Israel', 'diplomatic relation', 'Iran'] ['Israel', 'diplomatic relation', 'Brazil'] ['Israel', 'diplomatic relation', 'Czech Republic'] ['Israel', 'diplomatic relation', 'Greece'] ['Israel', 'diplomatic relation', 'United States of America'] ['Israel', 'diplomatic relation', 'Russia'] ['Israel', 'diplomatic relation', 'India'] ['Israel', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { VALUES ( ?t ) { ( resource:Syria ) ( resource:France ) ( resource:Yemen ) } . resource:Israel property:diplomatic_relation ?t }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q801,P530,Q17) (Q801,P530,Q822) (Q801,P530,Q794) (Q801,P530,Q155) (Q801,P530,Q213) (Q801,P530,Q41) (Q801,P530,Q30) (Q801,P530,Q159) (Q801,P530,Q668) (Q801,P530,Q148)
action is_in
entity prev_answer
action find
entity Q801
relation P530
[ANSWER]
['Q801', 'P530', 'Q17'] ['Q801', 'P530', 'Q822'] ['Q801', 'P530', 'Q794'] ['Q801', 'P530', 'Q155'] ['Q801', 'P530', 'Q213'] ['Q801', 'P530', 'Q41'] ['Q801', 'P530', 'Q30'] ['Q801', 'P530', 'Q159'] ['Q801', 'P530', 'Q668'] ['Q801', 'P530', 'Q148']
ASK WHERE { VALUES ( ?t ) { ( resource:Q858 ) ( resource:Q142 ) ( resource:Q805 ) } . resource:Q801 property:P530 ?t }
Yes
action is_in
entity prev_answer
action find
entity Israel
relation diplomatic relation
['Israel', 'diplomatic relation', 'Japan'] ['Israel', 'diplomatic relation', 'Lebanon'] ['Israel', 'diplomatic relation', 'Iran'] ['Israel', 'diplomatic relation', 'Brazil'] ['Israel', 'diplomatic relation', 'Czech Republic'] ['Israel', 'diplomatic relation', 'Greece'] ['Israel', 'diplomatic relation', 'United States of America'] ['Israel', 'diplomatic relation', 'Russia'] ['Israel', 'diplomatic relation', 'India'] ['Israel', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { VALUES ( ?t ) { ( resource:Syria ) ( resource:France ) ( resource:Yemen ) } . resource:Israel property:diplomatic_relation ?t }
[]