Simple Question (Direct)
Simple Question
Q7307727
P106
Q12737077
USER
Which occupation has Reg Baines as his/her 's career ?
(Q7307727,P106,c(Q12737077))
action filter_type
action find
entity Q7307727
relation P106
type Q12737077
['Q7307727', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q7307727 property:P106 ?e }
Reg Baines
action filter_type
action find
entity Reg Baines
relation occupation
type occupation
['Reg Baines', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Reg_Baines property:occupation ?e }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q7307727,P106,c(Q12737077))
action filter_type
action find
entity Q7307727
relation P106
type Q12737077
Player [ANSWER] has Reg Baines as his/her 's career
['Q7307727', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q7307727 property:P106 ?e }
association football player
Player association football player has Reg Baines as his/her 's career
association football player
action filter_type
action find
entity Reg Baines
relation occupation
type occupation
['Reg Baines', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Reg_Baines property:occupation ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7307727
P641
Q349
USER
What did that person participate in ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q7307727
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q7307727 property:P641 ?c . ?c rdf:type ontology:Q349 }
Reg Baines
action filter_type
action find
entity Reg Baines
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Reg_Baines property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q7307727
relation P641
type Q349
That person participated in [ANSWER]
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q7307727 property:P641 ?c . ?c rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Reg Baines
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Reg_Baines property:sport ?c . ?c rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7307727
P20
Q56061
USER
Which administrative territory is the place of death of that person ?
(Q2736,P20,c(Q56061))
action filter_type
action find
entity Q7307727
relation P20
type Q56061
['Q2736', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q7307727 property:P20 ?a . ?a rdf:type ontology:Q56061 }
Reg Baines
action filter_type
action find
entity Reg Baines
relation place of death
type administrative territorial entity
['association football', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Reg_Baines property:place_of_death ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q33935
SYSTEM
Tel Aviv
Q33935
(Q2736,P20,c(Q56061))
action filter_type
action find
entity Q7307727
relation P20
type Q56061
[ANSWER] is the place of death of that person
['Q2736', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q7307727 property:P20 ?a . ?a rdf:type ontology:Q56061 }
Tel Aviv
Tel Aviv is the place of death of that person
Tel Aviv
action filter_type
action find
entity Reg Baines
relation place of death
type administrative territorial entity
['association football', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Reg_Baines property:place_of_death ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q33935 Q185632 Q1781
P190
Q56061
USER
Is that administrative territory a sister city of Limassol and Budapest ?
(Q33935,P190,Q185632) (Q33935,P190,Q1781)
action is_in
entity Q33935
action intersection
action find_reverse
entity Q185632
relation P190
action find_reverse
entity Q1781
relation P190
['Q33935', 'P190', 'Q185632'] ['Q33935', 'P190', 'Q1781']
ASK WHERE { resource:Q33935 property:P190 resource:Q185632 . resource:Q33935 property:P190 resource:Q1781 }
Tel Aviv Limassol Budapest
action is_in
entity Tel Aviv
action intersection
action find_reverse
entity Limassol
relation sister city
action find_reverse
entity Budapest
relation sister city
['Tel Aviv', 'sister city', 'Limassol'] ['Tel Aviv', 'sister city', 'Budapest']
ASK WHERE { resource:Tel_Aviv property:sister_city resource:Limassol . resource:Tel_Aviv property:sister_city resource:Budapest }
[]
administrative territorial entity
SYSTEM
YES
(Q33935,P190,Q185632) (Q33935,P190,Q1781)
action is_in
entity Q33935
action intersection
action find_reverse
entity Q185632
relation P190
action find_reverse
entity Q1781
relation P190
[ANSWER]
['Q33935', 'P190', 'Q185632'] ['Q33935', 'P190', 'Q1781']
ASK WHERE { resource:Q33935 property:P190 resource:Q185632 . resource:Q33935 property:P190 resource:Q1781 }
Yes
action is_in
entity Tel Aviv
action intersection
action find_reverse
entity Limassol
relation sister city
action find_reverse
entity Budapest
relation sister city
['Tel Aviv', 'sister city', 'Limassol'] ['Tel Aviv', 'sister city', 'Budapest']
ASK WHERE { resource:Tel_Aviv property:sister_city resource:Limassol . resource:Tel_Aviv property:sister_city resource:Budapest }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7307727
P27
Q15617994
USER
Which administrative territory is Reg Baines a civilian of ?
(Q7307727,P27,c(Q15617994))
action filter_type
action find
entity Q7307727
relation P27
type Q15617994
['Q7307727', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q7307727 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Reg Baines
action filter_type
action find
entity Reg Baines
relation country of citizenship
type designation for an administrative territorial entity
['Reg Baines', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Reg_Baines property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q7307727,P27,c(Q15617994))
action filter_type
action find
entity Q7307727
relation P27
type Q15617994
[ANSWER] is Reg Baines a civilian of
['Q7307727', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q7307727 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is Reg Baines a civilian of
United Kingdom
action filter_type
action find
entity Reg Baines
relation country of citizenship
type designation for an administrative territorial entity
['Reg Baines', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Reg_Baines property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q5886601 Q7307727
P27
Q15617994
USER
Or Johan Johansson i Stockholm?
OR((Q7307727,P27,c(Q15617994)), (Q5886601,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7307727
relation P27
action find
entity Q5886601
relation P27
type Q15617994
{'OR': [['Q7307727', 'P27', {'concept': 'Q15617994'}], ['Q5886601', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q7307727 property:P27 ?d } UNION { resource:Q5886601 property:P27 ?d } } . ?d rdf:type ontology:Q15617994 }
Johan Johansson i Stockholm Reg Baines
action filter_type
action union
action find
entity Reg Baines
relation country of citizenship
action find
entity Johan Johansson i Stockholm
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Reg Baines', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Johan Johansson i Stockholm', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Reg_Baines property:country_of_citizenship ?d } UNION { resource:Johan_Johansson_i_Stockholm property:country_of_citizenship ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145 Q34
SYSTEM
United Kingdom, Sweden
Q145 Q34
OR((Q7307727,P27,c(Q15617994)), (Q5886601,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7307727
relation P27
action find
entity Q5886601
relation P27
type Q15617994
Stockholm i the [ANSWERS] Or Johan Johansson
{'OR': [['Q7307727', 'P27', {'concept': 'Q15617994'}], ['Q5886601', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q7307727 property:P27 ?d } UNION { resource:Q5886601 property:P27 ?d } } . ?d rdf:type ontology:Q15617994 }
United Kingdom Sweden
Stockholm i the United Kingdom and Sweden Or Johan Johansson
United Kingdom Sweden
action filter_type
action union
action find
entity Reg Baines
relation country of citizenship
action find
entity Johan Johansson i Stockholm
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Reg Baines', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Johan Johansson i Stockholm', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Reg_Baines property:country_of_citizenship ?d } UNION { resource:Johan_Johansson_i_Stockholm property:country_of_citizenship ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q145 Q34
P35
Q502895
USER
Who are the chiefs of state of those administrative territories ?
(Q145,P35,c(Q502895)) (Q34,P35,c(Q502895))
action filter_type
action find
entity prev_answer
relation P35
type Q502895
['Q145', 'P35', {'concept': 'Q502895'}] ['Q34', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?c property:P35 ?p . VALUES ( ?c ) { ( resource:Q145 ) ( resource:Q34 ) } . ?p rdf:type ontology:Q502895 }
United Kingdom Sweden
action filter_type
action find
entity prev_answer
relation head of state
type common name
['United Kingdom', 'head of state', {'concept': 'common name'}] ['Sweden', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?c property:head_of_state ?p . VALUES ( ?c ) { ( resource:United_Kingdom ) ( resource:Sweden ) } . ?p rdf:type ontology:common_name }
[]
common name
Q9682 Q280856 Q269412
SYSTEM
Elizabeth II, George VI, George V
Q590227 Q269412 Q280856 Q9682 Q52878 Q52890 Q45068 Q52925 Q52924 Q52927 Q52926
(Q145,P35,c(Q502895)) (Q34,P35,c(Q502895))
action filter_type
action find
entity prev_answer
relation P35
type Q502895
The chiefs of state of those administrative territories are Queen [ANSWERS]
['Q145', 'P35', {'concept': 'Q502895'}] ['Q34', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?c property:P35 ?p . VALUES ( ?c ) { ( resource:Q145 ) ( resource:Q34 ) } . ?p rdf:type ontology:Q502895 }
Edward VIII George V George VI Elizabeth II Gustaf VI Adolf of Sweden Gustaf V of Sweden Carl XVI Gustaf of Sweden Charles XV of Sweden Oscar II of Sweden Charles XIV John of Sweden Oscar I of Sweden
The chiefs of state of those administrative territories are Queen Elizabeth II, George VI and George V
Elizabeth II George VI George V
action filter_type
action find
entity prev_answer
relation head of state
type common name
['United Kingdom', 'head of state', {'concept': 'common name'}] ['Sweden', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?c property:head_of_state ?p . VALUES ( ?c ) { ( resource:United_Kingdom ) ( resource:Sweden ) } . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q9682 Q280856 Q269412
P27
Q15617994
USER
Which administrative territories are those people a civilian of ?
(Q9682,P27,c(Q15617994)) (Q280856,P27,c(Q15617994)) (Q269412,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
['Q9682', 'P27', {'concept': 'Q15617994'}] ['Q280856', 'P27', {'concept': 'Q15617994'}] ['Q269412', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?e ) { ( resource:Q590227 ) ( resource:Q269412 ) ( resource:Q280856 ) } . ?j rdf:type ontology:Q15617994 . ?e property:P27 ?j }
Elizabeth II George VI George V
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Elizabeth II', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['George VI', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['George V', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?e ) { ( resource:Edward_VIII ) ( resource:George_V ) ( resource:George_VI ) } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:country_of_citizenship ?j }
[]
designation for an administrative territorial entity
Q145 Q145 Q145
SYSTEM
United Kingdom
Q145 Q145 Q145
(Q9682,P27,c(Q15617994)) (Q280856,P27,c(Q15617994)) (Q269412,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
Which administrative territories are those people a civilian of
['Q9682', 'P27', {'concept': 'Q15617994'}] ['Q280856', 'P27', {'concept': 'Q15617994'}] ['Q269412', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?e ) { ( resource:Q590227 ) ( resource:Q269412 ) ( resource:Q280856 ) } . ?j rdf:type ontology:Q15617994 . ?e property:P27 ?j }
United Kingdom United Kingdom United Kingdom
Which administrative territories are those people a civilian of
United Kingdom United Kingdom United Kingdom
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Elizabeth II', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['George VI', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['George V', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?e ) { ( resource:Edward_VIII ) ( resource:George_V ) ( resource:George_VI ) } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:country_of_citizenship ?j }
[]