Simple Question (Direct)
Simple Question
Q6832340
P27
Q1048835
USER
Which political territory is Michael Luchkovich a civilian of ?
(Q6832340,P27,c(Q1048835))
action filter_type
action find
entity Q6832340
relation P27
type Q1048835
['Q6832340', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q6832340 property:P27 ?x . ?x rdf:type ontology:Q1048835 }
Michael Luchkovich
action filter_type
action find
entity Michael Luchkovich
relation country of citizenship
type political territorial entity
['Michael Luchkovich', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Michael_Luchkovich property:country_of_citizenship ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q6832340,P27,c(Q1048835))
action filter_type
action find
entity Q6832340
relation P27
type Q1048835
[ANSWER] is Michael Luchkovich a civilian of
['Q6832340', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q6832340 property:P27 ?x . ?x rdf:type ontology:Q1048835 }
Canada
Canada is Michael Luchkovich a civilian of
Canada
action filter_type
action find
entity Michael Luchkovich
relation country of citizenship
type political territorial entity
['Michael Luchkovich', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Michael_Luchkovich property:country_of_citizenship ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6832340
P102
Q7210356
USER
Which party is Michael Luchkovich affiliated with ?
(Q6832340,P102,c(Q7210356))
action filter_type
action find
entity Q6832340
relation P102
type Q7210356
['Q6832340', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q6832340 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Michael Luchkovich
action filter_type
action find
entity Michael Luchkovich
relation member of political party
type political organization
['Michael Luchkovich', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Michael_Luchkovich property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
political organization
Q1809831
SYSTEM
United Farmers of Alberta
Q1809831
(Q6832340,P102,c(Q7210356))
action filter_type
action find
entity Q6832340
relation P102
type Q7210356
Michael Luchkovich is affiliated with [ANSWER]
['Q6832340', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q6832340 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
United Farmers of Alberta
Michael Luchkovich is affiliated with United Farmers of Alberta
United Farmers of Alberta
action filter_type
action find
entity Michael Luchkovich
relation member of political party
type political organization
['Michael Luchkovich', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Michael_Luchkovich property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2572999
Q7210356
USER
And how about Wilhelm Hamkens?
(Q2572999,P102,c(Q7210356))
action filter_type
action find
entity Q2572999
relation P102
type Q7210356
['Q2572999', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { resource:Q2572999 property:P102 ?o . ?o rdf:type ontology:Q7210356 }
Wilhelm Hamkens
action filter_type
action find
entity Wilhelm Hamkens
relation member of political party
type political organization
['Wilhelm Hamkens', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { resource:Wilhelm_Hamkens property:member_of_political_party ?o . ?o rdf:type ontology:political_organization }
[]
political organization
Q7320
SYSTEM
Nazi Party
Q7320
(Q2572999,P102,c(Q7210356))
action filter_type
action find
entity Q2572999
relation P102
type Q7210356
[ANSWER]
['Q2572999', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { resource:Q2572999 property:P102 ?o . ?o rdf:type ontology:Q7210356 }
Nazi Party
Nazi Party
action filter_type
action find
entity Wilhelm Hamkens
relation member of political party
type political organization
['Wilhelm Hamkens', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { resource:Wilhelm_Hamkens property:member_of_political_party ?o . ?o rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2572999
P20
Q56061
USER
Where did the expiration of that person occur ?
(Q7320,P20,c(Q56061))
action filter_type
action find
entity Q2572999
relation P20
type Q56061
['Q7320', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q2572999 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Wilhelm Hamkens
action filter_type
action find
entity Wilhelm Hamkens
relation place of death
type administrative territorial entity
['Nazi Party', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Wilhelm_Hamkens property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q21159
SYSTEM
Husum
Q21159
(Q7320,P20,c(Q56061))
action filter_type
action find
entity Q2572999
relation P20
type Q56061
The expiration of that person occurred in [ANSWER]
['Q7320', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q2572999 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Husum
The expiration of that person occurred in Husum
Husum
action filter_type
action find
entity Wilhelm Hamkens
relation place of death
type administrative territorial entity
['Nazi Party', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Wilhelm_Hamkens property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q21159 Q18658545
P19
Q502895
USER
Does Frank Jacobsen have birthplace at that administrative territory ?
(Q18658545,P19,Q21159)
action is_in
entity Q21159
action find
entity Q18658545
relation P19
['Q18658545', 'P19', 'Q21159']
ASK WHERE { resource:Q18658545 property:P19 resource:Q21159 }
Husum Frank Jacobsen
action is_in
entity Husum
action find
entity Frank Jacobsen
relation place of birth
['Frank Jacobsen', 'place of birth', 'Husum']
ASK WHERE { resource:Frank_Jacobsen property:place_of_birth resource:Husum }
[]
common name
SYSTEM
YES
(Q18658545,P19,Q21159)
action is_in
entity Q21159
action find
entity Q18658545
relation P19
[ANSWER]
['Q18658545', 'P19', 'Q21159']
ASK WHERE { resource:Q18658545 property:P19 resource:Q21159 }
Yes
action is_in
entity Husum
action find
entity Frank Jacobsen
relation place of birth
['Frank Jacobsen', 'place of birth', 'Husum']
ASK WHERE { resource:Frank_Jacobsen property:place_of_birth resource:Husum }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q16 Q433375 Q5641378
P530
Q15617994
USER
Does Canada have ambassadorial relations with Alt Tellin and Hale Center Independent School District ?
(Q16,P530,Q433375) (Q16,P530,Q5641378)
action is_in
entity Q16
action intersection
action find_reverse
entity Q433375
relation P530
action find_reverse
entity Q5641378
relation P530
['Q16', 'P530', 'Q433375'] ['Q16', 'P530', 'Q5641378']
ASK WHERE { resource:Q16 property:P530 resource:Q5641378 . resource:Q16 property:P530 resource:Q433375 }
Canada Alt Tellin Hale Center Independent School District
action is_in
entity Canada
action intersection
action find_reverse
entity Alt Tellin
relation diplomatic relation
action find_reverse
entity Hale Center Independent School District
relation diplomatic relation
['Canada', 'diplomatic relation', 'Alt Tellin'] ['Canada', 'diplomatic relation', 'Hale Center Independent School District']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Hale_Center_Independent_School_District . resource:Canada property:diplomatic_relation resource:Alt_Tellin }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q16,P530,Q433375) (Q16,P530,Q5641378)
action is_in
entity Q16
action intersection
action find_reverse
entity Q433375
relation P530
action find_reverse
entity Q5641378
relation P530
[ANSWER]
['Q16', 'P530', 'Q433375'] ['Q16', 'P530', 'Q5641378']
ASK WHERE { resource:Q16 property:P530 resource:Q5641378 . resource:Q16 property:P530 resource:Q433375 }
No
action is_in
entity Canada
action intersection
action find_reverse
entity Alt Tellin
relation diplomatic relation
action find_reverse
entity Hale Center Independent School District
relation diplomatic relation
['Canada', 'diplomatic relation', 'Alt Tellin'] ['Canada', 'diplomatic relation', 'Hale Center Independent School District']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Hale_Center_Independent_School_District . resource:Canada property:diplomatic_relation resource:Alt_Tellin }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6464373 Q16
P47 P17
Q486972
USER
Which human settlements are present in Canada and are bordered by La Perle, Edmonton ?
AND((c(Q486972),P17,Q16), (c(Q486972),P47,Q6464373))
action filter_type
action intersection
action find_reverse
entity Q16
relation P17
action find_reverse
entity Q6464373
relation P47
type Q486972
{'AND': [[{'concept': 'Q486972'}, 'P17', 'Q16'], [{'concept': 'Q486972'}, 'P47', 'Q6464373']]}
SELECT DISTINCT ?n WHERE { ?n property:P17 resource:Q16 . ?n property:P47 resource:Q6464373 . ?n rdf:type ontology:Q486972 }
La Perle, Edmonton Canada
action filter_type
action intersection
action find_reverse
entity Canada
relation country
action find_reverse
entity La Perle, Edmonton
relation shares border with
type human settlement
{'AND': [[{'concept': 'human settlement'}, 'country', 'Canada'], [{'concept': 'human settlement'}, 'shares border with', 'La Perle, Edmonton']]}
SELECT DISTINCT ?n WHERE { ?n property:country resource:Canada . ?n property:shares_border_with resource:La_Perle,_Edmonton . ?n rdf:type ontology:human_settlement }
[]
human settlement
Q7703104
SYSTEM
Terra Losa, Edmonton
Q7703104
AND((c(Q486972),P17,Q16), (c(Q486972),P47,Q6464373))
action filter_type
action intersection
action find_reverse
entity Q16
relation P17
action find_reverse
entity Q6464373
relation P47
type Q486972
[ANSWER] is present in Canada and is bordered by La Perle, Edmonton
{'AND': [[{'concept': 'Q486972'}, 'P17', 'Q16'], [{'concept': 'Q486972'}, 'P47', 'Q6464373']]}
SELECT DISTINCT ?n WHERE { ?n property:P17 resource:Q16 . ?n property:P47 resource:Q6464373 . ?n rdf:type ontology:Q486972 }
Terra Losa, Edmonton
Terra Losa, Edmonton is present in Canada and is bordered by La Perle, Edmonton
Terra Losa, Edmonton
action filter_type
action intersection
action find_reverse
entity Canada
relation country
action find_reverse
entity La Perle, Edmonton
relation shares border with
type human settlement
{'AND': [[{'concept': 'human settlement'}, 'country', 'Canada'], [{'concept': 'human settlement'}, 'shares border with', 'La Perle, Edmonton']]}
SELECT DISTINCT ?n WHERE { ?n property:country resource:Canada . ?n property:shares_border_with resource:La_Perle,_Edmonton . ?n rdf:type ontology:human_settlement }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q7703104 Q52450 Q16
P17
Q1048835
USER
Is that human settlement present in Ivanivka and Canada ?
(Q7703104,P17,Q52450) (Q7703104,P17,Q16)
action is_in
entity Q7703104
action intersection
action find_reverse
entity Q52450
relation P17
action find_reverse
entity Q16
relation P17
['Q7703104', 'P17', 'Q52450'] ['Q7703104', 'P17', 'Q16']
ASK WHERE { resource:Q7703104 property:P17 resource:Q52450 . resource:Q7703104 property:P17 resource:Q16 }
Terra Losa, Edmonton Ivanivka Canada
action is_in
entity Terra Losa, Edmonton
action intersection
action find_reverse
entity Ivanivka
relation country
action find_reverse
entity Canada
relation country
['Terra Losa, Edmonton', 'country', 'Ivanivka'] ['Terra Losa, Edmonton', 'country', 'Canada']
ASK WHERE { resource:Terra_Losa,_Edmonton property:country resource:Ivanivka . resource:Terra_Losa,_Edmonton property:country resource:Canada }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q7703104,P17,Q52450) (Q7703104,P17,Q16)
action is_in
entity Q7703104
action intersection
action find_reverse
entity Q52450
relation P17
action find_reverse
entity Q16
relation P17
[ANSWER]
['Q7703104', 'P17', 'Q52450'] ['Q7703104', 'P17', 'Q16']
ASK WHERE { resource:Q7703104 property:P17 resource:Q52450 . resource:Q7703104 property:P17 resource:Q16 }
NO and YES respectively
action is_in
entity Terra Losa, Edmonton
action intersection
action find_reverse
entity Ivanivka
relation country
action find_reverse
entity Canada
relation country
['Terra Losa, Edmonton', 'country', 'Ivanivka'] ['Terra Losa, Edmonton', 'country', 'Canada']
ASK WHERE { resource:Terra_Losa,_Edmonton property:country resource:Ivanivka . resource:Terra_Losa,_Edmonton property:country resource:Canada }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q16 Q664 Q35
P530
Q1048835
USER
Does Canada have ambassadorial relations with New Zealand and Denmark ?
(Q16,P530,Q664) (Q16,P530,Q35)
action is_in
entity Q16
action intersection
action find_reverse
entity Q664
relation P530
action find_reverse
entity Q35
relation P530
['Q16', 'P530', 'Q664'] ['Q16', 'P530', 'Q35']
ASK WHERE { resource:Q16 property:P530 resource:Q664 . resource:Q16 property:P530 resource:Q35 }
Canada New Zealand Denmark
action is_in
entity Canada
action intersection
action find_reverse
entity New Zealand
relation diplomatic relation
action find_reverse
entity Denmark
relation diplomatic relation
['Canada', 'diplomatic relation', 'New Zealand'] ['Canada', 'diplomatic relation', 'Denmark']
ASK WHERE { resource:Canada property:diplomatic_relation resource:New_Zealand . resource:Canada property:diplomatic_relation resource:Denmark }
[]
political territorial entity
SYSTEM
YES
(Q16,P530,Q664) (Q16,P530,Q35)
action is_in
entity Q16
action intersection
action find_reverse
entity Q664
relation P530
action find_reverse
entity Q35
relation P530
[ANSWER]
['Q16', 'P530', 'Q664'] ['Q16', 'P530', 'Q35']
ASK WHERE { resource:Q16 property:P530 resource:Q664 . resource:Q16 property:P530 resource:Q35 }
Yes
action is_in
entity Canada
action intersection
action find_reverse
entity New Zealand
relation diplomatic relation
action find_reverse
entity Denmark
relation diplomatic relation
['Canada', 'diplomatic relation', 'New Zealand'] ['Canada', 'diplomatic relation', 'Denmark']
ASK WHERE { resource:Canada property:diplomatic_relation resource:New_Zealand . resource:Canada property:diplomatic_relation resource:Denmark }
[]