Simple Question (Direct)
Simple Question
Q11855224
P1344
Q15900616
USER
Which event sequence did Cheon Ju-hyeon participate in ?
(Q11855224,P1344,c(Q15900616))
action filter_type
action find
entity Q11855224
relation P1344
type Q15900616
['Q11855224', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?o WHERE { resource:Q11855224 property:P1344 ?o . ?o rdf:type ontology:Q15900616 }
Cheon Ju-hyeon
action filter_type
action find
entity Cheon Ju-hyeon
relation participant of
type event sequence
['Cheon Ju-hyeon', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?o WHERE { resource:Cheon_Ju-hyeon property:participant_of ?o . ?o rdf:type ontology:event_sequence }
[]
event sequence
Q9664
SYSTEM
1998 Winter Olympics
Q9664
(Q11855224,P1344,c(Q15900616))
action filter_type
action find
entity Q11855224
relation P1344
type Q15900616
Cheon Ju- hyeon participated in [ANSWER]
['Q11855224', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?o WHERE { resource:Q11855224 property:P1344 ?o . ?o rdf:type ontology:Q15900616 }
1998 Winter Olympics
Cheon Ju- hyeon participated in 1998 Winter Olympics
1998 Winter Olympics
action filter_type
action find
entity Cheon Ju-hyeon
relation participant of
type event sequence
['Cheon Ju-hyeon', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?o WHERE { resource:Cheon_Ju-hyeon property:participant_of ?o . ?o rdf:type ontology:event_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11855224
P641
Q204686
USER
Which winter sport was that person a part of ?
(Q9664,P641,c(Q204686))
action filter_type
action find
entity Q11855224
relation P641
type Q204686
['Q9664', 'P641', {'concept': 'Q204686'}]
SELECT DISTINCT ?o WHERE { resource:Q11855224 property:P641 ?o . ?o rdf:type ontology:Q204686 }
Cheon Ju-hyeon
action filter_type
action find
entity Cheon Ju-hyeon
relation sport
type winter sport
['1998 Winter Olympics', 'sport', {'concept': 'winter sport'}]
SELECT DISTINCT ?o WHERE { resource:Cheon_Ju-hyeon property:sport ?o . ?o rdf:type ontology:winter_sport }
[]
winter sport
Q192431
SYSTEM
speed skating
Q192431
(Q9664,P641,c(Q204686))
action filter_type
action find
entity Q11855224
relation P641
type Q204686
The [ANSWER] was that person a part of
['Q9664', 'P641', {'concept': 'Q204686'}]
SELECT DISTINCT ?o WHERE { resource:Q11855224 property:P641 ?o . ?o rdf:type ontology:Q204686 }
speed skating
The speed skating was that person a part of
speed skating
action filter_type
action find
entity Cheon Ju-hyeon
relation sport
type winter sport
['1998 Winter Olympics', 'sport', {'concept': 'winter sport'}]
SELECT DISTINCT ?o WHERE { resource:Cheon_Ju-hyeon property:sport ?o . ?o rdf:type ontology:winter_sport }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q41466 Q192431
P641
Q502895
USER
Which people are involved in playing speed skating and ice hockey ?
AND((c(Q502895),P641,Q192431), (c(Q502895),P641,Q41466))
action filter_type
action intersection
action find_reverse
entity Q192431
relation P641
action find_reverse
entity Q41466
relation P641
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P641', 'Q192431'], [{'concept': 'Q502895'}, 'P641', 'Q41466']]}
SELECT DISTINCT ?d WHERE { ?d property:P641 resource:Q192431 . ?d property:P641 resource:Q41466 . ?d rdf:type ontology:Q502895 }
ice hockey speed skating
action filter_type
action intersection
action find_reverse
entity speed skating
relation sport
action find_reverse
entity ice hockey
relation sport
type common name
{'AND': [[{'concept': 'common name'}, 'sport', 'speed skating'], [{'concept': 'common name'}, 'sport', 'ice hockey']]}
SELECT DISTINCT ?d WHERE { ?d property:sport resource:speed_skating . ?d property:sport resource:ice_hockey . ?d rdf:type ontology:common_name }
[]
common name
Q43362 Q689094
SYSTEM
Léonhard Quaglia, Martin Hänggi
Q43362 Q689094
AND((c(Q502895),P641,Q192431), (c(Q502895),P641,Q41466))
action filter_type
action intersection
action find_reverse
entity Q192431
relation P641
action find_reverse
entity Q41466
relation P641
type Q502895
[ANSWERS] are involved in playing speed skating and ice hockey
{'AND': [[{'concept': 'Q502895'}, 'P641', 'Q192431'], [{'concept': 'Q502895'}, 'P641', 'Q41466']]}
SELECT DISTINCT ?d WHERE { ?d property:P641 resource:Q192431 . ?d property:P641 resource:Q41466 . ?d rdf:type ontology:Q502895 }
Léonhard Quaglia Martin Hänggi
Léonhard Quaglia and Martin Hänggi are involved in playing speed skating and ice hockey
Léonhard Quaglia Martin Hänggi
action filter_type
action intersection
action find_reverse
entity speed skating
relation sport
action find_reverse
entity ice hockey
relation sport
type common name
{'AND': [[{'concept': 'common name'}, 'sport', 'speed skating'], [{'concept': 'common name'}, 'sport', 'ice hockey']]}
SELECT DISTINCT ?d WHERE { ?d property:sport resource:speed_skating . ?d property:sport resource:ice_hockey . ?d rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17385966 Q43362
P27
Q15617994
USER
Which administrative territories are Léonhard Quaglia or Gilberto Silva an inhabitant of ?
OR((Q43362,P27,c(Q15617994)), (Q17385966,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q43362
relation P27
action find
entity Q17385966
relation P27
type Q15617994
{'OR': [['Q43362', 'P27', {'concept': 'Q15617994'}], ['Q17385966', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?y ) { ( resource:Q43362 ) ( resource:Q17385966 ) } . ?y property:P27 ?g } . ?g rdf:type ontology:Q15617994 }
Gilberto Silva Léonhard Quaglia
action filter_type
action union
action find
entity Léonhard Quaglia
relation country of citizenship
action find
entity Gilberto Silva
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Léonhard Quaglia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gilberto Silva', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?y ) { ( resource:Léonhard_Quaglia ) ( resource:Gilberto_Silva ) } . ?y property:country_of_citizenship ?g } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q45
SYSTEM
France, Portugal
Q142 Q45
OR((Q43362,P27,c(Q15617994)), (Q17385966,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q43362
relation P27
action find
entity Q17385966
relation P27
type Q15617994
[ANSWERS] are Léonhard Quaglia or Gilberto Silva an inhabitant of
{'OR': [['Q43362', 'P27', {'concept': 'Q15617994'}], ['Q17385966', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?y ) { ( resource:Q43362 ) ( resource:Q17385966 ) } . ?y property:P27 ?g } . ?g rdf:type ontology:Q15617994 }
France Portugal
France and Portugal are Léonhard Quaglia or Gilberto Silva an inhabitant of
France Portugal
action filter_type
action union
action find
entity Léonhard Quaglia
relation country of citizenship
action find
entity Gilberto Silva
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Léonhard Quaglia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gilberto Silva', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?y ) { ( resource:Léonhard_Quaglia ) ( resource:Gilberto_Silva ) } . ?y property:country_of_citizenship ?g } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q33139
P495
Q838948
USER
Does To Die like a Man originate at those administrative territories ?
(Q33139,P495,Q142) (Q33139,P495,Q45)
action is_in
entity prev_answer
action find
entity Q33139
relation P495
['Q33139', 'P495', 'Q142'] ['Q33139', 'P495', 'Q45']
ASK WHERE { VALUES ( ?n ) { ( resource:Q142 ) ( resource:Q45 ) } . resource:Q33139 property:P495 ?n }
To Die like a Man
action is_in
entity prev_answer
action find
entity To Die like a Man
relation country of origin
['To Die like a Man', 'country of origin', 'France'] ['To Die like a Man', 'country of origin', 'Portugal']
ASK WHERE { VALUES ( ?n ) { ( resource:France ) ( resource:Portugal ) } . resource:To_Die_like_a_Man property:country_of_origin ?n }
[]
work of art
SYSTEM
YES
(Q33139,P495,Q142) (Q33139,P495,Q45)
action is_in
entity prev_answer
action find
entity Q33139
relation P495
[ANSWER]
['Q33139', 'P495', 'Q142'] ['Q33139', 'P495', 'Q45']
ASK WHERE { VALUES ( ?n ) { ( resource:Q142 ) ( resource:Q45 ) } . resource:Q33139 property:P495 ?n }
Yes
action is_in
entity prev_answer
action find
entity To Die like a Man
relation country of origin
['To Die like a Man', 'country of origin', 'France'] ['To Die like a Man', 'country of origin', 'Portugal']
ASK WHERE { VALUES ( ?n ) { ( resource:France ) ( resource:Portugal ) } . resource:To_Die_like_a_Man property:country_of_origin ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17385966
P21
Q290
USER
What is the sex of Gilberto Silva ?
(Q17385966,P21,c(Q290))
action filter_type
action find
entity Q17385966
relation P21
type Q290
['Q17385966', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q17385966 property:P21 ?j . ?j rdf:type ontology:Q290 }
Gilberto Silva
action filter_type
action find
entity Gilberto Silva
relation gender
type sex
['Gilberto Silva', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Gilberto_Silva property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q17385966,P21,c(Q290))
action filter_type
action find
entity Q17385966
relation P21
type Q290
The sex of Gilberto Silva is the [ANSWER]
['Q17385966', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q17385966 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
The sex of Gilberto Silva is the male
male
action filter_type
action find
entity Gilberto Silva
relation gender
type sex
['Gilberto Silva', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Gilberto_Silva property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17385966
P19
Q56061
USER
Where was Gilberto Silva born ?
(Q17385966,P19,c(Q56061))
action filter_type
action find
entity Q17385966
relation P19
type Q56061
['Q17385966', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q17385966 property:P19 ?g }
Gilberto Silva
action filter_type
action find
entity Gilberto Silva
relation place of birth
type administrative territorial entity
['Gilberto Silva', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Gilberto_Silva property:place_of_birth ?g }
[]
administrative territorial entity
Q170903
SYSTEM
Guimarães
Q170903
(Q17385966,P19,c(Q56061))
action filter_type
action find
entity Q17385966
relation P19
type Q56061
Gilberto Silva was born in [ANSWER]
['Q17385966', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q17385966 property:P19 ?g }
Guimarães
Gilberto Silva was born in Guimarães
Guimarães
action filter_type
action find
entity Gilberto Silva
relation place of birth
type administrative territorial entity
['Gilberto Silva', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Gilberto_Silva property:place_of_birth ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q170903
P190
Q20667921
USER
Which french administrative divisions are twin cities of that administrative territory ?
(Q170903,P190,c(Q20667921))
action filter_type
action find
entity Q170903
relation P190
type Q20667921
['Q170903', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { resource:Q170903 property:P190 ?o . ?o rdf:type ontology:Q20667921 }
Guimarães
action filter_type
action find
entity Guimarães
relation sister city
type type of french administrative division
['Guimarães', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { resource:Guimarães property:sister_city ?o . ?o rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q6393 Q182481 Q180871
SYSTEM
Brive-la-Gaillarde, Tourcoing, Compiègne
Q6393 Q182481 Q180871
(Q170903,P190,c(Q20667921))
action filter_type
action find
entity Q170903
relation P190
type Q20667921
[ANSWERS] are twin cities of that administrative territory
['Q170903', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { resource:Q170903 property:P190 ?o . ?o rdf:type ontology:Q20667921 }
Brive-la-Gaillarde Tourcoing Compiègne
Brive-la-Gaillarde, Tourcoing and Compiègne are twin cities of that administrative territory
Brive-la-Gaillarde Tourcoing Compiègne
action filter_type
action find
entity Guimarães
relation sister city
type type of french administrative division
['Guimarães', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { resource:Guimarães property:sister_city ?o . ?o rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q6393 Q182481 Q180871
P36
Q20667921
USER
Which french administrative divisions contain Brive-la-Gaillarde, Tourcoing and Compiègne as their capital ?
(c(Q20667921),P36,Q6393) (c(Q20667921),P36,Q182481) (c(Q20667921),P36,Q180871)
action union
action filter_type
action find_reverse
entity Q6393
relation P36
type Q20667921
action filter_type
action find_reverse
entity Q182481
relation P36
type Q20667921
action filter_type
action find_reverse
entity Q180871
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q6393'] [{'concept': 'Q20667921'}, 'P36', 'Q182481'] [{'concept': 'Q20667921'}, 'P36', 'Q180871']
SELECT DISTINCT ?f WHERE { VALUES ( ?i ) { ( resource:Q6393 ) ( resource:Q182481 ) } . ?f property:P36 ?i }
Brive-la-Gaillarde Tourcoing Compiègne
action union
action filter_type
action find_reverse
entity Brive-la-Gaillarde
relation capital
type type of french administrative division
action filter_type
action find_reverse
entity Tourcoing
relation capital
type type of french administrative division
action filter_type
action find_reverse
entity Compiègne
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Brive-la-Gaillarde'] [{'concept': 'type of french administrative division'}, 'capital', 'Tourcoing'] [{'concept': 'type of french administrative division'}, 'capital', 'Compiègne']
SELECT DISTINCT ?f WHERE { VALUES ( ?i ) { ( resource:Brive-la-Gaillarde ) ( resource:Tourcoing ) } . ?f property:capital ?i }
[]
type of french administrative division
Q1724624 Q17175285 Q17175287
SYSTEM
canton of Brive-la-Gaillarde-Sud-Ouest, canton of Brive-la-Gaillarde-1, canton of Brive-la-Gaillarde-2
Q1724624 Q17175285 Q17175287 Q17175291 Q17175294 Q1724616 Q1724618 Q1724621 Q1724623 Q1727648 Q1318932 Q19817227 Q19817225 Q1546663 Q603072 Q17176523 Q17176519 Q651054 Q651049
(c(Q20667921),P36,Q6393) (c(Q20667921),P36,Q182481) (c(Q20667921),P36,Q180871)
action union
action filter_type
action find_reverse
entity Q6393
relation P36
type Q20667921
action filter_type
action find_reverse
entity Q182481
relation P36
type Q20667921
action filter_type
action find_reverse
entity Q180871
relation P36
type Q20667921
[ANSWERS] contain Brive-la-Gaillarde, Tourcoing and Compiègne as their capital
[{'concept': 'Q20667921'}, 'P36', 'Q6393'] [{'concept': 'Q20667921'}, 'P36', 'Q182481'] [{'concept': 'Q20667921'}, 'P36', 'Q180871']
SELECT DISTINCT ?f WHERE { VALUES ( ?i ) { ( resource:Q6393 ) ( resource:Q182481 ) } . ?f property:P36 ?i }
canton of Brive-la-Gaillarde-Sud-Ouest canton of Brive-la-Gaillarde-1 canton of Brive-la-Gaillarde-2 canton of Brive-la-Gaillarde-3 canton of Brive-la-Gaillarde-4 canton of Brive-la-Gaillarde-Centre canton of Brive-la-Gaillarde-Nord-Est canton of Brive-la-Gaillarde-Nord-Ouest canton of Brive-la-Gaillarde-Sud-Est canton of Tourcoing-Nord canton of Tourcoing-Sud canton of Tourcoing-2 canton of Tourcoing-1 canton of Tourcoing-Nord-Est canton of Compiègne-Nord canton of Compiègne-2 canton of Compiègne-1 canton of Compiègne-Sud-Ouest canton of Compiègne-Sud-Est
Canton of Brive-la-Gaillarde-Sud-Ouest, canton of Brive-la-Gaillarde-1 and canton of Brive-la-Gaillarde-2 contain Brive-la-Gaillarde, Tourcoing and Compiègne as their capital
canton of Brive-la-Gaillarde-Sud-Ouest canton of Brive-la-Gaillarde-1 canton of Brive-la-Gaillarde-2
action union
action filter_type
action find_reverse
entity Brive-la-Gaillarde
relation capital
type type of french administrative division
action filter_type
action find_reverse
entity Tourcoing
relation capital
type type of french administrative division
action filter_type
action find_reverse
entity Compiègne
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Brive-la-Gaillarde'] [{'concept': 'type of french administrative division'}, 'capital', 'Tourcoing'] [{'concept': 'type of french administrative division'}, 'capital', 'Compiègne']
SELECT DISTINCT ?f WHERE { VALUES ( ?i ) { ( resource:Brive-la-Gaillarde ) ( resource:Tourcoing ) } . ?f property:capital ?i }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17175287
P17
Q15617994
USER
Which administrative territory is that french administrative division located in ?
(Q17175287,P17,c(Q15617994))
action filter_type
action find
entity Q17175287
relation P17
type Q15617994
['Q17175287', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q17175287 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
canton of Brive-la-Gaillarde-2
action filter_type
action find
entity canton of Brive-la-Gaillarde-2
relation country
type designation for an administrative territorial entity
['canton of Brive-la-Gaillarde-2', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:canton_of_Brive-la-Gaillarde-2 property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q1724624
SYSTEM
Did you mean canton of Brive-la-Gaillarde-Sud-Ouest ?
Q1724624 Q17175285 Q17175287
(Q1724624,P17,c(Q15617994)) (Q17175285,P17,c(Q15617994)) (Q17175287,P17,c(Q15617994))
[ANSWER]
['Q1724624', 'P17', {'concept': 'Q15617994'}] ['Q17175285', 'P17', {'concept': 'Q15617994'}] ['Q17175287', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q17175287 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
canton of Brive-la-Gaillarde-Sud-Ouest canton of Brive-la-Gaillarde-1 canton of Brive-la-Gaillarde-2
Did you mean canton of Brive-la-Gaillarde-Sud-Ouest ?
canton of Brive-la-Gaillarde-Sud-Ouest
['canton of Brive-la-Gaillarde-Sud-Ouest', 'country', {'concept': 'designation for an administrative territorial entity'}] ['canton of Brive-la-Gaillarde-1', 'country', {'concept': 'designation for an administrative territorial entity'}] ['canton of Brive-la-Gaillarde-2', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:canton_of_Brive-la-Gaillarde-2 property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant canton of Brive-la-Gaillarde-2. Could you tell me the answer for that?
(Q17175287,P17,c(Q15617994))
Q17175287
['Q17175287', 'P17', {'concept': 'Q15617994'}]
['canton of Brive-la-Gaillarde-2', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142
SYSTEM
France
Q142
(Q17175287,P17,c(Q15617994))
action filter_type
action find
entity Q17175287
relation P17
type Q15617994
That french administrative division is located in [ANSWER]
['Q17175287', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q17175287 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
France
That french administrative division is located in France
France
action filter_type
action find
entity canton of Brive-la-Gaillarde-2
relation country
type designation for an administrative territorial entity
['canton of Brive-la-Gaillarde-2', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:canton_of_Brive-la-Gaillarde-2 property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]