Simple Question (Direct)
Simple Question
Q547521
P106
Q12737077
USER
What are the job of Donna Fargo ?
(Q547521,P106,c(Q12737077))
action filter_type
action find
entity Q547521
relation P106
type Q12737077
['Q547521', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q547521 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Donna Fargo
action filter_type
action find
entity Donna Fargo
relation occupation
type occupation
['Donna Fargo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Donna_Fargo property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q639669 Q488205 Q177220
SYSTEM
musician, singer-songwriter, singer
Q639669 Q488205 Q177220
(Q547521,P106,c(Q12737077))
action filter_type
action find
entity Q547521
relation P106
type Q12737077
The job of Donna Fargo are the [ANSWERS]
['Q547521', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q547521 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
musician singer-songwriter singer
The job of Donna Fargo are the musician, singer-songwriter and singer
musician singer-songwriter singer
action filter_type
action find
entity Donna Fargo
relation occupation
type occupation
['Donna Fargo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Donna_Fargo property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q639669
P101
Q502895
USER
Which people have his/her area as musician ?
(c(Q502895),P101,Q639669)
action filter_type
action find_reverse
entity Q639669
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q639669']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P101 resource:Q639669 }
musician
action filter_type
action find_reverse
entity musician
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'musician']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:field_of_work resource:musician }
[]
common name
Q554775 Q961575 Q20893924
SYSTEM
Frans Bak, Johan Agrell, Natalia Strelchenko
Q554775 Q961575 Q20893924
(c(Q502895),P101,Q639669)
action filter_type
action find_reverse
entity Q639669
relation P101
type Q502895
[ANSWERS] have his/her area as musician
[{'concept': 'Q502895'}, 'P101', 'Q639669']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P101 resource:Q639669 }
Frans Bak Johan Agrell Natalia Strelchenko
Frans Bak, Johan Agrell and Natalia Strelchenko have his/her area as musician
Frans Bak Johan Agrell Natalia Strelchenko
action filter_type
action find_reverse
entity musician
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'musician']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:field_of_work resource:musician }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20893924
P27
Q15617994
USER
Which administrative territory is Natalia Strelchenko a civilian of ?
(Q20893924,P27,c(Q15617994))
action filter_type
action find
entity Q20893924
relation P27
type Q15617994
['Q20893924', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q20893924 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Natalia Strelchenko
action filter_type
action find
entity Natalia Strelchenko
relation country of citizenship
type designation for an administrative territorial entity
['Natalia Strelchenko', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Natalia_Strelchenko property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q20893924,P27,c(Q15617994))
action filter_type
action find
entity Q20893924
relation P27
type Q15617994
[ANSWER] is Natalia Strelchenko a civilian of
['Q20893924', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q20893924 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Norway
Norway is Natalia Strelchenko a civilian of
Norway
action filter_type
action find
entity Natalia Strelchenko
relation country of citizenship
type designation for an administrative territorial entity
['Natalia Strelchenko', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Natalia_Strelchenko property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q6844441 Q20893924
P27
Q15617994
USER
Or Miguel Asencio?
OR((Q20893924,P27,c(Q15617994)), (Q6844441,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q20893924
relation P27
action find
entity Q6844441
relation P27
type Q15617994
{'OR': [['Q20893924', 'P27', {'concept': 'Q15617994'}], ['Q6844441', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . { VALUES ( ?q ) { ( resource:Q6844441 ) ( resource:Q20893924 ) } . ?q property:P27 ?u } }
Miguel Asencio Natalia Strelchenko
action filter_type
action union
action find
entity Natalia Strelchenko
relation country of citizenship
action find
entity Miguel Asencio
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Natalia Strelchenko', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Miguel Asencio', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?q ) { ( resource:Miguel_Asencio ) ( resource:Natalia_Strelchenko ) } . ?q property:country_of_citizenship ?u } }
[]
designation for an administrative territorial entity
Q20 Q784
SYSTEM
Norway, Dominica
Q20 Q784
OR((Q20893924,P27,c(Q15617994)), (Q6844441,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q20893924
relation P27
action find
entity Q6844441
relation P27
type Q15617994
[ANSWERS]
{'OR': [['Q20893924', 'P27', {'concept': 'Q15617994'}], ['Q6844441', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . { VALUES ( ?q ) { ( resource:Q6844441 ) ( resource:Q20893924 ) } . ?q property:P27 ?u } }
Norway Dominica
Norway Dominica
action filter_type
action union
action find
entity Natalia Strelchenko
relation country of citizenship
action find
entity Miguel Asencio
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Natalia Strelchenko', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Miguel Asencio', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?q ) { ( resource:Miguel_Asencio ) ( resource:Natalia_Strelchenko ) } . ?q property:country_of_citizenship ?u } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q20 Q784
P35
Q502895
USER
Who are the chiefs of state of Norway and Dominica ?
(Q20,P35,c(Q502895)) (Q784,P35,c(Q502895))
action union
action filter_type
action find
entity Q20
relation P35
type Q502895
action filter_type
action find
entity Q784
relation P35
type Q502895
['Q20', 'P35', {'concept': 'Q502895'}] ['Q784', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?b ) { ( resource:Q784 ) ( resource:Q20 ) } . ?b property:P35 ?m }
Norway Dominica
action union
action filter_type
action find
entity Norway
relation head of state
type common name
action filter_type
action find
entity Dominica
relation head of state
type common name
['Norway', 'head of state', {'concept': 'common name'}] ['Dominica', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?b ) { ( resource:Dominica ) ( resource:Norway ) } . ?b property:head_of_state ?m }
[]
common name
Q57287 Q1707507 Q2960197
SYSTEM
Harald V of Norway, Eliud Williams, Charles Savarin
Q57287 Q1707507 Q2960197
(Q20,P35,c(Q502895)) (Q784,P35,c(Q502895))
action union
action filter_type
action find
entity Q20
relation P35
type Q502895
action filter_type
action find
entity Q784
relation P35
type Q502895
The chiefs of state of Norway and Dominica are King [ANSWERS]
['Q20', 'P35', {'concept': 'Q502895'}] ['Q784', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?b ) { ( resource:Q784 ) ( resource:Q20 ) } . ?b property:P35 ?m }
Harald V of Norway Eliud Williams Charles Savarin
The chiefs of state of Norway and Dominica are King Harald V of Norway, Eliud Williams and Charles Savarin
Harald V of Norway Eliud Williams Charles Savarin
action union
action filter_type
action find
entity Norway
relation head of state
type common name
action filter_type
action find
entity Dominica
relation head of state
type common name
['Norway', 'head of state', {'concept': 'common name'}] ['Dominica', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?b ) { ( resource:Dominica ) ( resource:Norway ) } . ?b property:head_of_state ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20
P47
Q15617994
USER
Which administrative territories share border with Norway ?
(c(Q15617994),P47,Q20)
action filter_type
action find
entity Q20
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q20']
SELECT DISTINCT ?t WHERE { resource:Q20 property:P47 ?t . ?t rdf:type ontology:Q15617994 }
Norway
action filter_type
action find
entity Norway
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Norway']
SELECT DISTINCT ?t WHERE { resource:Norway property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33 Q159 Q34
SYSTEM
Finland, Russia, Sweden
Q33 Q159 Q34
(c(Q15617994),P47,Q20)
action filter_type
action find
entity Q20
relation P47
type Q15617994
[ANSWERS] share border with Norway
[{'concept': 'Q15617994'}, 'P47', 'Q20']
SELECT DISTINCT ?t WHERE { resource:Q20 property:P47 ?t . ?t rdf:type ontology:Q15617994 }
Finland Russia Sweden
Finland, Russia and Sweden share border with Norway
Finland Russia Sweden
action filter_type
action find
entity Norway
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Norway']
SELECT DISTINCT ?t WHERE { resource:Norway property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q159
P30
Q2221906
USER
Where are that administrative territory located ?
(Q159,P30,c(Q2221906))
action filter_type
action find
entity Q159
relation P30
type Q2221906
['Q159', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q2221906 . resource:Q159 property:P30 ?p }
Russia
action filter_type
action find
entity Russia
relation continent
type geographic location
['Russia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:geographic_location . resource:Russia property:continent ?p }
[]
geographic location
Clarification for simple ques.
Q33
SYSTEM
Did you mean Finland ?
Q33 Q159 Q34
(Q33,P30,c(Q2221906)) (Q159,P30,c(Q2221906)) (Q34,P30,c(Q2221906))
[ANSWER]
['Q33', 'P30', {'concept': 'Q2221906'}] ['Q159', 'P30', {'concept': 'Q2221906'}] ['Q34', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q2221906 . resource:Q159 property:P30 ?p }
Finland Russia Sweden
Did you mean Finland ?
Finland
['Finland', 'continent', {'concept': 'geographic location'}] ['Russia', 'continent', {'concept': 'geographic location'}] ['Sweden', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:geographic_location . resource:Russia property:continent ?p }
[]
Simple Question (Coreferenced)
USER
No, I meant Russia. Could you tell me the answer for that?
(Q159,P30,c(Q2221906))
Q159
['Q159', 'P30', {'concept': 'Q2221906'}]
['Russia', 'continent', {'concept': 'geographic location'}]
[]
Q46 Q5401 Q48
SYSTEM
Europe, Eurasia, Asia
Q46 Q5401 Q48
(Q159,P30,c(Q2221906))
action filter_type
action find
entity Q159
relation P30
type Q2221906
That administrative territory are located in [ANSWERS]
['Q159', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q2221906 . resource:Q159 property:P30 ?p }
Europe Eurasia Asia
That administrative territory are located in Europe, Eurasia and Asia
Europe Eurasia Asia
action filter_type
action find
entity Russia
relation continent
type geographic location
['Russia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:geographic_location . resource:Russia property:continent ?p }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P610
Q14524493 Q2221906
USER
Which geographic locations are around the same number of terrains the zenith of as that geographic location ?
(c(Q2221906),P610,c(Q14524493))
[{'concept': 'Q2221906'}, 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?z WHERE { ?z property:P610 ?y . ?z rdf:type ontology:Q2221906 . ?y rdf:type ontology:Q14524493 }
[{'concept': 'geographic location'}, 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?z WHERE { ?z property:highest_point ?y . ?z rdf:type ontology:geographic_location . ?y rdf:type ontology:terrain }
[]
terrain geographic location
Comparative|More/Less|Single entity type|Clarification
Q46
SYSTEM
Did you mean Europe ?
(c(Q2221906),P610,c(Q14524493))
[ANSWER]
[{'concept': 'Q2221906'}, 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?z WHERE { ?z property:P610 ?y . ?z rdf:type ontology:Q2221906 . ?y rdf:type ontology:Q14524493 }
Did you mean Europe ?
Europe
[{'concept': 'geographic location'}, 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?z WHERE { ?z property:highest_point ?y . ?z rdf:type ontology:geographic_location . ?y rdf:type ontology:terrain }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q2221906),P610,c(Q14524493))
[{'concept': 'Q2221906'}, 'P610', {'concept': 'Q14524493'}]
[{'concept': 'geographic location'}, 'highest point', {'concept': 'terrain'}]
[]
Q27561 Q15 Q431907
SYSTEM
Caribbean Netherlands, Africa, Sierra de la Culata
Q27561 Q15 Q4839052 Q442655 Q431907
(c(Q2221906),P610,c(Q14524493))
[ANSWERS] are around the same number of terrains the zenith of as that geographic location
[{'concept': 'Q2221906'}, 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?z WHERE { ?z property:P610 ?y . ?z rdf:type ontology:Q2221906 . ?y rdf:type ontology:Q14524493 }
Caribbean Netherlands Africa Back Allegheny Mountain Altmark Sierra de la Culata
Caribbean Netherlands, Africa and Sierra de la Culata are around the same number of terrains the zenith of as that geographic location
Caribbean Netherlands Africa Sierra de la Culata
[{'concept': 'geographic location'}, 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?z WHERE { ?z property:highest_point ?y . ?z rdf:type ontology:geographic_location . ?y rdf:type ontology:terrain }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q665708 Q20893924
P19 P137
Q15617994
USER
Which administrative territories were Natalia Strelchenko born in or manages King Air ?
OR((Q20893924,P19,c(Q15617994)), (Q665708,P137,c(Q15617994)))
action filter_type
action union
action find
entity Q20893924
relation P19
action find
entity Q665708
relation P137
type Q15617994
{'OR': [['Q20893924', 'P19', {'concept': 'Q15617994'}], ['Q665708', 'P137', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q20893924 property:P19 ?s } UNION { resource:Q665708 property:P137 ?s } } . ?s rdf:type ontology:Q15617994 }
King Air Natalia Strelchenko
action filter_type
action union
action find
entity Natalia Strelchenko
relation place of birth
action find
entity King Air
relation operator
type designation for an administrative territorial entity
{'OR': [['Natalia Strelchenko', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['King Air', 'operator', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Natalia_Strelchenko property:place_of_birth ?s } UNION { resource:King_Air property:operator ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159 Q262 Q963 Q916 Q414 Q750
SYSTEM
Russia, Algeria, Botswana, Angola, Argentina, Bolivia
Q159 Q262 Q963 Q916 Q414 Q750
OR((Q20893924,P19,c(Q15617994)), (Q665708,P137,c(Q15617994)))
action filter_type
action union
action find
entity Q20893924
relation P19
action find
entity Q665708
relation P137
type Q15617994
Natalia Strelchenko were born manages Angola [ANSWERS]
{'OR': [['Q20893924', 'P19', {'concept': 'Q15617994'}], ['Q665708', 'P137', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q20893924 property:P19 ?s } UNION { resource:Q665708 property:P137 ?s } } . ?s rdf:type ontology:Q15617994 }
Russia Algeria Botswana Angola Argentina Bolivia
Natalia Strelchenko were born manages Angola Russia, Algeria, Botswana, Angola, Argentina and Bolivia
Russia Algeria Botswana Angola Argentina Bolivia
action filter_type
action union
action find
entity Natalia Strelchenko
relation place of birth
action find
entity King Air
relation operator
type designation for an administrative territorial entity
{'OR': [['Natalia Strelchenko', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['King Air', 'operator', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Natalia_Strelchenko property:place_of_birth ?s } UNION { resource:King_Air property:operator ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]