Simple Question (Direct)
Simple Question
Q466069
P27
Q7275
USER
Which state is the native country of Vladimir Titov ?
(Q466069,P27,c(Q7275))
action filter_type
action find
entity Q466069
relation P27
type Q7275
['Q466069', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?r WHERE { resource:Q466069 property:P27 ?r . ?r rdf:type ontology:Q7275 }
Vladimir Titov
action filter_type
action find
entity Vladimir Titov
relation country of citizenship
type state
['Vladimir Titov', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?r WHERE { resource:Vladimir_Titov property:country_of_citizenship ?r . ?r rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q466069,P27,c(Q7275))
action filter_type
action find
entity Q466069
relation P27
type Q7275
The [ANSWER] is the native country of Vladimir Titov
['Q466069', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?r WHERE { resource:Q466069 property:P27 ?r . ?r rdf:type ontology:Q7275 }
Soviet Union
The Soviet Union is the native country of Vladimir Titov
Soviet Union
action filter_type
action find
entity Vladimir Titov
relation country of citizenship
type state
['Vladimir Titov', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?r WHERE { resource:Vladimir_Titov property:country_of_citizenship ?r . ?r rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15180
P1313
Q12737077
USER
Which occupation is fulfilled by that state ?
(Q15180,P1313,c(Q12737077))
action filter_type
action find
entity Q15180
relation P1313
type Q12737077
['Q15180', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q15180 property:P1313 ?e . ?e rdf:type ontology:Q12737077 }
Soviet Union
action filter_type
action find
entity Soviet Union
relation office held by head of government
type occupation
['Soviet Union', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Soviet_Union property:office_held_by_head_of_government ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q462189
SYSTEM
Premier of the Soviet Union
Q462189
(Q15180,P1313,c(Q12737077))
action filter_type
action find
entity Q15180
relation P1313
type Q12737077
The [ANSWER] is fulfilled by that state
['Q15180', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q15180 property:P1313 ?e . ?e rdf:type ontology:Q12737077 }
Premier of the Soviet Union
The Premier of the Soviet Union is fulfilled by that state
Premier of the Soviet Union
action filter_type
action find
entity Soviet Union
relation office held by head of government
type occupation
['Soviet Union', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Soviet_Union property:office_held_by_head_of_government ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q462189
P39
Q502895
USER
Which people were responsible for occupying the position of that occupation ?
(c(Q502895),P39,Q462189)
action filter_type
action find_reverse
entity Q462189
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q462189']
SELECT DISTINCT ?g WHERE { ?g property:P39 resource:Q462189 . ?g rdf:type ontology:Q502895 }
Premier of the Soviet Union
action filter_type
action find_reverse
entity Premier of the Soviet Union
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Premier of the Soviet Union']
SELECT DISTINCT ?g WHERE { ?g property:position_held resource:Premier_of_the_Soviet_Union . ?g rdf:type ontology:common_name }
[]
common name
Q855 Q35314 Q132899
SYSTEM
Joseph Stalin, Nikita Khrushchev, Vyacheslav Molotov
Q1394 Q366524 Q35314 Q855 Q202770 Q132899 Q315518 Q435367
(c(Q502895),P39,Q462189)
action filter_type
action find_reverse
entity Q462189
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q462189']
SELECT DISTINCT ?g WHERE { ?g property:P39 resource:Q462189 . ?g rdf:type ontology:Q502895 }
Vladimir Lenin Nikolai Ryzhkov Nikita Khrushchev Joseph Stalin Alexei Kosygin Vyacheslav Molotov Nikolai Tikhonov Valentin Pavlov
Joseph Stalin, Nikita Khrushchev and Vyacheslav Molotov were responsible for occupying the position of that occupation
Joseph Stalin Nikita Khrushchev Vyacheslav Molotov
action filter_type
action find_reverse
entity Premier of the Soviet Union
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Premier of the Soviet Union']
SELECT DISTINCT ?g WHERE { ?g property:position_held resource:Premier_of_the_Soviet_Union . ?g rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q15180
P6
Q7275
USER
Do Soviet Union have those people as their head of government ?
(Q15180,P6,Q855) (Q15180,P6,Q35314) (Q15180,P6,Q132899)
action is_in
entity prev_answer
action find
entity Q15180
relation P6
['Q15180', 'P6', 'Q855'] ['Q15180', 'P6', 'Q35314'] ['Q15180', 'P6', 'Q132899']
ASK WHERE { VALUES ( ?l ) { ( resource:Q1394 ) ( resource:Q366524 ) ( resource:Q35314 ) } . resource:Q15180 property:P6 ?l }
Soviet Union
action is_in
entity prev_answer
action find
entity Soviet Union
relation head of government
['Soviet Union', 'head of government', 'Joseph Stalin'] ['Soviet Union', 'head of government', 'Nikita Khrushchev'] ['Soviet Union', 'head of government', 'Vyacheslav Molotov']
ASK WHERE { VALUES ( ?l ) { ( resource:Vladimir_Lenin ) ( resource:Nikolai_Ryzhkov ) ( resource:Nikita_Khrushchev ) } . resource:Soviet_Union property:head_of_government ?l }
[]
state
SYSTEM
YES
(Q15180,P6,Q855) (Q15180,P6,Q35314) (Q15180,P6,Q132899)
action is_in
entity prev_answer
action find
entity Q15180
relation P6
[ANSWER]
['Q15180', 'P6', 'Q855'] ['Q15180', 'P6', 'Q35314'] ['Q15180', 'P6', 'Q132899']
ASK WHERE { VALUES ( ?l ) { ( resource:Q1394 ) ( resource:Q366524 ) ( resource:Q35314 ) } . resource:Q15180 property:P6 ?l }
Yes
action is_in
entity prev_answer
action find
entity Soviet Union
relation head of government
['Soviet Union', 'head of government', 'Joseph Stalin'] ['Soviet Union', 'head of government', 'Nikita Khrushchev'] ['Soviet Union', 'head of government', 'Vyacheslav Molotov']
ASK WHERE { VALUES ( ?l ) { ( resource:Vladimir_Lenin ) ( resource:Nikolai_Ryzhkov ) ( resource:Nikita_Khrushchev ) } . resource:Soviet_Union property:head_of_government ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15180
P1532
Q502895
USER
Which people play for Soviet Union ?
(c(Q502895),P1532,Q15180)
action filter_type
action find_reverse
entity Q15180
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q15180']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P1532 resource:Q15180 }
Soviet Union
action filter_type
action find_reverse
entity Soviet Union
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Soviet Union']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:country_for_sport resource:Soviet_Union }
[]
common name
Q16027962 Q23907451 Q22083771
SYSTEM
Dmitriy Golovastov, Mikhail Dasko, Sergey Usov
Q24260019 Q23009948 Q23825718 Q519287 Q12875297 Q22968970 Q22083771 Q4156355 Q24196122 Q23043630 Q5285499 Q11790031 Q22679553 Q24260158 Q26197060 Q3561782 Q23837660 Q23833052 Q9336218 Q15728084 Q15894440 Q21675869 Q21673736 Q2272717 Q1187700 Q23833602 Q349863 Q16027962 Q23012839 Q24260264 Q26197079 Q275093 Q23907451
(c(Q502895),P1532,Q15180)
action filter_type
action find_reverse
entity Q15180
relation P1532
type Q502895
The [ANSWERS] play for Soviet Union
[{'concept': 'Q502895'}, 'P1532', 'Q15180']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P1532 resource:Q15180 }
Irena Ozhenko Irina Bondarchuk Stanislav Vezhel Marina Ivanova-Kharlamova Yuri Filippov Nadezhda Stepanova Sergey Usov Aleksandra Grigoryeva Sergey Gavryushin Andrey Sudnik Dmitri Gromov Natalya Shubenkova Eva Sokolova Lyubov Smolka Vera Chuvashova Vladimir Graudyn Aleksandr Shcherbina Anatoliy Gorshkov Sergey Kasnauskas Tamara Sorokina Tatyana Grebenchuk Pavel Galkin Olga Gavrilova Sergey Nikolayev Denis Kapustin Natalya Serbinenko Ruslan Ashuraliyev Dmitriy Golovastov Lidiya Yurkova Vyacheslav Korovin Marina Antonyuk Valentina Tikhomirova Mikhail Dasko
The Dmitriy Golovastov, Mikhail Dasko and Sergey Usov play for Soviet Union
Dmitriy Golovastov Mikhail Dasko Sergey Usov
action filter_type
action find_reverse
entity Soviet Union
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Soviet Union']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:country_for_sport resource:Soviet_Union }
[]
Clarification
Simple Question|Single Entity|Indirect
Q22083771
P2416
Q31629
USER
Which type of sport did that person compete in ?
(Q22083771,P2416,c(Q31629))
action filter_type
action find
entity Q22083771
relation P2416
type Q31629
['Q22083771', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?h WHERE { resource:Q22083771 property:P2416 ?h . ?h rdf:type ontology:Q31629 }
Sergey Usov
action filter_type
action find
entity Sergey Usov
relation sports discipline competed in
type type of sport
['Sergey Usov', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?h WHERE { resource:Sergey_Usov property:sports_discipline_competed_in ?h . ?h rdf:type ontology:type_of_sport }
[]
type of sport
Clarification for simple ques.
Q16027962
SYSTEM
Did you mean Dmitriy Golovastov ?
Q16027962 Q23907451 Q22083771
(Q16027962,P2416,c(Q31629)) (Q23907451,P2416,c(Q31629)) (Q22083771,P2416,c(Q31629))
[ANSWER]
['Q16027962', 'P2416', {'concept': 'Q31629'}] ['Q23907451', 'P2416', {'concept': 'Q31629'}] ['Q22083771', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?h WHERE { resource:Q22083771 property:P2416 ?h . ?h rdf:type ontology:Q31629 }
Dmitriy Golovastov Mikhail Dasko Sergey Usov
Did you mean Dmitriy Golovastov ?
Dmitriy Golovastov
['Dmitriy Golovastov', 'sports discipline competed in', {'concept': 'type of sport'}] ['Mikhail Dasko', 'sports discipline competed in', {'concept': 'type of sport'}] ['Sergey Usov', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?h WHERE { resource:Sergey_Usov property:sports_discipline_competed_in ?h . ?h rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
USER
No, I meant Sergey Usov. Could you tell me the answer for that?
(Q22083771,P2416,c(Q31629))
Q22083771
['Q22083771', 'P2416', {'concept': 'Q31629'}]
['Sergey Usov', 'sports discipline competed in', {'concept': 'type of sport'}]
[]
Q170004
SYSTEM
110 metres hurdles
Q170004
(Q22083771,P2416,c(Q31629))
action filter_type
action find
entity Q22083771
relation P2416
type Q31629
That person competed in [ANSWER]
['Q22083771', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?h WHERE { resource:Q22083771 property:P2416 ?h . ?h rdf:type ontology:Q31629 }
110 metres hurdles
That person competed in 110 metres hurdles
110 metres hurdles
action filter_type
action find
entity Sergey Usov
relation sports discipline competed in
type type of sport
['Sergey Usov', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?h WHERE { resource:Sergey_Usov property:sports_discipline_competed_in ?h . ?h rdf:type ontology:type_of_sport }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1444
Q486972 Q31629
USER
Which human settlements are the destination points for min number of types of sport ?
(c(Q31629),P1444,Q427850)
action argmin
action find_reverse_tuple_counts
relation P1444
type Q486972
type Q31629
[{'concept': 'Q31629'}, 'P1444', 'Q427850']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P1444 ?u . ?u rdf:type ontology:Q486972 . ?t rdf:type ontology:Q31629 } GROUP BY ?u } . FILTER ( ?s = ?n ) . { SELECT DISTINCT ( MIN ( ?w ) AS ?n ) { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:P1444 ?d . ?d rdf:type ontology:Q486972 . ?v rdf:type ontology:Q31629 } GROUP BY ?d } } }
action argmin
action find_reverse_tuple_counts
relation destination point
type human settlement
type type of sport
[{'concept': 'type of sport'}, 'destination point', 'Martell']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:destination_point ?u . ?u rdf:type ontology:human_settlement . ?t rdf:type ontology:type_of_sport } GROUP BY ?u } . FILTER ( ?s = ?n ) . { SELECT DISTINCT ( MIN ( ?w ) AS ?n ) { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:destination_point ?d . ?d rdf:type ontology:human_settlement . ?v rdf:type ontology:type_of_sport } GROUP BY ?d } } }
[]
human settlement type of sport
Q1055 Q3777 Q427850
SYSTEM
Hamburg, Ouagadougou, Martell
Q730642 Q3777 Q303066 Q7385194 Q1087543 Q1055 Q1640374 Q427850
(c(Q31629),P1444,Q427850)
action argmin
action find_reverse_tuple_counts
relation P1444
type Q486972
type Q31629
[ANSWERS] are the destination points for min number of types of sport
[{'concept': 'Q31629'}, 'P1444', 'Q427850']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P1444 ?u . ?u rdf:type ontology:Q486972 . ?t rdf:type ontology:Q31629 } GROUP BY ?u } . FILTER ( ?s = ?n ) . { SELECT DISTINCT ( MIN ( ?w ) AS ?n ) { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:P1444 ?d . ?d rdf:type ontology:Q486972 . ?v rdf:type ontology:Q31629 } GROUP BY ?d } } }
Glennallen Ouagadougou Aars Rymanów-Zdrój Montecampione Hamburg Paxson Martell
Hamburg, Ouagadougou and Martell are the destination points for min number of types of sport
Hamburg Ouagadougou Martell
action argmin
action find_reverse_tuple_counts
relation destination point
type human settlement
type type of sport
[{'concept': 'type of sport'}, 'destination point', 'Martell']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:destination_point ?u . ?u rdf:type ontology:human_settlement . ?t rdf:type ontology:type_of_sport } GROUP BY ?u } . FILTER ( ?s = ?n ) . { SELECT DISTINCT ( MIN ( ?w ) AS ?n ) { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:destination_point ?d . ?d rdf:type ontology:human_settlement . ?v rdf:type ontology:type_of_sport } GROUP BY ?d } } }
[]