Simple Question (Direct)
Simple Question
Q19289863
P106
Q12737077
USER
What do Antònia Vilàs i Ferràndiz do for a living ?
(Q19289863,P106,c(Q12737077))
action filter_type
action find
entity Q19289863
relation P106
type Q12737077
['Q19289863', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q19289863 property:P106 ?i }
Antònia Vilàs i Ferràndiz
action filter_type
action find
entity Antònia Vilàs i Ferràndiz
relation occupation
type occupation
['Antònia Vilàs i Ferràndiz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Antònia_Vilàs_i_Ferràndiz property:occupation ?i }
[]
occupation
Q43845 Q36834
SYSTEM
businessperson, composer
Q43845 Q36834
(Q19289863,P106,c(Q12737077))
action filter_type
action find
entity Q19289863
relation P106
type Q12737077
[ANSWERS] Antònia Vilàs i Ferràndiz do for a living
['Q19289863', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q19289863 property:P106 ?i }
businessperson composer
Businessperson and composer Antònia Vilàs i Ferràndiz do for a living
businessperson composer
action filter_type
action find
entity Antònia Vilàs i Ferràndiz
relation occupation
type occupation
['Antònia Vilàs i Ferràndiz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Antònia_Vilàs_i_Ferràndiz property:occupation ?i }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q43845 Q36834
P39
Q502895
USER
Which people held the position of businessperson and composer ?
(c(Q502895),P39,Q43845) (c(Q502895),P39,Q36834)
action union
action filter_type
action find_reverse
entity Q43845
relation P39
type Q502895
action filter_type
action find_reverse
entity Q36834
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q43845'] [{'concept': 'Q502895'}, 'P39', 'Q36834']
SELECT DISTINCT ?k WHERE { { ?k property:P39 resource:Q43845 . ?k rdf:type ontology:Q502895 } UNION { ?k property:P39 resource:Q36834 . ?k rdf:type ontology:Q502895 } }
businessperson composer
action union
action filter_type
action find_reverse
entity businessperson
relation position held
type common name
action filter_type
action find_reverse
entity composer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'businessperson'] [{'concept': 'common name'}, 'position held', 'composer']
SELECT DISTINCT ?k WHERE { { ?k property:position_held resource:businessperson . ?k rdf:type ontology:common_name } UNION { ?k property:position_held resource:composer . ?k rdf:type ontology:common_name } }
[]
common name
Q119937 Q3193394
SYSTEM
Henri-Louis Pernod, Karl Hajos
Q119937 Q3193394
(c(Q502895),P39,Q43845) (c(Q502895),P39,Q36834)
action union
action filter_type
action find_reverse
entity Q43845
relation P39
type Q502895
action filter_type
action find_reverse
entity Q36834
relation P39
type Q502895
[ANSWERS] held the position of businessperson and composer
[{'concept': 'Q502895'}, 'P39', 'Q43845'] [{'concept': 'Q502895'}, 'P39', 'Q36834']
SELECT DISTINCT ?k WHERE { { ?k property:P39 resource:Q43845 . ?k rdf:type ontology:Q502895 } UNION { ?k property:P39 resource:Q36834 . ?k rdf:type ontology:Q502895 } }
Henri-Louis Pernod Karl Hajos
Henri-Louis Pernod and Karl Hajos held the position of businessperson and composer
Henri-Louis Pernod Karl Hajos
action union
action filter_type
action find_reverse
entity businessperson
relation position held
type common name
action filter_type
action find_reverse
entity composer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'businessperson'] [{'concept': 'common name'}, 'position held', 'composer']
SELECT DISTINCT ?k WHERE { { ?k property:position_held resource:businessperson . ?k rdf:type ontology:common_name } UNION { ?k property:position_held resource:composer . ?k rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3193394
P21
Q290
USER
Which sex does Karl Hajos have ?
(Q3193394,P21,c(Q290))
action filter_type
action find
entity Q3193394
relation P21
type Q290
['Q3193394', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q3193394 property:P21 ?b . ?b rdf:type ontology:Q290 }
Karl Hajos
action filter_type
action find
entity Karl Hajos
relation gender
type sex
['Karl Hajos', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Karl_Hajos property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3193394,P21,c(Q290))
action filter_type
action find
entity Q3193394
relation P21
type Q290
Karl Hajos has a [ANSWER]
['Q3193394', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q3193394 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
Karl Hajos has a male
male
action filter_type
action find
entity Karl Hajos
relation gender
type sex
['Karl Hajos', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Karl_Hajos property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16240038
Q290
USER
And how about Jaheel Hyde?
(Q16240038,P21,c(Q290))
action filter_type
action find
entity Q16240038
relation P21
type Q290
['Q16240038', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q16240038 property:P21 ?c . ?c rdf:type ontology:Q290 }
Jaheel Hyde
action filter_type
action find
entity Jaheel Hyde
relation gender
type sex
['Jaheel Hyde', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Jaheel_Hyde property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16240038,P21,c(Q290))
action filter_type
action find
entity Q16240038
relation P21
type Q290
[ANSWER]
['Q16240038', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q16240038 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Jaheel Hyde
relation gender
type sex
['Jaheel Hyde', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Jaheel_Hyde property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P194
Q11204
USER
Which legislature represents United States of America ?
(Q30,P194,c(Q11204))
action filter_type
action find
entity Q30
relation P194
type Q11204
['Q30', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?i WHERE { resource:Q30 property:P194 ?i . ?i rdf:type ontology:Q11204 }
United States of America
action filter_type
action find
entity United States of America
relation legislative body
type legislature
['United States of America', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?i WHERE { resource:United_States_of_America property:legislative_body ?i . ?i rdf:type ontology:legislature }
[]
legislature
Q11268
SYSTEM
United States Congress
Q11268
(Q30,P194,c(Q11204))
action filter_type
action find
entity Q30
relation P194
type Q11204
U [ANSWER] represents United States of America
['Q30', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?i WHERE { resource:Q30 property:P194 ?i . ?i rdf:type ontology:Q11204 }
United States Congress
U United States Congress represents United States of America
United States Congress
action filter_type
action find
entity United States of America
relation legislative body
type legislature
['United States of America', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?i WHERE { resource:United_States_of_America property:legislative_body ?i . ?i rdf:type ontology:legislature }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P530
Q1048835
USER
What political territories have diplomatic relationships with United States of America ?
(Q30,P530,c(Q1048835))
action filter_type
action find
entity Q30
relation P530
type Q1048835
['Q30', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1048835 . resource:Q30 property:P530 ?b }
United States of America
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_territorial_entity . resource:United_States_of_America property:diplomatic_relation ?b }
[]
political territorial entity
Q16 Q408 Q183
SYSTEM
Canada, Australia, Germany
Q16 Q408 Q183
(Q30,P530,c(Q1048835))
action filter_type
action find
entity Q30
relation P530
type Q1048835
[ANSWERS] have diplomatic relationships with United States of America
['Q30', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1048835 . resource:Q30 property:P530 ?b }
Canada Australia Germany
Canada, Australia and Germany have diplomatic relationships with United States of America
Canada Australia Germany
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_territorial_entity . resource:United_States_of_America property:diplomatic_relation ?b }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q30
Q15617994
USER
And which administrative territory?
(Q30,P530,c(Q15617994))
action filter_type
action find
entity Q30
relation P530
type Q15617994
['Q30', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q30 property:P530 ?f . ?f rdf:type ontology:Q15617994 }
United States of America
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:United_States_of_America property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q805 Q159 Q222 Q801 Q155 Q148 Q796 Q347 Q17 Q37 Q889 Q668 Q403 Q1011 Q38 Q414 Q953
(Q30,P530,c(Q15617994))
action filter_type
action find
entity Q30
relation P530
type Q15617994
[ANSWERS]
['Q30', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q30 property:P530 ?f . ?f rdf:type ontology:Q15617994 }
Yemen Russia Albania Israel Brazil People's Republic of China Iraq Liechtenstein Japan Lithuania Afghanistan India Serbia Cape Verde Italy Argentina Zambia
Italy Brazil Russia
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:United_States_of_America property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q155
P85
Q7725634
USER
Which literary work is the anthem for that administrative territory ?
(Q155,P85,c(Q7725634))
action filter_type
action find
entity Q155
relation P85
type Q7725634
['Q155', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?q WHERE { resource:Q155 property:P85 ?q . ?q rdf:type ontology:Q7725634 }
Brazil
action filter_type
action find
entity Brazil
relation anthem
type literary work
['Brazil', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?q WHERE { resource:Brazil property:anthem ?q . ?q rdf:type ontology:literary_work }
[]
literary work
Clarification for simple ques.
Q155
SYSTEM
Did you mean Brazil ?
Q38 Q155 Q159
(Q38,P85,c(Q7725634)) (Q155,P85,c(Q7725634)) (Q159,P85,c(Q7725634))
[ANSWER]
['Q38', 'P85', {'concept': 'Q7725634'}] ['Q155', 'P85', {'concept': 'Q7725634'}] ['Q159', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?q WHERE { resource:Q155 property:P85 ?q . ?q rdf:type ontology:Q7725634 }
Italy Brazil Russia
Did you mean Brazil ?
Brazil
['Italy', 'anthem', {'concept': 'literary work'}] ['Brazil', 'anthem', {'concept': 'literary work'}] ['Russia', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?q WHERE { resource:Brazil property:anthem ?q . ?q rdf:type ontology:literary_work }
[]
Simple Question (Coreferenced)
USER
Yes
(Q155,P85,c(Q7725634))
['Q155', 'P85', {'concept': 'Q7725634'}]
['Brazil', 'anthem', {'concept': 'literary work'}]
[]
Q134654
SYSTEM
Brazilian National Anthem
Q134654
(Q155,P85,c(Q7725634))
action filter_type
action find
entity Q155
relation P85
type Q7725634
The [ANSWER] is the anthem for that administrative territory
['Q155', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?q WHERE { resource:Q155 property:P85 ?q . ?q rdf:type ontology:Q7725634 }
Brazilian National Anthem
The Brazilian National Anthem is the anthem for that administrative territory
Brazilian National Anthem
action filter_type
action find
entity Brazil
relation anthem
type literary work
['Brazil', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?q WHERE { resource:Brazil property:anthem ?q . ?q rdf:type ontology:literary_work }
[]