Simple Question (Direct)
Simple Question
Q5645411
P106
Q12737077
USER
What is the job of Hamisi Andrea Kigwangalla ?
(Q5645411,P106,c(Q12737077))
action filter_type
action find
entity Q5645411
relation P106
type Q12737077
['Q5645411', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q5645411 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Hamisi Andrea Kigwangalla
action filter_type
action find
entity Hamisi Andrea Kigwangalla
relation occupation
type occupation
['Hamisi Andrea Kigwangalla', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Hamisi_Andrea_Kigwangalla property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q5645411,P106,c(Q12737077))
action filter_type
action find
entity Q5645411
relation P106
type Q12737077
The job of Hamisi Andrea Kigwangalla is a [ANSWER]
['Q5645411', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q5645411 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
politician
The job of Hamisi Andrea Kigwangalla is a politician
politician
action filter_type
action find
entity Hamisi Andrea Kigwangalla
relation occupation
type occupation
['Hamisi Andrea Kigwangalla', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Hamisi_Andrea_Kigwangalla property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5645411
P69
Q2385804
USER
Which educational institution was that person educated at ?
(Q82955,P69,c(Q2385804))
action filter_type
action find
entity Q5645411
relation P69
type Q2385804
['Q82955', 'P69', {'concept': 'Q2385804'}]
SELECT DISTINCT ?d WHERE { resource:Q5645411 property:P69 ?d . ?d rdf:type ontology:Q2385804 }
Hamisi Andrea Kigwangalla
action filter_type
action find
entity Hamisi Andrea Kigwangalla
relation educated at
type educational institution
['politician', 'educated at', {'concept': 'educational institution'}]
SELECT DISTINCT ?d WHERE { resource:Hamisi_Andrea_Kigwangalla property:educated_at ?d . ?d rdf:type ontology:educational_institution }
[]
educational institution
Q1163548
SYSTEM
Blekinge Institute of Technology
Q1163548
(Q82955,P69,c(Q2385804))
action filter_type
action find
entity Q5645411
relation P69
type Q2385804
That person was educated at [ANSWER]
['Q82955', 'P69', {'concept': 'Q2385804'}]
SELECT DISTINCT ?d WHERE { resource:Q5645411 property:P69 ?d . ?d rdf:type ontology:Q2385804 }
Blekinge Institute of Technology
That person was educated at Blekinge Institute of Technology
Blekinge Institute of Technology
action filter_type
action find
entity Hamisi Andrea Kigwangalla
relation educated at
type educational institution
['politician', 'educated at', {'concept': 'educational institution'}]
SELECT DISTINCT ?d WHERE { resource:Hamisi_Andrea_Kigwangalla property:educated_at ?d . ?d rdf:type ontology:educational_institution }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1163548 Q5645411
P69
Q502895
USER
Was Hamisi Andrea Kigwangalla educated at that educational institution ?
(Q5645411,P69,Q1163548)
action is_in
entity Q1163548
action find
entity Q5645411
relation P69
['Q5645411', 'P69', 'Q1163548']
ASK WHERE { resource:Q5645411 property:P69 resource:Q1163548 }
Blekinge Institute of Technology Hamisi Andrea Kigwangalla
action is_in
entity Blekinge Institute of Technology
action find
entity Hamisi Andrea Kigwangalla
relation educated at
['Hamisi Andrea Kigwangalla', 'educated at', 'Blekinge Institute of Technology']
ASK WHERE { resource:Hamisi_Andrea_Kigwangalla property:educated_at resource:Blekinge_Institute_of_Technology }
[]
common name
SYSTEM
YES
(Q5645411,P69,Q1163548)
action is_in
entity Q1163548
action find
entity Q5645411
relation P69
[ANSWER]
['Q5645411', 'P69', 'Q1163548']
ASK WHERE { resource:Q5645411 property:P69 resource:Q1163548 }
Yes
action is_in
entity Blekinge Institute of Technology
action find
entity Hamisi Andrea Kigwangalla
relation educated at
['Hamisi Andrea Kigwangalla', 'educated at', 'Blekinge Institute of Technology']
ASK WHERE { resource:Hamisi_Andrea_Kigwangalla property:educated_at resource:Blekinge_Institute_of_Technology }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q19204627
P921
Q12737077 Q2342494 Q838948
USER
How many occupations were the main subjects of more number of collectables and works of art 's work than American football player ?
(c(Q2342494)|c(Q838948),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q19204627
relation P921
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:P921 resource:Q19204627 . { VALUES ( ?v ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?s rdf:type ?v } } } . FILTER ( ?i > ?o ) . { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?i ) WHERE { ?e rdf:type ?n . VALUES ( ?n ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } GROUP BY ?b } }
American football player
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity American football player
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:main_subject resource:American_football_player . { VALUES ( ?v ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?s rdf:type ?v } } } . FILTER ( ?i > ?o ) . { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?i ) WHERE { ?e rdf:type ?n . VALUES ( ?n ) { ( ontology:work_of_art ) ( ontology:collectable ) } } GROUP BY ?b } }
[]
occupation collectable work of art
SYSTEM
38
Q15637082 Q911554 Q39631 Q1124183 Q11631 Q33999 Q36180 Q774306 Q83307 Q4610556 Q18145518 Q7358 Q82955 Q730242 Q42973 Q1930187 Q937857 Q9402 Q2961580 Q43845 Q101539 Q29182 Q131524 Q205375 Q164236 Q14373094 Q18220900 Q936969 Q16746569 Q16003605 Q245068 Q33231 Q49757 Q2095549 Q1238570 Q2259532 Q1674312 Q16003532
(c(Q2342494)|c(Q838948),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q19204627
relation P921
type Q2342494
type Q838948
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:P921 resource:Q19204627 . { VALUES ( ?v ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?s rdf:type ?v } } } . FILTER ( ?i > ?o ) . { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?i ) WHERE { ?e rdf:type ?n . VALUES ( ?n ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } GROUP BY ?b } }
industrialist business magnate physician lumberjack astronaut actor writer surgeon minister model Member of the New Zealand House of Representatives clown politician test pilot architect journalist association football player ninja taxi driver businessperson flight attendant bishop entrepreneur inventor war correspondent rugby league player Member of the South Australian House of Assembly nanny high school student elementary school student comedian photographer poet aviator political scientist cleric rag-and-bone man middle school student
38
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity American football player
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:main_subject resource:American_football_player . { VALUES ( ?v ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?s rdf:type ?v } } } . FILTER ( ?i > ?o ) . { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?i ) WHERE { ?e rdf:type ?n . VALUES ( ?n ) { ( ontology:work_of_art ) ( ontology:collectable ) } } GROUP BY ?b } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q82955
P921
Q12737077 Q2342494 Q838948
USER
And what about politician?
(c(Q2342494)|c(Q838948),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q82955
relation P921
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?p ) WHERE { { ?n property:P921 ?j . ?j rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q838948 } UNION { ?n property:P921 ?j . ?j rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q2342494 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:P921 resource:Q82955 . { { ?h rdf:type ontology:Q2342494 } UNION { ?h rdf:type ontology:Q838948 } } } } . FILTER ( ?p > ?i ) }
politician
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity politician
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?p ) WHERE { { ?n property:main_subject ?j . ?j rdf:type ontology:occupation . ?n rdf:type ontology:work_of_art } UNION { ?n property:main_subject ?j . ?j rdf:type ontology:occupation . ?n rdf:type ontology:collectable } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:main_subject resource:politician . { { ?h rdf:type ontology:collectable } UNION { ?h rdf:type ontology:work_of_art } } } } . FILTER ( ?p > ?i ) }
[]
occupation collectable work of art
SYSTEM
12
Q39631 Q11631 Q33999 Q1930187 Q937857 Q9402 Q101539 Q164236 Q16746569 Q16003605 Q33231 Q16003532
(c(Q2342494)|c(Q838948),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q82955
relation P921
type Q2342494
type Q838948
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?p ) WHERE { { ?n property:P921 ?j . ?j rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q838948 } UNION { ?n property:P921 ?j . ?j rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q2342494 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:P921 resource:Q82955 . { { ?h rdf:type ontology:Q2342494 } UNION { ?h rdf:type ontology:Q838948 } } } } . FILTER ( ?p > ?i ) }
physician astronaut actor journalist association football player ninja flight attendant war correspondent high school student elementary school student photographer middle school student
12
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity politician
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?p ) WHERE { { ?n property:main_subject ?j . ?j rdf:type ontology:occupation . ?n rdf:type ontology:work_of_art } UNION { ?n property:main_subject ?j . ?j rdf:type ontology:occupation . ?n rdf:type ontology:collectable } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:main_subject resource:politician . { { ?h rdf:type ontology:collectable } UNION { ?h rdf:type ontology:work_of_art } } } } . FILTER ( ?p > ?i ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5645411
P102
Q7210356
USER
Which political organization is Hamisi Andrea Kigwangalla a member of ?
(Q5645411,P102,c(Q7210356))
action filter_type
action find
entity Q5645411
relation P102
type Q7210356
['Q5645411', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { resource:Q5645411 property:P102 ?u . ?u rdf:type ontology:Q7210356 }
Hamisi Andrea Kigwangalla
action filter_type
action find
entity Hamisi Andrea Kigwangalla
relation member of political party
type political organization
['Hamisi Andrea Kigwangalla', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { resource:Hamisi_Andrea_Kigwangalla property:member_of_political_party ?u . ?u rdf:type ontology:political_organization }
[]
political organization
Q652091
SYSTEM
Party of the Revolution
Q652091
(Q5645411,P102,c(Q7210356))
action filter_type
action find
entity Q5645411
relation P102
type Q7210356
[ANSWER] is Hamisi Andrea Kigwangalla a member of
['Q5645411', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { resource:Q5645411 property:P102 ?u . ?u rdf:type ontology:Q7210356 }
Party of the Revolution
Party of the Revolution is Hamisi Andrea Kigwangalla a member of
Party of the Revolution
action filter_type
action find
entity Hamisi Andrea Kigwangalla
relation member of political party
type political organization
['Hamisi Andrea Kigwangalla', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { resource:Hamisi_Andrea_Kigwangalla property:member_of_political_party ?u . ?u rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5645411
P39
Q12737077
USER
What was the position held by Hamisi Andrea Kigwangalla ?
(Q5645411,P39,c(Q12737077))
action filter_type
action find
entity Q5645411
relation P39
type Q12737077
['Q5645411', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q5645411 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
Hamisi Andrea Kigwangalla
action filter_type
action find
entity Hamisi Andrea Kigwangalla
relation position held
type occupation
['Hamisi Andrea Kigwangalla', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Hamisi_Andrea_Kigwangalla property:position_held ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q17599130
SYSTEM
Member of the National Assembly of Tanzania
Q17599130
(Q5645411,P39,c(Q12737077))
action filter_type
action find
entity Q5645411
relation P39
type Q12737077
The position held by Hamisi Andrea Kigwangalla was a [ANSWER]
['Q5645411', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q5645411 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
Member of the National Assembly of Tanzania
The position held by Hamisi Andrea Kigwangalla was a Member of the National Assembly of Tanzania
Member of the National Assembly of Tanzania
action filter_type
action find
entity Hamisi Andrea Kigwangalla
relation position held
type occupation
['Hamisi Andrea Kigwangalla', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Hamisi_Andrea_Kigwangalla property:position_held ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5941977
Q12737077
USER
And how about José Manuel Arriagada Bravo?
(Q5941977,P39,c(Q12737077))
action filter_type
action find
entity Q5941977
relation P39
type Q12737077
['Q5941977', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q5941977 property:P39 ?g }
José Manuel Arriagada Bravo
action filter_type
action find
entity José Manuel Arriagada Bravo
relation position held
type occupation
['José Manuel Arriagada Bravo', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:José_Manuel_Arriagada_Bravo property:position_held ?g }
[]
occupation
Q18067639
SYSTEM
member of the Chamber of Deputies of Chile
Q18067639
(Q5941977,P39,c(Q12737077))
action filter_type
action find
entity Q5941977
relation P39
type Q12737077
[ANSWER]
['Q5941977', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q5941977 property:P39 ?g }
member of the Chamber of Deputies of Chile
member of the Chamber of Deputies of Chile
action filter_type
action find
entity José Manuel Arriagada Bravo
relation position held
type occupation
['José Manuel Arriagada Bravo', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:José_Manuel_Arriagada_Bravo property:position_held ?g }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5660506 Q5645411
P27
Q15617994
USER
Which administrative territories are the native countriesof Hamisi Andrea Kigwangalla or Agustín Acosta Lagunes ?
OR((Q5645411,P27,c(Q15617994)), (Q5660506,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5645411
relation P27
action find
entity Q5660506
relation P27
type Q15617994
{'OR': [['Q5645411', 'P27', {'concept': 'Q15617994'}], ['Q5660506', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?o ) { ( resource:Q5645411 ) ( resource:Q5660506 ) } . ?o property:P27 ?m } . ?m rdf:type ontology:Q15617994 }
Agustín Acosta Lagunes Hamisi Andrea Kigwangalla
action filter_type
action union
action find
entity Hamisi Andrea Kigwangalla
relation country of citizenship
action find
entity Agustín Acosta Lagunes
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Hamisi Andrea Kigwangalla', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Agustín Acosta Lagunes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?o ) { ( resource:Hamisi_Andrea_Kigwangalla ) ( resource:Agustín_Acosta_Lagunes ) } . ?o property:country_of_citizenship ?m } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96 Q924
SYSTEM
Mexico, Tanzania
Q96 Q924
OR((Q5645411,P27,c(Q15617994)), (Q5660506,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5645411
relation P27
action find
entity Q5660506
relation P27
type Q15617994
[ANSWERS] are the native countriesof Hamisi Andrea Kigwangalla or Agustín Acosta Lagunes
{'OR': [['Q5645411', 'P27', {'concept': 'Q15617994'}], ['Q5660506', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?o ) { ( resource:Q5645411 ) ( resource:Q5660506 ) } . ?o property:P27 ?m } . ?m rdf:type ontology:Q15617994 }
Mexico Tanzania
Mexico and Tanzania are the native countriesof Hamisi Andrea Kigwangalla or Agustín Acosta Lagunes
Mexico Tanzania
action filter_type
action union
action find
entity Hamisi Andrea Kigwangalla
relation country of citizenship
action find
entity Agustín Acosta Lagunes
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Hamisi Andrea Kigwangalla', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Agustín Acosta Lagunes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?o ) { ( resource:Hamisi_Andrea_Kigwangalla ) ( resource:Agustín_Acosta_Lagunes ) } . ?o property:country_of_citizenship ?m } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q408
P530
Q1048835
USER
Do Australia have ambassadorial relations with those administrative territories ?
(Q408,P530,Q96) (Q408,P530,Q924)
action is_in
entity prev_answer
action find
entity Q408
relation P530
['Q408', 'P530', 'Q96'] ['Q408', 'P530', 'Q924']
ASK WHERE { VALUES ( ?m ) { ( resource:Q96 ) ( resource:Q924 ) } . resource:Q408 property:P530 ?m }
Australia
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Mexico'] ['Australia', 'diplomatic relation', 'Tanzania']
ASK WHERE { VALUES ( ?m ) { ( resource:Mexico ) ( resource:Tanzania ) } . resource:Australia property:diplomatic_relation ?m }
[]
political territorial entity
SYSTEM
YES
(Q408,P530,Q96) (Q408,P530,Q924)
action is_in
entity prev_answer
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q96'] ['Q408', 'P530', 'Q924']
ASK WHERE { VALUES ( ?m ) { ( resource:Q96 ) ( resource:Q924 ) } . resource:Q408 property:P530 ?m }
Yes
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Mexico'] ['Australia', 'diplomatic relation', 'Tanzania']
ASK WHERE { VALUES ( ?m ) { ( resource:Mexico ) ( resource:Tanzania ) } . resource:Australia property:diplomatic_relation ?m }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q96 Q155
P530
Q15617994
USER
Does Brazil have a diplomatic relationship with Mexico ?
(Q96,P530,Q155)
action is_in
entity Q155
action find
entity Q96
relation P530
['Q96', 'P530', 'Q155']
ASK WHERE { resource:Q96 property:P530 resource:Q155 }
Mexico Brazil
action is_in
entity Brazil
action find
entity Mexico
relation diplomatic relation
['Mexico', 'diplomatic relation', 'Brazil']
ASK WHERE { resource:Mexico property:diplomatic_relation resource:Brazil }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q96,P530,Q155)
action is_in
entity Q155
action find
entity Q96
relation P530
[ANSWER]
['Q96', 'P530', 'Q155']
ASK WHERE { resource:Q96 property:P530 resource:Q155 }
Yes
action is_in
entity Brazil
action find
entity Mexico
relation diplomatic relation
['Mexico', 'diplomatic relation', 'Brazil']
ASK WHERE { resource:Mexico property:diplomatic_relation resource:Brazil }
[]