Simple Question (Direct)
Simple Question
Q4761082
P27
Q15617994
USER
Which administrative territory is Andy Mutch a civilian of ?
(Q4761082,P27,c(Q15617994))
action filter_type
action find
entity Q4761082
relation P27
type Q15617994
['Q4761082', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q4761082 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Andy Mutch
action filter_type
action find
entity Andy Mutch
relation country of citizenship
type designation for an administrative territorial entity
['Andy Mutch', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Andy_Mutch property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q4761082,P27,c(Q15617994))
action filter_type
action find
entity Q4761082
relation P27
type Q15617994
[ANSWER] is Andy Mutch a civilian of
['Q4761082', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q4761082 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is Andy Mutch a civilian of
United Kingdom
action filter_type
action find
entity Andy Mutch
relation country of citizenship
type designation for an administrative territorial entity
['Andy Mutch', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Andy_Mutch property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4761082
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q145,P19,c(Q56061))
action filter_type
action find
entity Q4761082
relation P19
type Q56061
['Q145', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q4761082 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Andy Mutch
action filter_type
action find
entity Andy Mutch
relation place of birth
type administrative territorial entity
['United Kingdom', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Andy_Mutch property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q24826
SYSTEM
Liverpool
Q24826
(Q145,P19,c(Q56061))
action filter_type
action find
entity Q4761082
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q145', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q4761082 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Liverpool
Liverpool is the place of birth of that person
Liverpool
action filter_type
action find
entity Andy Mutch
relation place of birth
type administrative territorial entity
['United Kingdom', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Andy_Mutch property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q24826 Q17279353
P19
Q502895
USER
Does Steve Holden have location of birth at that administrative territory ?
(Q17279353,P19,Q24826)
action is_in
entity Q24826
action find
entity Q17279353
relation P19
['Q17279353', 'P19', 'Q24826']
ASK WHERE { resource:Q17279353 property:P19 resource:Q24826 }
Liverpool Steve Holden
action is_in
entity Liverpool
action find
entity Steve Holden
relation place of birth
['Steve Holden', 'place of birth', 'Liverpool']
ASK WHERE { resource:Steve_Holden property:place_of_birth resource:Liverpool }
[]
common name
SYSTEM
YES
(Q17279353,P19,Q24826)
action is_in
entity Q24826
action find
entity Q17279353
relation P19
[ANSWER]
['Q17279353', 'P19', 'Q24826']
ASK WHERE { resource:Q17279353 property:P19 resource:Q24826 }
Yes
action is_in
entity Liverpool
action find
entity Steve Holden
relation place of birth
['Steve Holden', 'place of birth', 'Liverpool']
ASK WHERE { resource:Steve_Holden property:place_of_birth resource:Liverpool }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4761082 Q26692035
P106
Q12737077
USER
Is mayor of Gondomar the profession of Andy Mutch ?
(Q4761082,P106,Q26692035)
action is_in
entity Q26692035
action find
entity Q4761082
relation P106
['Q4761082', 'P106', 'Q26692035']
ASK WHERE { resource:Q4761082 property:P106 resource:Q26692035 }
Andy Mutch mayor of Gondomar
action is_in
entity mayor of Gondomar
action find
entity Andy Mutch
relation occupation
['Andy Mutch', 'occupation', 'mayor of Gondomar']
ASK WHERE { resource:Andy_Mutch property:occupation resource:mayor_of_Gondomar }
[]
occupation
SYSTEM
NO
(Q4761082,P106,Q26692035)
action is_in
entity Q26692035
action find
entity Q4761082
relation P106
[ANSWER]
['Q4761082', 'P106', 'Q26692035']
ASK WHERE { resource:Q4761082 property:P106 resource:Q26692035 }
No
action is_in
entity mayor of Gondomar
action find
entity Andy Mutch
relation occupation
['Andy Mutch', 'occupation', 'mayor of Gondomar']
ASK WHERE { resource:Andy_Mutch property:occupation resource:mayor_of_Gondomar }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q145 Q269412 Q5200890
P35
Q502895
USER
Does United Kingdom have George V and Cyril Stiles as its chief of state ?
(Q145,P35,Q269412) (Q145,P35,Q5200890)
action is_in
entity Q145
action intersection
action find_reverse
entity Q269412
relation P35
action find_reverse
entity Q5200890
relation P35
['Q145', 'P35', 'Q269412'] ['Q145', 'P35', 'Q5200890']
ASK WHERE { resource:Q145 property:P35 resource:Q269412 . resource:Q145 property:P35 resource:Q5200890 }
United Kingdom George V Cyril Stiles
action is_in
entity United Kingdom
action intersection
action find_reverse
entity George V
relation head of state
action find_reverse
entity Cyril Stiles
relation head of state
['United Kingdom', 'head of state', 'George V'] ['United Kingdom', 'head of state', 'Cyril Stiles']
ASK WHERE { resource:United_Kingdom property:head_of_state resource:George_V . resource:United_Kingdom property:head_of_state resource:Cyril_Stiles }
[]
common name
SYSTEM
YES and NO respectively
(Q145,P35,Q269412) (Q145,P35,Q5200890)
action is_in
entity Q145
action intersection
action find_reverse
entity Q269412
relation P35
action find_reverse
entity Q5200890
relation P35
[ANSWER]
['Q145', 'P35', 'Q269412'] ['Q145', 'P35', 'Q5200890']
ASK WHERE { resource:Q145 property:P35 resource:Q269412 . resource:Q145 property:P35 resource:Q5200890 }
YES and NO respectively
action is_in
entity United Kingdom
action intersection
action find_reverse
entity George V
relation head of state
action find_reverse
entity Cyril Stiles
relation head of state
['United Kingdom', 'head of state', 'George V'] ['United Kingdom', 'head of state', 'Cyril Stiles']
ASK WHERE { resource:United_Kingdom property:head_of_state resource:George_V . resource:United_Kingdom property:head_of_state resource:Cyril_Stiles }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q24826 Q6506 Q1874
P190
Q56061
USER
Is Liverpool sister town of Varna and Odessa ?
(Q24826,P190,Q6506) (Q24826,P190,Q1874)
action is_in
entity Q24826
action intersection
action find_reverse
entity Q6506
relation P190
action find_reverse
entity Q1874
relation P190
['Q24826', 'P190', 'Q6506'] ['Q24826', 'P190', 'Q1874']
ASK WHERE { resource:Q24826 property:P190 resource:Q6506 . resource:Q24826 property:P190 resource:Q1874 }
Liverpool Varna Odessa
action is_in
entity Liverpool
action intersection
action find_reverse
entity Varna
relation sister city
action find_reverse
entity Odessa
relation sister city
['Liverpool', 'sister city', 'Varna'] ['Liverpool', 'sister city', 'Odessa']
ASK WHERE { resource:Liverpool property:sister_city resource:Varna . resource:Liverpool property:sister_city resource:Odessa }
[]
administrative territorial entity
SYSTEM
YES
(Q24826,P190,Q6506) (Q24826,P190,Q1874)
action is_in
entity Q24826
action intersection
action find_reverse
entity Q6506
relation P190
action find_reverse
entity Q1874
relation P190
[ANSWER]
['Q24826', 'P190', 'Q6506'] ['Q24826', 'P190', 'Q1874']
ASK WHERE { resource:Q24826 property:P190 resource:Q6506 . resource:Q24826 property:P190 resource:Q1874 }
Yes
action is_in
entity Liverpool
action intersection
action find_reverse
entity Varna
relation sister city
action find_reverse
entity Odessa
relation sister city
['Liverpool', 'sister city', 'Varna'] ['Liverpool', 'sister city', 'Odessa']
ASK WHERE { resource:Liverpool property:sister_city resource:Varna . resource:Liverpool property:sister_city resource:Odessa }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q145 Q1919261
P530
Q1048835
USER
Does Ituero y Lama have diplomatic relationships with United Kingdom ?
(Q145,P530,Q1919261)
action is_in
entity Q1919261
action find
entity Q145
relation P530
['Q145', 'P530', 'Q1919261']
ASK WHERE { resource:Q145 property:P530 resource:Q1919261 }
United Kingdom Ituero y Lama
action is_in
entity Ituero y Lama
action find
entity United Kingdom
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Ituero y Lama']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Ituero_y_Lama }
[]
political territorial entity
SYSTEM
NO
(Q145,P530,Q1919261)
action is_in
entity Q1919261
action find
entity Q145
relation P530
[ANSWER]
['Q145', 'P530', 'Q1919261']
ASK WHERE { resource:Q145 property:P530 resource:Q1919261 }
No
action is_in
entity Ituero y Lama
action find
entity United Kingdom
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Ituero y Lama']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Ituero_y_Lama }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q24826 Q145
P17
Q15617994
USER
Is that administrative territory present in United Kingdom ?
(Q24826,P17,Q145)
action is_in
entity Q145
action find
entity Q24826
relation P17
['Q24826', 'P17', 'Q145']
ASK WHERE { resource:Q24826 property:P17 resource:Q145 }
Liverpool United Kingdom
action is_in
entity United Kingdom
action find
entity Liverpool
relation country
['Liverpool', 'country', 'United Kingdom']
ASK WHERE { resource:Liverpool property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q24826,P17,Q145)
action is_in
entity Q145
action find
entity Q24826
relation P17
[ANSWER]
['Q24826', 'P17', 'Q145']
ASK WHERE { resource:Q24826 property:P17 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Liverpool
relation country
['Liverpool', 'country', 'United Kingdom']
ASK WHERE { resource:Liverpool property:country resource:United_Kingdom }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4761082 Q5369
P641
Q349
USER
Did Andy Mutch participate in baseball ?
(Q4761082,P641,Q5369)
action is_in
entity Q5369
action find
entity Q4761082
relation P641
['Q4761082', 'P641', 'Q5369']
ASK WHERE { resource:Q4761082 property:P641 resource:Q5369 }
Andy Mutch baseball
action is_in
entity baseball
action find
entity Andy Mutch
relation sport
['Andy Mutch', 'sport', 'baseball']
ASK WHERE { resource:Andy_Mutch property:sport resource:baseball }
[]
sport
SYSTEM
NO
(Q4761082,P641,Q5369)
action is_in
entity Q5369
action find
entity Q4761082
relation P641
[ANSWER]
['Q4761082', 'P641', 'Q5369']
ASK WHERE { resource:Q4761082 property:P641 resource:Q5369 }
No
action is_in
entity baseball
action find
entity Andy Mutch
relation sport
['Andy Mutch', 'sport', 'baseball']
ASK WHERE { resource:Andy_Mutch property:sport resource:baseball }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q950889 Q4761082
P106 P1313
Q12737077
USER
Which occupations are the job of Andy Mutch or are fulfilled by Consell ?
OR((Q4761082,P106,c(Q12737077)), (Q950889,P1313,c(Q12737077)))
action filter_type
action union
action find
entity Q4761082
relation P106
action find
entity Q950889
relation P1313
type Q12737077
{'OR': [['Q4761082', 'P106', {'concept': 'Q12737077'}], ['Q950889', 'P1313', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q4761082 property:P106 ?u } UNION { resource:Q950889 property:P1313 ?u } } . ?u rdf:type ontology:Q12737077 }
Consell Andy Mutch
action filter_type
action union
action find
entity Andy Mutch
relation occupation
action find
entity Consell
relation office held by head of government
type occupation
{'OR': [['Andy Mutch', 'occupation', {'concept': 'occupation'}], ['Consell', 'office held by head of government', {'concept': 'occupation'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Andy_Mutch property:occupation ?u } UNION { resource:Consell property:office_held_by_head_of_government ?u } } . ?u rdf:type ontology:occupation }
[]
occupation
Q26701231 Q628099 Q937857
SYSTEM
mayor of Consell, association football manager, association football player
Q26701231 Q628099 Q937857
OR((Q4761082,P106,c(Q12737077)), (Q950889,P1313,c(Q12737077)))
action filter_type
action union
action find
entity Q4761082
relation P106
action find
entity Q950889
relation P1313
type Q12737077
The [ANSWERS] are the job of Andy Mutch or are fulfilled by Consell
{'OR': [['Q4761082', 'P106', {'concept': 'Q12737077'}], ['Q950889', 'P1313', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q4761082 property:P106 ?u } UNION { resource:Q950889 property:P1313 ?u } } . ?u rdf:type ontology:Q12737077 }
mayor of Consell association football manager association football player
The mayor of Consell, association football manager and association football player are the job of Andy Mutch or are fulfilled by Consell
mayor of Consell association football manager association football player
action filter_type
action union
action find
entity Andy Mutch
relation occupation
action find
entity Consell
relation office held by head of government
type occupation
{'OR': [['Andy Mutch', 'occupation', {'concept': 'occupation'}], ['Consell', 'office held by head of government', {'concept': 'occupation'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Andy_Mutch property:occupation ?u } UNION { resource:Consell property:office_held_by_head_of_government ?u } } . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24826
P291
Q571
USER
Which books have Liverpool as their release location ?
(c(Q571),P291,Q24826)
action filter_type
action find_reverse
entity Q24826
relation P291
type Q571
[{'concept': 'Q571'}, 'P291', 'Q24826']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q571 . ?l property:P291 resource:Q24826 }
Liverpool
action filter_type
action find_reverse
entity Liverpool
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', 'Liverpool']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:book . ?l property:place_of_publication resource:Liverpool }
[]
book
Q24747339 Q22668352
SYSTEM
The Time Machines (first paperback edition), The Education and Employment of Women
Q24747339 Q22668352
(c(Q571),P291,Q24826)
action filter_type
action find_reverse
entity Q24826
relation P291
type Q571
[ANSWERS] have Liverpool as their release location
[{'concept': 'Q571'}, 'P291', 'Q24826']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q571 . ?l property:P291 resource:Q24826 }
The Time Machines (first paperback edition) The Education and Employment of Women
The Time Machines (first paperback edition) and The Education and Employment of Women have Liverpool as their release location
The Time Machines (first paperback edition) The Education and Employment of Women
action filter_type
action find_reverse
entity Liverpool
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', 'Liverpool']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:book . ?l property:place_of_publication resource:Liverpool }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q24747339 Q22668352
P291
Q56061
USER
Where were those books published ?
(Q24747339,P291,c(Q56061)) (Q22668352,P291,c(Q56061))
action filter_type
action find
entity prev_answer
relation P291
type Q56061
['Q24747339', 'P291', {'concept': 'Q56061'}] ['Q22668352', 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?w property:P291 ?z . ?z rdf:type ontology:Q56061 . VALUES ( ?w ) { ( resource:Q24747339 ) ( resource:Q22668352 ) } }
The Time Machines (first paperback edition) The Education and Employment of Women
action filter_type
action find
entity prev_answer
relation place of publication
type administrative territorial entity
['The Time Machines (first paperback edition)', 'place of publication', {'concept': 'administrative territorial entity'}] ['The Education and Employment of Women', 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?w property:place_of_publication ?z . ?z rdf:type ontology:administrative_territorial_entity . VALUES ( ?w ) { ( resource:The_Time_Machines_(first_paperback_edition) ) ( resource:The_Education_and_Employment_of_Women ) } }
[]
administrative territorial entity
Q24826 Q24826
SYSTEM
Liverpool
Q24826 Q24826
(Q24747339,P291,c(Q56061)) (Q22668352,P291,c(Q56061))
action filter_type
action find
entity prev_answer
relation P291
type Q56061
Those books published in [ANSWER] and [ANSWER] were
['Q24747339', 'P291', {'concept': 'Q56061'}] ['Q22668352', 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?w property:P291 ?z . ?z rdf:type ontology:Q56061 . VALUES ( ?w ) { ( resource:Q24747339 ) ( resource:Q22668352 ) } }
Liverpool Liverpool
Those books published in Liverpool and Liverpool were
Liverpool Liverpool
action filter_type
action find
entity prev_answer
relation place of publication
type administrative territorial entity
['The Time Machines (first paperback edition)', 'place of publication', {'concept': 'administrative territorial entity'}] ['The Education and Employment of Women', 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?w property:place_of_publication ?z . ?z rdf:type ontology:administrative_territorial_entity . VALUES ( ?w ) { ( resource:The_Time_Machines_(first_paperback_edition) ) ( resource:The_Education_and_Employment_of_Women ) } }
[]