Simple Question (Direct)
Simple Question
Q312943
P106
Q12737077
USER
What is the profession of An Yong-hak ?
(Q312943,P106,c(Q12737077))
action filter_type
action find
entity Q312943
relation P106
type Q12737077
['Q312943', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q312943 property:P106 ?t }
An Yong-hak
action filter_type
action find
entity An Yong-hak
relation occupation
type occupation
['An Yong-hak', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:An_Yong-hak property:occupation ?t }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q312943,P106,c(Q12737077))
action filter_type
action find
entity Q312943
relation P106
type Q12737077
The profession of An Yong-hak is an [ANSWER]
['Q312943', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q312943 property:P106 ?t }
association football player
The profession of An Yong-hak is an association football player
association football player
action filter_type
action find
entity An Yong-hak
relation occupation
type occupation
['An Yong-hak', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:An_Yong-hak property:occupation ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q312943
P21
Q290
USER
Which sex does that person belong to ?
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q312943
relation P21
type Q290
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q312943 property:P21 ?b . ?b rdf:type ontology:Q290 }
An Yong-hak
action filter_type
action find
entity An Yong-hak
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:An_Yong-hak property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q312943
relation P21
type Q290
That person belongs to [ANSWER]
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q312943 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity An Yong-hak
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:An_Yong-hak property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q312943
P734
Q101352
USER
Which family name is associated with that person ?
(Q6581097,P734,c(Q101352))
action filter_type
action find
entity Q312943
relation P734
type Q101352
['Q6581097', 'P734', {'concept': 'Q101352'}]
SELECT DISTINCT ?p WHERE { resource:Q312943 property:P734 ?p . ?p rdf:type ontology:Q101352 }
An Yong-hak
action filter_type
action find
entity An Yong-hak
relation family name
type family name
['male', 'family name', {'concept': 'family name'}]
SELECT DISTINCT ?p WHERE { resource:An_Yong-hak property:family_name ?p . ?p rdf:type ontology:family_name }
[]
family name
Q45749
SYSTEM
An
Q45749
(Q6581097,P734,c(Q101352))
action filter_type
action find
entity Q312943
relation P734
type Q101352
[ANSWER] is associated with that person
['Q6581097', 'P734', {'concept': 'Q101352'}]
SELECT DISTINCT ?p WHERE { resource:Q312943 property:P734 ?p . ?p rdf:type ontology:Q101352 }
An
An is associated with that person
An
action filter_type
action find
entity An Yong-hak
relation family name
type family name
['male', 'family name', {'concept': 'family name'}]
SELECT DISTINCT ?p WHERE { resource:An_Yong-hak property:family_name ?p . ?p rdf:type ontology:family_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q179773 Q312943
P1344
Q15275719
USER
Which recurring events did An Yong-hak and Pedro participate in ?
AND((Q312943,P1344,c(Q15275719)), (Q179773,P1344,c(Q15275719)))
action filter_type
action intersection
action find
entity Q312943
relation P1344
action find
entity Q179773
relation P1344
type Q15275719
{'AND': [['Q312943', 'P1344', {'concept': 'Q15275719'}], ['Q179773', 'P1344', {'concept': 'Q15275719'}]]}
SELECT DISTINCT ?q WHERE { resource:Q312943 property:P1344 ?q . resource:Q179773 property:P1344 ?q . ?q rdf:type ontology:Q15275719 }
Pedro An Yong-hak
action filter_type
action intersection
action find
entity An Yong-hak
relation participant of
action find
entity Pedro
relation participant of
type recurring event
{'AND': [['An Yong-hak', 'participant of', {'concept': 'recurring event'}], ['Pedro', 'participant of', {'concept': 'recurring event'}]]}
SELECT DISTINCT ?q WHERE { resource:An_Yong-hak property:participant_of ?q . resource:Pedro property:participant_of ?q . ?q rdf:type ontology:recurring_event }
[]
recurring event
Q176883
SYSTEM
2010 FIFA World Cup
Q176883
AND((Q312943,P1344,c(Q15275719)), (Q179773,P1344,c(Q15275719)))
action filter_type
action intersection
action find
entity Q312943
relation P1344
action find
entity Q179773
relation P1344
type Q15275719
An Yong-hak and Pedro participated in [ANSWER]
{'AND': [['Q312943', 'P1344', {'concept': 'Q15275719'}], ['Q179773', 'P1344', {'concept': 'Q15275719'}]]}
SELECT DISTINCT ?q WHERE { resource:Q312943 property:P1344 ?q . resource:Q179773 property:P1344 ?q . ?q rdf:type ontology:Q15275719 }
2010 FIFA World Cup
An Yong-hak and Pedro participated in 2010 FIFA World Cup
2010 FIFA World Cup
action filter_type
action intersection
action find
entity An Yong-hak
relation participant of
action find
entity Pedro
relation participant of
type recurring event
{'AND': [['An Yong-hak', 'participant of', {'concept': 'recurring event'}], ['Pedro', 'participant of', {'concept': 'recurring event'}]]}
SELECT DISTINCT ?q WHERE { resource:An_Yong-hak property:participant_of ?q . resource:Pedro property:participant_of ?q . ?q rdf:type ontology:recurring_event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q176883
P276
Q1076486
USER
Which sports venues are the place where that recurring event are located ?
(Q176883,P276,c(Q1076486))
action filter_type
action find
entity Q176883
relation P276
type Q1076486
['Q176883', 'P276', {'concept': 'Q1076486'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1076486 . resource:Q176883 property:P276 ?p }
2010 FIFA World Cup
action filter_type
action find
entity 2010 FIFA World Cup
relation location
type sports venue
['2010 FIFA World Cup', 'location', {'concept': 'sports venue'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sports_venue . resource:2010_FIFA_World_Cup property:location ?p }
[]
sports venue
Q181445 Q173559 Q163521
SYSTEM
Nelson Mandela Bay Stadium, Cape Town Stadium, FNB Stadium
Q173559 Q163521 Q182081 Q187042 Q187087 Q189337 Q181398 Q181445 Q175289 Q181439
(Q176883,P276,c(Q1076486))
action filter_type
action find
entity Q176883
relation P276
type Q1076486
[ANSWERS] are the place where that recurring event are located
['Q176883', 'P276', {'concept': 'Q1076486'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1076486 . resource:Q176883 property:P276 ?p }
Cape Town Stadium FNB Stadium Ellis Park Stadium Peter Mokaba Stadium Mbombela Stadium Royal Bafokeng Stadium Loftus Versfeld Stadium Nelson Mandela Bay Stadium Moses Mabhida Stadium Free State Stadium
Nelson Mandela Bay Stadium, Cape Town Stadium and FNB Stadium are the place where that recurring event are located
Nelson Mandela Bay Stadium Cape Town Stadium FNB Stadium
action filter_type
action find
entity 2010 FIFA World Cup
relation location
type sports venue
['2010 FIFA World Cup', 'location', {'concept': 'sports venue'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sports_venue . resource:2010_FIFA_World_Cup property:location ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q181445
P138
Q1530824
USER
What is Nelson Mandela Bay Stadium named after ?
(Q181445,P138,c(Q1530824))
action filter_type
action find
entity Q181445
relation P138
type Q1530824
['Q181445', 'P138', {'concept': 'Q1530824'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1530824 . resource:Q181445 property:P138 ?k }
Nelson Mandela Bay Stadium
action filter_type
action find
entity Nelson Mandela Bay Stadium
relation named after
type metropolitan municipality of South Africa
['Nelson Mandela Bay Stadium', 'named after', {'concept': 'metropolitan municipality of South Africa'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:metropolitan_municipality_of_South_Africa . resource:Nelson_Mandela_Bay_Stadium property:named_after ?k }
[]
metropolitan municipality of South Africa
Q1856565
SYSTEM
Nelson Mandela Bay Metropolitan Municipality
Q1856565
(Q181445,P138,c(Q1530824))
action filter_type
action find
entity Q181445
relation P138
type Q1530824
Nelson Mandela Bay Stadium is named for [ANSWER]
['Q181445', 'P138', {'concept': 'Q1530824'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1530824 . resource:Q181445 property:P138 ?k }
Nelson Mandela Bay Metropolitan Municipality
Nelson Mandela Bay Stadium is named for Nelson Mandela Bay Metropolitan Municipality
Nelson Mandela Bay Metropolitan Municipality
action filter_type
action find
entity Nelson Mandela Bay Stadium
relation named after
type metropolitan municipality of South Africa
['Nelson Mandela Bay Stadium', 'named after', {'concept': 'metropolitan municipality of South Africa'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:metropolitan_municipality_of_South_Africa . resource:Nelson_Mandela_Bay_Stadium property:named_after ?k }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1856565 Q583394
P17
Q15617994
USER
Is that metropolitan municipality of South Africa present in Grettstadt ?
(Q1856565,P17,Q583394)
action is_in
entity Q583394
action find
entity Q1856565
relation P17
['Q1856565', 'P17', 'Q583394']
ASK WHERE { resource:Q1856565 property:P17 resource:Q583394 }
Nelson Mandela Bay Metropolitan Municipality Grettstadt
action is_in
entity Grettstadt
action find
entity Nelson Mandela Bay Metropolitan Municipality
relation country
['Nelson Mandela Bay Metropolitan Municipality', 'country', 'Grettstadt']
ASK WHERE { resource:Nelson_Mandela_Bay_Metropolitan_Municipality property:country resource:Grettstadt }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1856565,P17,Q583394)
action is_in
entity Q583394
action find
entity Q1856565
relation P17
[ANSWER]
['Q1856565', 'P17', 'Q583394']
ASK WHERE { resource:Q1856565 property:P17 resource:Q583394 }
No
action is_in
entity Grettstadt
action find
entity Nelson Mandela Bay Metropolitan Municipality
relation country
['Nelson Mandela Bay Metropolitan Municipality', 'country', 'Grettstadt']
ASK WHERE { resource:Nelson_Mandela_Bay_Metropolitan_Municipality property:country resource:Grettstadt }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5092688 Q312943
P1344
Q15275719
USER
Which recurring events did An Yong-hak or Cheryl Baker take part in ?
OR((Q312943,P1344,c(Q15275719)), (Q5092688,P1344,c(Q15275719)))
action filter_type
action union
action find
entity Q312943
relation P1344
action find
entity Q5092688
relation P1344
type Q15275719
{'OR': [['Q312943', 'P1344', {'concept': 'Q15275719'}], ['Q5092688', 'P1344', {'concept': 'Q15275719'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q5092688 property:P1344 ?j } UNION { resource:Q312943 property:P1344 ?j } } . ?j rdf:type ontology:Q15275719 }
Cheryl Baker An Yong-hak
action filter_type
action union
action find
entity An Yong-hak
relation participant of
action find
entity Cheryl Baker
relation participant of
type recurring event
{'OR': [['An Yong-hak', 'participant of', {'concept': 'recurring event'}], ['Cheryl Baker', 'participant of', {'concept': 'recurring event'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Cheryl_Baker property:participant_of ?j } UNION { resource:An_Yong-hak property:participant_of ?j } } . ?j rdf:type ontology:recurring_event }
[]
recurring event
Q211754 Q176883 Q211752
SYSTEM
Eurovision Song Contest 1978, 2010 FIFA World Cup, Eurovision Song Contest 1981
Q211754 Q176883 Q211752
OR((Q312943,P1344,c(Q15275719)), (Q5092688,P1344,c(Q15275719)))
action filter_type
action union
action find
entity Q312943
relation P1344
action find
entity Q5092688
relation P1344
type Q15275719
An Yong-hak or Cheryl Baker took in part in [ANSWERS]
{'OR': [['Q312943', 'P1344', {'concept': 'Q15275719'}], ['Q5092688', 'P1344', {'concept': 'Q15275719'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q5092688 property:P1344 ?j } UNION { resource:Q312943 property:P1344 ?j } } . ?j rdf:type ontology:Q15275719 }
Eurovision Song Contest 1978 2010 FIFA World Cup Eurovision Song Contest 1981
An Yong-hak or Cheryl Baker took in part in Eurovision Song Contest 1978, 2010 FIFA World Cup and Eurovision Song Contest 1981
Eurovision Song Contest 1978 2010 FIFA World Cup Eurovision Song Contest 1981
action filter_type
action union
action find
entity An Yong-hak
relation participant of
action find
entity Cheryl Baker
relation participant of
type recurring event
{'OR': [['An Yong-hak', 'participant of', {'concept': 'recurring event'}], ['Cheryl Baker', 'participant of', {'concept': 'recurring event'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Cheryl_Baker property:participant_of ?j } UNION { resource:An_Yong-hak property:participant_of ?j } } . ?j rdf:type ontology:recurring_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5092688
P19
Q1496967
USER
Which territory is the place of birth of Cheryl Baker ?
(Q5092688,P19,c(Q1496967))
action filter_type
action find
entity Q5092688
relation P19
type Q1496967
['Q5092688', 'P19', {'concept': 'Q1496967'}]
SELECT DISTINCT ?x WHERE { resource:Q5092688 property:P19 ?x . ?x rdf:type ontology:Q1496967 }
Cheryl Baker
action filter_type
action find
entity Cheryl Baker
relation place of birth
type territorial entity
['Cheryl Baker', 'place of birth', {'concept': 'territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Cheryl_Baker property:place_of_birth ?x . ?x rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q5092688,P19,c(Q1496967))
action filter_type
action find
entity Q5092688
relation P19
type Q1496967
And [ANSWER] is the place of birth of Cheryl Baker
['Q5092688', 'P19', {'concept': 'Q1496967'}]
SELECT DISTINCT ?x WHERE { resource:Q5092688 property:P19 ?x . ?x rdf:type ontology:Q1496967 }
England
And England is the place of birth of Cheryl Baker
England
action filter_type
action find
entity Cheryl Baker
relation place of birth
type territorial entity
['Cheryl Baker', 'place of birth', {'concept': 'territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Cheryl_Baker property:place_of_birth ?x . ?x rdf:type ontology:territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5092688
P27
Q15617994
USER
Which administrative territory is Cheryl Baker a civilian of ?
(Q5092688,P27,c(Q15617994))
action filter_type
action find
entity Q5092688
relation P27
type Q15617994
['Q5092688', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q5092688 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Cheryl Baker
action filter_type
action find
entity Cheryl Baker
relation country of citizenship
type designation for an administrative territorial entity
['Cheryl Baker', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Cheryl_Baker 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
(Q5092688,P27,c(Q15617994))
action filter_type
action find
entity Q5092688
relation P27
type Q15617994
The [ANSWER] is Cheryl Baker a civilian of
['Q5092688', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q5092688 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
United Kingdom
The United Kingdom is Cheryl Baker a civilian of
United Kingdom
action filter_type
action find
entity Cheryl Baker
relation country of citizenship
type designation for an administrative territorial entity
['Cheryl Baker', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Cheryl_Baker property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]