Simple Question (Direct)
Simple Question
Q4258850
P166
Q1788716
USER
What were awarded to Viktor Leonov ?
(Q4258850,P166,c(Q1788716))
action filter_type
action find
entity Q4258850
relation P166
type Q1788716
['Q4258850', 'P166', {'concept': 'Q1788716'}]
SELECT DISTINCT ?y WHERE { resource:Q4258850 property:P166 ?y . ?y rdf:type ontology:Q1788716 }
Viktor Leonov
action filter_type
action find
entity Viktor Leonov
relation award received
type military decoration
['Viktor Leonov', 'award received', {'concept': 'military decoration'}]
SELECT DISTINCT ?y WHERE { resource:Viktor_Leonov property:award_received ?y . ?y rdf:type ontology:military_decoration }
[]
military decoration
Q462003 Q278798
SYSTEM
Medal "For the Defence of the Soviet Transarctic", Medal "For the Victory over Germany in the Great Patriotic War 1941–1945"
Q462003 Q278798
(Q4258850,P166,c(Q1788716))
action filter_type
action find
entity Q4258850
relation P166
type Q1788716
The [ANSWERS] were awarded to Viktor Leonov
['Q4258850', 'P166', {'concept': 'Q1788716'}]
SELECT DISTINCT ?y WHERE { resource:Q4258850 property:P166 ?y . ?y rdf:type ontology:Q1788716 }
Medal "For the Defence of the Soviet Transarctic" Medal "For the Victory over Germany in the Great Patriotic War 1941–1945"
The Medal "For the Defence of the Soviet Transarctic" and Medal "For the Victory over Germany in the Great Patriotic War 1941–1945" were awarded to Viktor Leonov
Medal "For the Defence of the Soviet Transarctic" Medal "For the Victory over Germany in the Great Patriotic War 1941–1945"
action filter_type
action find
entity Viktor Leonov
relation award received
type military decoration
['Viktor Leonov', 'award received', {'concept': 'military decoration'}]
SELECT DISTINCT ?y WHERE { resource:Viktor_Leonov property:award_received ?y . ?y rdf:type ontology:military_decoration }
[]
Clarification
Simple Question|Single Entity|Indirect
Q278798
P17
Q7275
USER
Which state is that military decoration present in ?
(Q278798,P17,c(Q7275))
action filter_type
action find
entity Q278798
relation P17
type Q7275
['Q278798', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?p WHERE { resource:Q278798 property:P17 ?p . ?p rdf:type ontology:Q7275 }
Medal "For the Victory over Germany in the Great Patriotic War 1941–1945"
action filter_type
action find
entity Medal "For the Victory over Germany in the Great Patriotic War 1941–1945"
relation country
type state
['Medal "For the Victory over Germany in the Great Patriotic War 1941–1945"', 'country', {'concept': 'state'}]
SELECT DISTINCT ?p WHERE { resource:Medal_"For_the_Victory_over_Germany_in_the_Great_Patriotic_War_1941–1945" property:country ?p . ?p rdf:type ontology:state }
[]
state
Clarification for simple ques.
Q462003
SYSTEM
Did you mean Medal "For the Defence of the Soviet Transarctic" ?
Q462003 Q278798
(Q462003,P17,c(Q7275)) (Q278798,P17,c(Q7275))
[ANSWER]
['Q462003', 'P17', {'concept': 'Q7275'}] ['Q278798', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?p WHERE { resource:Q278798 property:P17 ?p . ?p rdf:type ontology:Q7275 }
Medal "For the Defence of the Soviet Transarctic" Medal "For the Victory over Germany in the Great Patriotic War 1941–1945"
Did you mean Medal "For the Defence of the Soviet Transarctic" ?
Medal "For the Defence of the Soviet Transarctic"
['Medal "For the Defence of the Soviet Transarctic"', 'country', {'concept': 'state'}] ['Medal "For the Victory over Germany in the Great Patriotic War 1941–1945"', 'country', {'concept': 'state'}]
SELECT DISTINCT ?p WHERE { resource:Medal_"For_the_Victory_over_Germany_in_the_Great_Patriotic_War_1941–1945" property:country ?p . ?p rdf:type ontology:state }
[]
Simple Question (Coreferenced)
USER
No, I meant Medal "For the Victory over Germany in the Great Patriotic War 1941–1945". Could you tell me the answer for that?
(Q278798,P17,c(Q7275))
Q278798
['Q278798', 'P17', {'concept': 'Q7275'}]
['Medal "For the Victory over Germany in the Great Patriotic War 1941–1945"', 'country', {'concept': 'state'}]
[]
Q15180
SYSTEM
Soviet Union
Q15180
(Q278798,P17,c(Q7275))
action filter_type
action find
entity Q278798
relation P17
type Q7275
That military decoration is the [ANSWER]
['Q278798', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?p WHERE { resource:Q278798 property:P17 ?p . ?p rdf:type ontology:Q7275 }
Soviet Union
That military decoration is the Soviet Union
Soviet Union
action filter_type
action find
entity Medal "For the Victory over Germany in the Great Patriotic War 1941–1945"
relation country
type state
['Medal "For the Victory over Germany in the Great Patriotic War 1941–1945"', 'country', {'concept': 'state'}]
SELECT DISTINCT ?p WHERE { resource:Medal_"For_the_Victory_over_Germany_in_the_Great_Patriotic_War_1941–1945" property:country ?p . ?p rdf:type ontology:state }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q15180 Q456713
P27
Q502895
USER
Is Daryna Apanaschenko a native of that state ?
(Q456713,P27,Q15180)
action is_in
entity Q15180
action find
entity Q456713
relation P27
['Q456713', 'P27', 'Q15180']
ASK WHERE { resource:Q456713 property:P27 resource:Q15180 }
Soviet Union Daryna Apanaschenko
action is_in
entity Soviet Union
action find
entity Daryna Apanaschenko
relation country of citizenship
['Daryna Apanaschenko', 'country of citizenship', 'Soviet Union']
ASK WHERE { resource:Daryna_Apanaschenko property:country_of_citizenship resource:Soviet_Union }
[]
common name
SYSTEM
YES
(Q456713,P27,Q15180)
action is_in
entity Q15180
action find
entity Q456713
relation P27
[ANSWER]
['Q456713', 'P27', 'Q15180']
ASK WHERE { resource:Q456713 property:P27 resource:Q15180 }
Yes
action is_in
entity Soviet Union
action find
entity Daryna Apanaschenko
relation country of citizenship
['Daryna Apanaschenko', 'country of citizenship', 'Soviet Union']
ASK WHERE { resource:Daryna_Apanaschenko property:country_of_citizenship resource:Soviet_Union }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15180
P463
Q43229
USER
Which organization was Soviet Union a member of ?
(Q15180,P463,c(Q43229))
action filter_type
action find
entity Q15180
relation P463
type Q43229
['Q15180', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?j WHERE { resource:Q15180 property:P463 ?j . ?j rdf:type ontology:Q43229 }
Soviet Union
action filter_type
action find
entity Soviet Union
relation member of
type organization
['Soviet Union', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?j WHERE { resource:Soviet_Union property:member_of ?j . ?j rdf:type ontology:organization }
[]
organization
Q41644
SYSTEM
Warsaw Pact
Q41644
(Q15180,P463,c(Q43229))
action filter_type
action find
entity Q15180
relation P463
type Q43229
The [ANSWER] was Soviet Union a member of
['Q15180', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?j WHERE { resource:Q15180 property:P463 ?j . ?j rdf:type ontology:Q43229 }
Warsaw Pact
The Warsaw Pact was Soviet Union a member of
Warsaw Pact
action filter_type
action find
entity Soviet Union
relation member of
type organization
['Soviet Union', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?j WHERE { resource:Soviet_Union property:member_of ?j . ?j rdf:type ontology:organization }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q15180
Q484652
USER
And which international organization?
(Q15180,P463,c(Q484652))
action filter_type
action find
entity Q15180
relation P463
type Q484652
['Q15180', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q484652 . resource:Q15180 property:P463 ?f }
Soviet Union
action filter_type
action find
entity Soviet Union
relation member of
type international organization
['Soviet Union', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:international_organization . resource:Soviet_Union property:member_of ?f }
[]
international organization
Q81299
SYSTEM
Organization for Security and Co-operation in Europe
Q81299
(Q15180,P463,c(Q484652))
action filter_type
action find
entity Q15180
relation P463
type Q484652
[ANSWER]
['Q15180', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q484652 . resource:Q15180 property:P463 ?f }
Organization for Security and Co-operation in Europe
Organization for Security and Co-operation in Europe
action filter_type
action find
entity Soviet Union
relation member of
type international organization
['Soviet Union', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:international_organization . resource:Soviet_Union property:member_of ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q81299
P108
Q502895
USER
Which person works for that international organization ?
(c(Q502895),P108,Q81299)
action filter_type
action find_reverse
entity Q81299
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q81299']
SELECT DISTINCT ?p WHERE { ?p property:P108 resource:Q81299 . ?p rdf:type ontology:Q502895 }
Organization for Security and Co-operation in Europe
action filter_type
action find_reverse
entity Organization for Security and Co-operation in Europe
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Organization for Security and Co-operation in Europe']
SELECT DISTINCT ?p WHERE { ?p property:employer resource:Organization_for_Security_and_Co-operation_in_Europe . ?p rdf:type ontology:common_name }
[]
common name
Q15529276
SYSTEM
Alexis Chahtahtinsky
Q15529276
(c(Q502895),P108,Q81299)
action filter_type
action find_reverse
entity Q81299
relation P108
type Q502895
[ANSWER] works for that international organization
[{'concept': 'Q502895'}, 'P108', 'Q81299']
SELECT DISTINCT ?p WHERE { ?p property:P108 resource:Q81299 . ?p rdf:type ontology:Q502895 }
Alexis Chahtahtinsky
Alexis Chahtahtinsky works for that international organization
Alexis Chahtahtinsky
action filter_type
action find_reverse
entity Organization for Security and Co-operation in Europe
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Organization for Security and Co-operation in Europe']
SELECT DISTINCT ?p WHERE { ?p property:employer resource:Organization_for_Security_and_Co-operation_in_Europe . ?p rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q308950
P725
Q502895 Q95074
USER
Which fictional characters did around the same number of people dub for as Ash Ketchum ?
(c(Q95074),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q308950
relation P725
type Q95074
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?f ) WHERE { ?l rdf:type ontology:Q95074 . ?q rdf:type ontology:Q502895 . ?l property:P725 ?q } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { resource:Q308950 property:P725 ?o . ?o rdf:type ontology:Q95074 } } . FILTER ( ?f = ?z ) }
Ash Ketchum
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Ash Ketchum
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?f ) WHERE { ?l rdf:type ontology:fictional_character . ?q rdf:type ontology:common_name . ?l property:voice_actor ?q } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { resource:Ash_Ketchum property:voice_actor ?o . ?o rdf:type ontology:fictional_character } } . FILTER ( ?f = ?z ) }
[]
common name fictional character
Q7828 Q7810 Q247120
SYSTEM
Marge Simpson, Homer Simpson, Neo
Q21847055 Q308950 Q28465 Q551327 Q2442950 Q7828 Q3838346 Q8139731 Q247120 Q1529229 Q27493503 Q605125 Q5846 Q7810 Q2725247
(c(Q95074),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q308950
relation P725
type Q95074
[ANSWERS] did around the same number of people dub for as Ash Ketchum
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?f ) WHERE { ?l rdf:type ontology:Q95074 . ?q rdf:type ontology:Q502895 . ?l property:P725 ?q } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { resource:Q308950 property:P725 ?o . ?o rdf:type ontology:Q95074 } } . FILTER ( ?f = ?z ) }
Itsuki Tachibana Ash Ketchum Peter Griffin terminator Max Rockatansky Marge Simpson Lucas G-Man Neo Darkwing Duck Desoto GLaDOS Lisa Simpson Homer Simpson Ness
Marge Simpson, Homer Simpson and Neo did around the same number of people dub for as Ash Ketchum
Marge Simpson Homer Simpson Neo
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Ash Ketchum
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?f ) WHERE { ?l rdf:type ontology:fictional_character . ?q rdf:type ontology:common_name . ?l property:voice_actor ?q } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { resource:Ash_Ketchum property:voice_actor ?o . ?o rdf:type ontology:fictional_character } } . FILTER ( ?f = ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q8139731
P725
Q502895 Q95074
USER
And how about G-Man?
(c(Q95074),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q8139731
relation P725
type Q95074
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?c ) WHERE { ?w property:P725 ?s . ?w rdf:type ontology:Q95074 . ?s rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Q8139731 property:P725 ?u . ?u rdf:type ontology:Q95074 } } . FILTER ( ?c = ?f ) }
G-Man
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity G-Man
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?c ) WHERE { ?w property:voice_actor ?s . ?w rdf:type ontology:fictional_character . ?s rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:G-Man property:voice_actor ?u . ?u rdf:type ontology:fictional_character } } . FILTER ( ?c = ?f ) }
[]
common name fictional character
Q7828 Q7810 Q247120
SYSTEM
Marge Simpson, Homer Simpson, Neo
Q21847055 Q308950 Q28465 Q551327 Q2442950 Q7828 Q3838346 Q8139731 Q247120 Q1529229 Q27493503 Q605125 Q5846 Q7810 Q2725247
(c(Q95074),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q8139731
relation P725
type Q95074
[ANSWERS]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?c ) WHERE { ?w property:P725 ?s . ?w rdf:type ontology:Q95074 . ?s rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Q8139731 property:P725 ?u . ?u rdf:type ontology:Q95074 } } . FILTER ( ?c = ?f ) }
Itsuki Tachibana Ash Ketchum Peter Griffin terminator Max Rockatansky Marge Simpson Lucas G-Man Neo Darkwing Duck Desoto GLaDOS Lisa Simpson Homer Simpson Ness
Marge Simpson Homer Simpson Neo
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity G-Man
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?c ) WHERE { ?w property:voice_actor ?s . ?w rdf:type ontology:fictional_character . ?s rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:G-Man property:voice_actor ?u . ?u rdf:type ontology:fictional_character } } . FILTER ( ?c = ?f ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P674
Q95074 Q15850590
USER
How many fictional characters plays a role in less number of theatrical genres than that fictional character ?
(c(Q15850590),P674,c(Q95074))
[{'concept': 'Q15850590'}, 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P674 ?y . ?z rdf:type ontology:Q15850590 . ?y rdf:type ontology:Q95074 }
[{'concept': 'theatrical genre'}, 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:characters ?y . ?z rdf:type ontology:theatrical_genre . ?y rdf:type ontology:fictional_character }
[]
fictional character theatrical genre
Comparative|Count over More/Less|Single entity type|Clarification
Q247120
SYSTEM
Did you mean Neo ?
(c(Q15850590),P674,c(Q95074))
[ANSWER]
[{'concept': 'Q15850590'}, 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P674 ?y . ?z rdf:type ontology:Q15850590 . ?y rdf:type ontology:Q95074 }
Did you mean Neo ?
Neo
[{'concept': 'theatrical genre'}, 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:characters ?y . ?z rdf:type ontology:theatrical_genre . ?y rdf:type ontology:fictional_character }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Marge Simpson. Could you tell me the answer for that?
(c(Q15850590),P674,c(Q95074))
Q7828
[{'concept': 'Q15850590'}, 'P674', {'concept': 'Q95074'}]
[{'concept': 'theatrical genre'}, 'characters', {'concept': 'fictional character'}]
[]
SYSTEM
0
(c(Q15850590),P674,c(Q95074))
[ANSWER]
[{'concept': 'Q15850590'}, 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P674 ?y . ?z rdf:type ontology:Q15850590 . ?y rdf:type ontology:Q95074 }
0
[{'concept': 'theatrical genre'}, 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:characters ?y . ?z rdf:type ontology:theatrical_genre . ?y rdf:type ontology:fictional_character }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1581495
P20
Q56061
USER
Where did the expiration of Hans Neusel occur ?
(Q1581495,P20,c(Q56061))
action filter_type
action find
entity Q1581495
relation P20
type Q56061
['Q1581495', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q1581495 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Hans Neusel
action filter_type
action find
entity Hans Neusel
relation place of death
type administrative territorial entity
['Hans Neusel', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Hans_Neusel property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q586
SYSTEM
Bonn
Q586
(Q1581495,P20,c(Q56061))
action filter_type
action find
entity Q1581495
relation P20
type Q56061
The expiration of Hans Neusel occurred in [ANSWER]
['Q1581495', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q1581495 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Bonn
The expiration of Hans Neusel occurred in Bonn
Bonn
action filter_type
action find
entity Hans Neusel
relation place of death
type administrative territorial entity
['Hans Neusel', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Hans_Neusel property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]