Simple Question (Direct)
Simple Question
Q2967649
P106
Q12737077
USER
What do Chungsen Leung do for a living ?
(Q2967649,P106,c(Q12737077))
action filter_type
action find
entity Q2967649
relation P106
type Q12737077
['Q2967649', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q2967649 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Chungsen Leung
action filter_type
action find
entity Chungsen Leung
relation occupation
type occupation
['Chungsen Leung', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Chungsen_Leung property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q82955 Q43845
SYSTEM
politician, businessperson
Q82955 Q43845
(Q2967649,P106,c(Q12737077))
action filter_type
action find
entity Q2967649
relation P106
type Q12737077
[ANSWERS] Chungsen Leung do for a living
['Q2967649', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q2967649 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
politician businessperson
Politician and businessperson Chungsen Leung do for a living
politician businessperson
action filter_type
action find
entity Chungsen Leung
relation occupation
type occupation
['Chungsen Leung', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Chungsen_Leung property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2967649
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q82955,P19,c(Q56061)) (Q43845,P19,c(Q56061))
action filter_type
action find
entity Q2967649
relation P19
type Q56061
['Q82955', 'P19', {'concept': 'Q56061'}] ['Q43845', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q2967649 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Chungsen Leung
action filter_type
action find
entity Chungsen Leung
relation place of birth
type administrative territorial entity
['politician', 'place of birth', {'concept': 'administrative territorial entity'}] ['businessperson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Chungsen_Leung property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q172
SYSTEM
Toronto
Q172
(Q82955,P19,c(Q56061)) (Q43845,P19,c(Q56061))
action filter_type
action find
entity Q2967649
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q82955', 'P19', {'concept': 'Q56061'}] ['Q43845', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q2967649 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Toronto
Toronto is the birthplace of that person
Toronto
action filter_type
action find
entity Chungsen Leung
relation place of birth
type administrative territorial entity
['politician', 'place of birth', {'concept': 'administrative territorial entity'}] ['businessperson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Chungsen_Leung property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q172 Q738383 Q1297
P190
Q56061
USER
Is that administrative territory twin town of Bârsău Mare and Chicago ?
(Q172,P190,Q738383) (Q172,P190,Q1297)
action is_in
entity Q172
action intersection
action find_reverse
entity Q738383
relation P190
action find_reverse
entity Q1297
relation P190
['Q172', 'P190', 'Q738383'] ['Q172', 'P190', 'Q1297']
ASK WHERE { resource:Q172 property:P190 resource:Q738383 . resource:Q172 property:P190 resource:Q1297 }
Toronto Bârsău Mare Chicago
action is_in
entity Toronto
action intersection
action find_reverse
entity Bârsău Mare
relation sister city
action find_reverse
entity Chicago
relation sister city
['Toronto', 'sister city', 'Bârsău Mare'] ['Toronto', 'sister city', 'Chicago']
ASK WHERE { resource:Toronto property:sister_city resource:Bârsău_Mare . resource:Toronto property:sister_city resource:Chicago }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q172,P190,Q738383) (Q172,P190,Q1297)
action is_in
entity Q172
action intersection
action find_reverse
entity Q738383
relation P190
action find_reverse
entity Q1297
relation P190
[ANSWER]
['Q172', 'P190', 'Q738383'] ['Q172', 'P190', 'Q1297']
ASK WHERE { resource:Q172 property:P190 resource:Q738383 . resource:Q172 property:P190 resource:Q1297 }
NO and YES respectively
action is_in
entity Toronto
action intersection
action find_reverse
entity Bârsău Mare
relation sister city
action find_reverse
entity Chicago
relation sister city
['Toronto', 'sister city', 'Bârsău Mare'] ['Toronto', 'sister city', 'Chicago']
ASK WHERE { resource:Toronto property:sister_city resource:Bârsău_Mare . resource:Toronto property:sister_city resource:Chicago }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q172
P206
Q337567
USER
Which still waters is situated nearby Toronto ?
action filter_type
action find
entity Q172
relation P206
type Q337567
SELECT DISTINCT ?w WHERE { resource:Q172 property:P206 ?w . ?w rdf:type ontology:Q337567 }
Toronto
action filter_type
action find
entity Toronto
relation located next to body of water
type still waters
SELECT DISTINCT ?w WHERE { resource:Toronto property:located_next_to_body_of_water ?w . ?w rdf:type ontology:still_waters }
[]
still waters
Q1062
SYSTEM
Lake Ontario
Q1062
action filter_type
action find
entity Q172
relation P206
type Q337567
Toronto [ANSWER] is situated nearby Toronto
SELECT DISTINCT ?w WHERE { resource:Q172 property:P206 ?w . ?w rdf:type ontology:Q337567 }
Lake Ontario
Toronto Lake Ontario is situated nearby Toronto
Lake Ontario
action filter_type
action find
entity Toronto
relation located next to body of water
type still waters
SELECT DISTINCT ?w WHERE { resource:Toronto property:located_next_to_body_of_water ?w . ?w rdf:type ontology:still_waters }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1062 Q16 Q609297
P17
Q1048835
USER
Is that still waters present in Canada and Buenache de la Sierra ?
(Q1062,P17,Q16) (Q1062,P17,Q609297)
action is_in
entity Q1062
action intersection
action find_reverse
entity Q16
relation P17
action find_reverse
entity Q609297
relation P17
['Q1062', 'P17', 'Q16'] ['Q1062', 'P17', 'Q609297']
ASK WHERE { resource:Q1062 property:P17 resource:Q16 . resource:Q1062 property:P17 resource:Q609297 }
Lake Ontario Canada Buenache de la Sierra
action is_in
entity Lake Ontario
action intersection
action find_reverse
entity Canada
relation country
action find_reverse
entity Buenache de la Sierra
relation country
['Lake Ontario', 'country', 'Canada'] ['Lake Ontario', 'country', 'Buenache de la Sierra']
ASK WHERE { resource:Lake_Ontario property:country resource:Canada . resource:Lake_Ontario property:country resource:Buenache_de_la_Sierra }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q1062,P17,Q16) (Q1062,P17,Q609297)
action is_in
entity Q1062
action intersection
action find_reverse
entity Q16
relation P17
action find_reverse
entity Q609297
relation P17
[ANSWER]
['Q1062', 'P17', 'Q16'] ['Q1062', 'P17', 'Q609297']
ASK WHERE { resource:Q1062 property:P17 resource:Q16 . resource:Q1062 property:P17 resource:Q609297 }
YES and NO respectively
action is_in
entity Lake Ontario
action intersection
action find_reverse
entity Canada
relation country
action find_reverse
entity Buenache de la Sierra
relation country
['Lake Ontario', 'country', 'Canada'] ['Lake Ontario', 'country', 'Buenache de la Sierra']
ASK WHERE { resource:Lake_Ontario property:country resource:Canada . resource:Lake_Ontario property:country resource:Buenache_de_la_Sierra }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1062
P47
Q56061
USER
Which administrative territory is adjacent to that still waters ?
action filter_type
action find
entity Q1062
relation P47
type Q56061
SELECT DISTINCT ?m WHERE { resource:Q1062 property:P47 ?m . ?m rdf:type ontology:Q56061 }
Lake Ontario
action filter_type
action find
entity Lake Ontario
relation shares border with
type administrative territorial entity
SELECT DISTINCT ?m WHERE { resource:Lake_Ontario property:shares_border_with ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q126805
SYSTEM
St. Catharines
Q126805
action filter_type
action find
entity Q1062
relation P47
type Q56061
[ANSWER] is adjacent to that still waters
SELECT DISTINCT ?m WHERE { resource:Q1062 property:P47 ?m . ?m rdf:type ontology:Q56061 }
St. Catharines
St. Catharines is adjacent to that still waters
St. Catharines
action filter_type
action find
entity Lake Ontario
relation shares border with
type administrative territorial entity
SELECT DISTINCT ?m WHERE { resource:Lake_Ontario property:shares_border_with ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19340751 Q1062
P47 P276
Q56061
USER
Which administrative territories are adjacent to Lake Ontario or are the place where Mechtildisstraat are located ?
OR((Q1062,P47,c(Q56061)), (Q19340751,P276,c(Q56061)))
action filter_type
action union
action find
entity Q1062
relation P47
action find
entity Q19340751
relation P276
type Q56061
{'OR': [['Q1062', 'P47', {'concept': 'Q56061'}], ['Q19340751', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . { { resource:Q19340751 property:P276 ?r } UNION { resource:Q1062 property:P47 ?r } } }
Mechtildisstraat Lake Ontario
action filter_type
action union
action find
entity Lake Ontario
relation shares border with
action find
entity Mechtildisstraat
relation location
type administrative territorial entity
{'OR': [['Lake Ontario', 'shares border with', {'concept': 'administrative territorial entity'}], ['Mechtildisstraat', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . { { resource:Mechtildisstraat property:location ?r } UNION { resource:Lake_Ontario property:shares_border_with ?r } } }
[]
administrative territorial entity
Q9871 Q126805
SYSTEM
Tilburg, St. Catharines
Q9871 Q126805
OR((Q1062,P47,c(Q56061)), (Q19340751,P276,c(Q56061)))
action filter_type
action union
action find
entity Q1062
relation P47
action find
entity Q19340751
relation P276
type Q56061
[ANSWERS] are adjacent to Lake Ontario or are the place where Mechtildisstraat are located
{'OR': [['Q1062', 'P47', {'concept': 'Q56061'}], ['Q19340751', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . { { resource:Q19340751 property:P276 ?r } UNION { resource:Q1062 property:P47 ?r } } }
Tilburg St. Catharines
Tilburg and St. Catharines are adjacent to Lake Ontario or are the place where Mechtildisstraat are located
Tilburg St. Catharines
action filter_type
action union
action find
entity Lake Ontario
relation shares border with
action find
entity Mechtildisstraat
relation location
type administrative territorial entity
{'OR': [['Lake Ontario', 'shares border with', {'concept': 'administrative territorial entity'}], ['Mechtildisstraat', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . { { resource:Mechtildisstraat property:location ?r } UNION { resource:Lake_Ontario property:shares_border_with ?r } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12109963 Q738383
P17
Q15617994
USER
Which administrative territories do Bârsău Mare or Cârlomănești belong to ?
OR((Q738383,P17,c(Q15617994)), (Q12109963,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q738383
relation P17
action find
entity Q12109963
relation P17
type Q15617994
{'OR': [['Q738383', 'P17', {'concept': 'Q15617994'}], ['Q12109963', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q738383 property:P17 ?q } UNION { resource:Q12109963 property:P17 ?q } } . ?q rdf:type ontology:Q15617994 }
Cârlomănești Bârsău Mare
action filter_type
action union
action find
entity Bârsău Mare
relation country
action find
entity Cârlomănești
relation country
type designation for an administrative territorial entity
{'OR': [['Bârsău Mare', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Cârlomănești', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Bârsău_Mare property:country ?q } UNION { resource:Cârlomănești property:country ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218
SYSTEM
Romania
Q218
OR((Q738383,P17,c(Q15617994)), (Q12109963,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q738383
relation P17
action find
entity Q12109963
relation P17
type Q15617994
[ANSWER] Bârsău Mare or Cârlomănești belong to
{'OR': [['Q738383', 'P17', {'concept': 'Q15617994'}], ['Q12109963', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q738383 property:P17 ?q } UNION { resource:Q12109963 property:P17 ?q } } . ?q rdf:type ontology:Q15617994 }
Romania
Romania Bârsău Mare or Cârlomănești belong to
Romania
action filter_type
action union
action find
entity Bârsău Mare
relation country
action find
entity Cârlomănești
relation country
type designation for an administrative territorial entity
{'OR': [['Bârsău Mare', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Cârlomănești', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Bârsău_Mare property:country ?q } UNION { resource:Cârlomănești property:country ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]