Simple Question (Direct)
Simple Question
Q3492489
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Martin Bartek ?
(Q3492489,P27,c(Q15617994))
action filter_type
action find
entity Q3492489
relation P27
type Q15617994
['Q3492489', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q3492489 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Martin Bartek
action filter_type
action find
entity Martin Bartek
relation country of citizenship
type designation for an administrative territorial entity
['Martin Bartek', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Martin_Bartek property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q214
SYSTEM
Slovakia
Q214
(Q3492489,P27,c(Q15617994))
action filter_type
action find
entity Q3492489
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Martin Bartek
['Q3492489', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q3492489 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Slovakia
Slovakia is the country of citizenship of Martin Bartek
Slovakia
action filter_type
action find
entity Martin Bartek
relation country of citizenship
type designation for an administrative territorial entity
['Martin Bartek', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Martin_Bartek property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3492489
P21
Q290
USER
What is the sex of that person ?
(Q214,P21,c(Q290))
action filter_type
action find
entity Q3492489
relation P21
type Q290
['Q214', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q3492489 property:P21 ?v }
Martin Bartek
action filter_type
action find
entity Martin Bartek
relation gender
type sex
['Slovakia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Martin_Bartek property:gender ?v }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q214,P21,c(Q290))
action filter_type
action find
entity Q3492489
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q214', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q3492489 property:P21 ?v }
male
The sex of that person is a male
male
action filter_type
action find
entity Martin Bartek
relation gender
type sex
['Slovakia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Martin_Bartek property:gender ?v }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q3604987
P21
Q502895
USER
Does Adam Henrich have that sex as the sex ?
(Q3604987,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q3604987
relation P21
['Q3604987', 'P21', 'Q6581097']
ASK WHERE { resource:Q3604987 property:P21 resource:Q6581097 }
male Adam Henrich
action is_in
entity male
action find
entity Adam Henrich
relation gender
['Adam Henrich', 'gender', 'male']
ASK WHERE { resource:Adam_Henrich property:gender resource:male }
[]
common name
SYSTEM
YES
(Q3604987,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q3604987
relation P21
[ANSWER]
['Q3604987', 'P21', 'Q6581097']
ASK WHERE { resource:Q3604987 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Adam Henrich
relation gender
['Adam Henrich', 'gender', 'male']
ASK WHERE { resource:Adam_Henrich property:gender resource:male }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6375769 Q3604987
P27
Q1048835
USER
Which political territories are the countries of citizenship of Adam Henrich or Kate Schutt ?
OR((Q3604987,P27,c(Q1048835)), (Q6375769,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q3604987
relation P27
action find
entity Q6375769
relation P27
type Q1048835
{'OR': [['Q3604987', 'P27', {'concept': 'Q1048835'}], ['Q6375769', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q3604987 property:P27 ?a } UNION { resource:Q6375769 property:P27 ?a } } . ?a rdf:type ontology:Q1048835 }
Kate Schutt Adam Henrich
action filter_type
action union
action find
entity Adam Henrich
relation country of citizenship
action find
entity Kate Schutt
relation country of citizenship
type political territorial entity
{'OR': [['Adam Henrich', 'country of citizenship', {'concept': 'political territorial entity'}], ['Kate Schutt', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Adam_Henrich property:country_of_citizenship ?a } UNION { resource:Kate_Schutt property:country_of_citizenship ?a } } . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
OR((Q3604987,P27,c(Q1048835)), (Q6375769,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q3604987
relation P27
action find
entity Q6375769
relation P27
type Q1048835
[ANSWER] is the countries of citizenship of Adam Henrich or Kate Schutt
{'OR': [['Q3604987', 'P27', {'concept': 'Q1048835'}], ['Q6375769', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q3604987 property:P27 ?a } UNION { resource:Q6375769 property:P27 ?a } } . ?a rdf:type ontology:Q1048835 }
Canada
Canada is the countries of citizenship of Adam Henrich or Kate Schutt
Canada
action filter_type
action union
action find
entity Adam Henrich
relation country of citizenship
action find
entity Kate Schutt
relation country of citizenship
type political territorial entity
{'OR': [['Adam Henrich', 'country of citizenship', {'concept': 'political territorial entity'}], ['Kate Schutt', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Adam_Henrich property:country_of_citizenship ?a } UNION { resource:Kate_Schutt property:country_of_citizenship ?a } } . ?a rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16 Q229
P530
Q15617994
USER
Does Cyprus hold diplomatic relationship with Canada ?
(Q16,P530,Q229)
action is_in
entity Q229
action find
entity Q16
relation P530
['Q16', 'P530', 'Q229']
ASK WHERE { resource:Q16 property:P530 resource:Q229 }
Canada Cyprus
action is_in
entity Cyprus
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'Cyprus']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Cyprus }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q16,P530,Q229)
action is_in
entity Q229
action find
entity Q16
relation P530
[ANSWER]
['Q16', 'P530', 'Q229']
ASK WHERE { resource:Q16 property:P530 resource:Q229 }
Yes
action is_in
entity Cyprus
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'Cyprus']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Cyprus }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q214 Q556010 Q28
P47
Q15617994
USER
Does Kramerhof and Hungary share a border with Slovakia ?
(Q214,P47,Q556010) (Q214,P47,Q28)
action is_in
entity Q214
action intersection
action find_reverse
entity Q556010
relation P47
action find_reverse
entity Q28
relation P47
['Q214', 'P47', 'Q556010'] ['Q214', 'P47', 'Q28']
ASK WHERE { resource:Q214 property:P47 resource:Q556010 . resource:Q214 property:P47 resource:Q28 }
Slovakia Kramerhof Hungary
action is_in
entity Slovakia
action intersection
action find_reverse
entity Kramerhof
relation shares border with
action find_reverse
entity Hungary
relation shares border with
['Slovakia', 'shares border with', 'Kramerhof'] ['Slovakia', 'shares border with', 'Hungary']
ASK WHERE { resource:Slovakia property:shares_border_with resource:Kramerhof . resource:Slovakia property:shares_border_with resource:Hungary }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q214,P47,Q556010) (Q214,P47,Q28)
action is_in
entity Q214
action intersection
action find_reverse
entity Q556010
relation P47
action find_reverse
entity Q28
relation P47
[ANSWER]
['Q214', 'P47', 'Q556010'] ['Q214', 'P47', 'Q28']
ASK WHERE { resource:Q214 property:P47 resource:Q556010 . resource:Q214 property:P47 resource:Q28 }
NO and YES respectively
action is_in
entity Slovakia
action intersection
action find_reverse
entity Kramerhof
relation shares border with
action find_reverse
entity Hungary
relation shares border with
['Slovakia', 'shares border with', 'Kramerhof'] ['Slovakia', 'shares border with', 'Hungary']
ASK WHERE { resource:Slovakia property:shares_border_with resource:Kramerhof . resource:Slovakia property:shares_border_with resource:Hungary }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3492489 Q11874
P19
Q56061
USER
Is Zvolen the place of birth of Martin Bartek ?
(Q3492489,P19,Q11874)
action is_in
entity Q11874
action find
entity Q3492489
relation P19
['Q3492489', 'P19', 'Q11874']
ASK WHERE { resource:Q3492489 property:P19 resource:Q11874 }
Martin Bartek Zvolen
action is_in
entity Zvolen
action find
entity Martin Bartek
relation place of birth
['Martin Bartek', 'place of birth', 'Zvolen']
ASK WHERE { resource:Martin_Bartek property:place_of_birth resource:Zvolen }
[]
administrative territorial entity
SYSTEM
YES
(Q3492489,P19,Q11874)
action is_in
entity Q11874
action find
entity Q3492489
relation P19
[ANSWER]
['Q3492489', 'P19', 'Q11874']
ASK WHERE { resource:Q3492489 property:P19 resource:Q11874 }
Yes
action is_in
entity Zvolen
action find
entity Martin Bartek
relation place of birth
['Martin Bartek', 'place of birth', 'Zvolen']
ASK WHERE { resource:Martin_Bartek property:place_of_birth resource:Zvolen }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16 Q503298
P530
Q15617994
USER
Does Maasen have diplomatic relationships with Canada ?
(Q16,P530,Q503298)
action is_in
entity Q503298
action find
entity Q16
relation P530
['Q16', 'P530', 'Q503298']
ASK WHERE { resource:Q16 property:P530 resource:Q503298 }
Canada Maasen
action is_in
entity Maasen
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'Maasen']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Maasen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q16,P530,Q503298)
action is_in
entity Q503298
action find
entity Q16
relation P530
[ANSWER]
['Q16', 'P530', 'Q503298']
ASK WHERE { resource:Q16 property:P530 resource:Q503298 }
No
action is_in
entity Maasen
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'Maasen']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Maasen }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3492489 Q11874
P19
Q56061
USER
Was Martin Bartek born in Zvolen ?
(Q3492489,P19,Q11874)
action is_in
entity Q11874
action find
entity Q3492489
relation P19
['Q3492489', 'P19', 'Q11874']
ASK WHERE { resource:Q3492489 property:P19 resource:Q11874 }
Martin Bartek Zvolen
action is_in
entity Zvolen
action find
entity Martin Bartek
relation place of birth
['Martin Bartek', 'place of birth', 'Zvolen']
ASK WHERE { resource:Martin_Bartek property:place_of_birth resource:Zvolen }
[]
administrative territorial entity
SYSTEM
YES
(Q3492489,P19,Q11874)
action is_in
entity Q11874
action find
entity Q3492489
relation P19
[ANSWER]
['Q3492489', 'P19', 'Q11874']
ASK WHERE { resource:Q3492489 property:P19 resource:Q11874 }
Yes
action is_in
entity Zvolen
action find
entity Martin Bartek
relation place of birth
['Martin Bartek', 'place of birth', 'Zvolen']
ASK WHERE { resource:Martin_Bartek property:place_of_birth resource:Zvolen }
[]