Simple Question (Direct)
Simple Question
Q6139390
P102
Q7210356
USER
Which political organization is James McInnes a member of ?
(Q6139390,P102,c(Q7210356))
action filter_type
action find
entity Q6139390
relation P102
type Q7210356
['Q6139390', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { resource:Q6139390 property:P102 ?u . ?u rdf:type ontology:Q7210356 }
James McInnes
action filter_type
action find
entity James McInnes
relation member of political party
type political organization
['James McInnes', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { resource:James_McInnes property:member_of_political_party ?u . ?u rdf:type ontology:political_organization }
[]
political organization
Q9630
SYSTEM
Labour Party
Q9630
(Q6139390,P102,c(Q7210356))
action filter_type
action find
entity Q6139390
relation P102
type Q7210356
The [ANSWER] is James McInnes a member of
['Q6139390', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { resource:Q6139390 property:P102 ?u . ?u rdf:type ontology:Q7210356 }
Labour Party
The Labour Party is James McInnes a member of
Labour Party
action filter_type
action find
entity James McInnes
relation member of political party
type political organization
['James McInnes', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { resource:James_McInnes property:member_of_political_party ?u . ?u rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9630
P361
Q12737077
USER
Which occupations are a portion of that political organization ?
(c(Q12737077),P361,Q9630)
action filter_type
action find_reverse
entity Q9630
relation P361
type Q12737077
[{'concept': 'Q12737077'}, 'P361', 'Q9630']
SELECT DISTINCT ?v WHERE { ?v property:P361 resource:Q9630 . ?v rdf:type ontology:Q12737077 }
Labour Party
action filter_type
action find_reverse
entity Labour Party
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'Labour Party']
SELECT DISTINCT ?v WHERE { ?v property:part_of resource:Labour_Party . ?v rdf:type ontology:occupation }
[]
occupation
Q6467390 Q3615378
SYSTEM
Labour Chief Whip, Leader of the Labour Party
Q6467390 Q3615378
(c(Q12737077),P361,Q9630)
action filter_type
action find_reverse
entity Q9630
relation P361
type Q12737077
[ANSWERS] are a portion of that political organization
[{'concept': 'Q12737077'}, 'P361', 'Q9630']
SELECT DISTINCT ?v WHERE { ?v property:P361 resource:Q9630 . ?v rdf:type ontology:Q12737077 }
Labour Chief Whip Leader of the Labour Party
Labour Chief Whip and Leader of the Labour Party are a portion of that political organization
Labour Chief Whip Leader of the Labour Party
action filter_type
action find_reverse
entity Labour Party
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'Labour Party']
SELECT DISTINCT ?v WHERE { ?v property:part_of resource:Labour_Party . ?v rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q578990 Q6467390
P361 P102
Q7210356
USER
Which political organizations are Labour Chief Whip a part of and are Meg Munn a member of ?
AND((Q6467390,P361,c(Q7210356)), (Q578990,P102,c(Q7210356)))
action filter_type
action intersection
action find
entity Q6467390
relation P361
action find
entity Q578990
relation P102
type Q7210356
{'AND': [['Q6467390', 'P361', {'concept': 'Q7210356'}], ['Q578990', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?b WHERE { resource:Q6467390 property:P361 ?b . resource:Q578990 property:P102 ?b . ?b rdf:type ontology:Q7210356 }
Meg Munn Labour Chief Whip
action filter_type
action intersection
action find
entity Labour Chief Whip
relation part of
action find
entity Meg Munn
relation member of political party
type political organization
{'AND': [['Labour Chief Whip', 'part of', {'concept': 'political organization'}], ['Meg Munn', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?b WHERE { resource:Labour_Chief_Whip property:part_of ?b . resource:Meg_Munn property:member_of_political_party ?b . ?b rdf:type ontology:political_organization }
[]
political organization
Q9630
SYSTEM
Labour Party
Q9630
AND((Q6467390,P361,c(Q7210356)), (Q578990,P102,c(Q7210356)))
action filter_type
action intersection
action find
entity Q6467390
relation P361
action find
entity Q578990
relation P102
type Q7210356
The [ANSWER] is Labour Chief Whip a part of and is Meg Munn a member of
{'AND': [['Q6467390', 'P361', {'concept': 'Q7210356'}], ['Q578990', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?b WHERE { resource:Q6467390 property:P361 ?b . resource:Q578990 property:P102 ?b . ?b rdf:type ontology:Q7210356 }
Labour Party
The Labour Party is Labour Chief Whip a part of and is Meg Munn a member of
Labour Party
action filter_type
action intersection
action find
entity Labour Chief Whip
relation part of
action find
entity Meg Munn
relation member of political party
type political organization
{'AND': [['Labour Chief Whip', 'part of', {'concept': 'political organization'}], ['Meg Munn', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?b WHERE { resource:Labour_Chief_Whip property:part_of ?b . resource:Meg_Munn property:member_of_political_party ?b . ?b rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q9630 Q216594 Q5334715
P488
Q502895
USER
Does Labour Party have Ed Miliband and Ed Culpepper as its chairperson ?
(Q9630,P488,Q216594) (Q9630,P488,Q5334715)
action is_in
entity Q9630
action intersection
action find_reverse
entity Q216594
relation P488
action find_reverse
entity Q5334715
relation P488
['Q9630', 'P488', 'Q216594'] ['Q9630', 'P488', 'Q5334715']
ASK WHERE { resource:Q9630 property:P488 resource:Q216594 . resource:Q9630 property:P488 resource:Q5334715 }
Labour Party Ed Miliband Ed Culpepper
action is_in
entity Labour Party
action intersection
action find_reverse
entity Ed Miliband
relation chairperson
action find_reverse
entity Ed Culpepper
relation chairperson
['Labour Party', 'chairperson', 'Ed Miliband'] ['Labour Party', 'chairperson', 'Ed Culpepper']
ASK WHERE { resource:Labour_Party property:chairperson resource:Ed_Miliband . resource:Labour_Party property:chairperson resource:Ed_Culpepper }
[]
common name
SYSTEM
YES and NO respectively
(Q9630,P488,Q216594) (Q9630,P488,Q5334715)
action is_in
entity Q9630
action intersection
action find_reverse
entity Q216594
relation P488
action find_reverse
entity Q5334715
relation P488
[ANSWER]
['Q9630', 'P488', 'Q216594'] ['Q9630', 'P488', 'Q5334715']
ASK WHERE { resource:Q9630 property:P488 resource:Q216594 . resource:Q9630 property:P488 resource:Q5334715 }
YES and NO respectively
action is_in
entity Labour Party
action intersection
action find_reverse
entity Ed Miliband
relation chairperson
action find_reverse
entity Ed Culpepper
relation chairperson
['Labour Party', 'chairperson', 'Ed Miliband'] ['Labour Party', 'chairperson', 'Ed Culpepper']
ASK WHERE { resource:Labour_Party property:chairperson resource:Ed_Miliband . resource:Labour_Party property:chairperson resource:Ed_Culpepper }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q6467390 Q5329131 Q5325377
P17
Q15617994
USER
Is Labour Chief Whip present in East Pennsboro Area School District and Eaglesfield ?
(Q6467390,P17,Q5329131) (Q6467390,P17,Q5325377)
action is_in
entity Q6467390
action intersection
action find_reverse
entity Q5329131
relation P17
action find_reverse
entity Q5325377
relation P17
['Q6467390', 'P17', 'Q5329131'] ['Q6467390', 'P17', 'Q5325377']
ASK WHERE { resource:Q6467390 property:P17 resource:Q5325377 . resource:Q6467390 property:P17 resource:Q5329131 }
Labour Chief Whip East Pennsboro Area School District Eaglesfield
action is_in
entity Labour Chief Whip
action intersection
action find_reverse
entity East Pennsboro Area School District
relation country
action find_reverse
entity Eaglesfield
relation country
['Labour Chief Whip', 'country', 'East Pennsboro Area School District'] ['Labour Chief Whip', 'country', 'Eaglesfield']
ASK WHERE { resource:Labour_Chief_Whip property:country resource:Eaglesfield . resource:Labour_Chief_Whip property:country resource:East_Pennsboro_Area_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q6467390,P17,Q5329131) (Q6467390,P17,Q5325377)
action is_in
entity Q6467390
action intersection
action find_reverse
entity Q5329131
relation P17
action find_reverse
entity Q5325377
relation P17
[ANSWER]
['Q6467390', 'P17', 'Q5329131'] ['Q6467390', 'P17', 'Q5325377']
ASK WHERE { resource:Q6467390 property:P17 resource:Q5325377 . resource:Q6467390 property:P17 resource:Q5329131 }
No
action is_in
entity Labour Chief Whip
action intersection
action find_reverse
entity East Pennsboro Area School District
relation country
action find_reverse
entity Eaglesfield
relation country
['Labour Chief Whip', 'country', 'East Pennsboro Area School District'] ['Labour Chief Whip', 'country', 'Eaglesfield']
ASK WHERE { resource:Labour_Chief_Whip property:country resource:Eaglesfield . resource:Labour_Chief_Whip property:country resource:East_Pennsboro_Area_School_District }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q550594
P180
Q12737077 Q17638008 Q15709879
USER
Which occupations are depicted in greater number of game equipment or artwork series than fishmonger ?
(c(Q17638008)|c(Q15709879),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q550594
relation P180
type Q17638008
type Q15709879
[[{'concept': 'Q17638008'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?l ) WHERE { { ?h property:P180 ?f . ?f rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q17638008 } UNION { ?h property:P180 ?f . ?f rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q15709879 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { ?q property:P180 resource:Q550594 . { VALUES ( ?o ) { ( ontology:Q15709879 ) ( ontology:Q17638008 ) } . ?q rdf:type ?o } } } . FILTER ( ?l > ?y ) }
fishmonger
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action count
action filter_multi_types
action find_reverse
entity fishmonger
relation depicts
type game equipment
type artwork series
[[{'concept': 'game equipment'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?l ) WHERE { { ?h property:depicts ?f . ?f rdf:type ontology:occupation . ?h rdf:type ontology:game_equipment } UNION { ?h property:depicts ?f . ?f rdf:type ontology:occupation . ?h rdf:type ontology:artwork_series } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { ?q property:depicts resource:fishmonger . { VALUES ( ?o ) { ( ontology:artwork_series ) ( ontology:game_equipment ) } . ?q rdf:type ?o } } } . FILTER ( ?l > ?y ) }
[]
occupation game equipment artwork series
Q838811 Q47064 Q805221
SYSTEM
peasant, military personnel, ballet dancer
Q47064 Q805221 Q12097 Q12059906 Q622630 Q838811 Q39631
(c(Q17638008)|c(Q15709879),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q550594
relation P180
type Q17638008
type Q15709879
The [ANSWERS] are depicted in greater number of game equipment or artwork series than fishmonger
[[{'concept': 'Q17638008'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?l ) WHERE { { ?h property:P180 ?f . ?f rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q17638008 } UNION { ?h property:P180 ?f . ?f rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q15709879 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { ?q property:P180 resource:Q550594 . { VALUES ( ?o ) { ( ontology:Q15709879 ) ( ontology:Q17638008 ) } . ?q rdf:type ?o } } } . FILTER ( ?l > ?y ) }
military personnel ballet dancer king herder odalisque peasant physician
The peasant, military personnel and ballet dancer are depicted in greater number of game equipment or artwork series than fishmonger
peasant military personnel ballet dancer
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action count
action filter_multi_types
action find_reverse
entity fishmonger
relation depicts
type game equipment
type artwork series
[[{'concept': 'game equipment'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?l ) WHERE { { ?h property:depicts ?f . ?f rdf:type ontology:occupation . ?h rdf:type ontology:game_equipment } UNION { ?h property:depicts ?f . ?f rdf:type ontology:occupation . ?h rdf:type ontology:artwork_series } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { ?q property:depicts resource:fishmonger . { VALUES ( ?o ) { ( ontology:artwork_series ) ( ontology:game_equipment ) } . ?q rdf:type ?o } } } . FILTER ( ?l > ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1161133
P180
Q12737077 Q17638008 Q15709879
USER
And what about pedicure?
(c(Q17638008)|c(Q15709879),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q1161133
relation P180
type Q17638008
type Q15709879
[[{'concept': 'Q17638008'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { ?e property:P180 resource:Q1161133 . { { ?e rdf:type ontology:Q17638008 } UNION { ?e rdf:type ontology:Q15709879 } } } } . FILTER ( ?q > ?x ) . { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?q ) WHERE { { ?r property:P180 ?b . ?b rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q17638008 } UNION { ?r property:P180 ?b . ?b rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q15709879 } } GROUP BY ?b } }
pedicure
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action count
action filter_multi_types
action find_reverse
entity pedicure
relation depicts
type game equipment
type artwork series
[[{'concept': 'game equipment'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { ?e property:depicts resource:pedicure . { { ?e rdf:type ontology:game_equipment } UNION { ?e rdf:type ontology:artwork_series } } } } . FILTER ( ?q > ?x ) . { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?q ) WHERE { { ?r property:depicts ?b . ?b rdf:type ontology:occupation . ?r rdf:type ontology:game_equipment } UNION { ?r property:depicts ?b . ?b rdf:type ontology:occupation . ?r rdf:type ontology:artwork_series } } GROUP BY ?b } }
[]
occupation game equipment artwork series
Q838811 Q47064 Q805221
SYSTEM
peasant, military personnel, ballet dancer
Q47064 Q805221 Q12097 Q12059906 Q622630 Q838811 Q39631
(c(Q17638008)|c(Q15709879),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q1161133
relation P180
type Q17638008
type Q15709879
[ANSWERS]
[[{'concept': 'Q17638008'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { ?e property:P180 resource:Q1161133 . { { ?e rdf:type ontology:Q17638008 } UNION { ?e rdf:type ontology:Q15709879 } } } } . FILTER ( ?q > ?x ) . { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?q ) WHERE { { ?r property:P180 ?b . ?b rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q17638008 } UNION { ?r property:P180 ?b . ?b rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q15709879 } } GROUP BY ?b } }
military personnel ballet dancer king herder odalisque peasant physician
peasant military personnel ballet dancer
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action count
action filter_multi_types
action find_reverse
entity pedicure
relation depicts
type game equipment
type artwork series
[[{'concept': 'game equipment'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { ?e property:depicts resource:pedicure . { { ?e rdf:type ontology:game_equipment } UNION { ?e rdf:type ontology:artwork_series } } } } . FILTER ( ?q > ?x ) . { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?q ) WHERE { { ?r property:depicts ?b . ?b rdf:type ontology:occupation . ?r rdf:type ontology:game_equipment } UNION { ?r property:depicts ?b . ?b rdf:type ontology:occupation . ?r rdf:type ontology:artwork_series } } GROUP BY ?b } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q805221
P425
Q11639
USER
Which dance is associated with the field of occupation that one ?
(Q805221,P425,c(Q11639))
action filter_type
action find
entity Q805221
relation P425
type Q11639
['Q805221', 'P425', {'concept': 'Q11639'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q11639 . resource:Q805221 property:P425 ?s }
ballet dancer
action filter_type
action find
entity ballet dancer
relation field of this occupation
type dance
['ballet dancer', 'field of this occupation', {'concept': 'dance'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:dance . resource:ballet_dancer property:field_of_this_occupation ?s }
[]
dance
Clarification for simple ques.
Q805221
SYSTEM
Did you mean ballet dancer ?
Q838811 Q47064 Q805221
(Q838811,P425,c(Q11639)) (Q47064,P425,c(Q11639)) (Q805221,P425,c(Q11639))
[ANSWER]
['Q838811', 'P425', {'concept': 'Q11639'}] ['Q47064', 'P425', {'concept': 'Q11639'}] ['Q805221', 'P425', {'concept': 'Q11639'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q11639 . resource:Q805221 property:P425 ?s }
peasant military personnel ballet dancer
Did you mean ballet dancer ?
ballet dancer
['peasant', 'field of this occupation', {'concept': 'dance'}] ['military personnel', 'field of this occupation', {'concept': 'dance'}] ['ballet dancer', 'field of this occupation', {'concept': 'dance'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:dance . resource:ballet_dancer property:field_of_this_occupation ?s }
[]
Simple Question (Coreferenced)
USER
Yes
(Q805221,P425,c(Q11639))
['Q805221', 'P425', {'concept': 'Q11639'}]
['ballet dancer', 'field of this occupation', {'concept': 'dance'}]
[]
Q41425
SYSTEM
ballet
Q41425
(Q805221,P425,c(Q11639))
action filter_type
action find
entity Q805221
relation P425
type Q11639
[ANSWER] is associated with the field of occupation that one
['Q805221', 'P425', {'concept': 'Q11639'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q11639 . resource:Q805221 property:P425 ?s }
ballet
Ballet is associated with the field of occupation that one
ballet
action filter_type
action find
entity ballet dancer
relation field of this occupation
type dance
['ballet dancer', 'field of this occupation', {'concept': 'dance'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:dance . resource:ballet_dancer property:field_of_this_occupation ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q41425
P101
Q502895
USER
Which people have his/her area as that dance ?
(c(Q502895),P101,Q41425)
action filter_type
action find_reverse
entity Q41425
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q41425']
SELECT DISTINCT ?u WHERE { ?u property:P101 resource:Q41425 . ?u rdf:type ontology:Q502895 }
ballet
action filter_type
action find_reverse
entity ballet
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'ballet']
SELECT DISTINCT ?u WHERE { ?u property:field_of_work resource:ballet . ?u rdf:type ontology:common_name }
[]
common name
Q24006005 Q24006006 Q711073
SYSTEM
Daniel Barry, Franklin Stevens, Frederick Ashton
Q24006005 Q24006006 Q711073
(c(Q502895),P101,Q41425)
action filter_type
action find_reverse
entity Q41425
relation P101
type Q502895
[ANSWERS] have his/her area as that dance
[{'concept': 'Q502895'}, 'P101', 'Q41425']
SELECT DISTINCT ?u WHERE { ?u property:P101 resource:Q41425 . ?u rdf:type ontology:Q502895 }
Daniel Barry Franklin Stevens Frederick Ashton
Daniel Barry, Franklin Stevens and Frederick Ashton have his/her area as that dance
Daniel Barry Franklin Stevens Frederick Ashton
action filter_type
action find_reverse
entity ballet
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'ballet']
SELECT DISTINCT ?u WHERE { ?u property:field_of_work resource:ballet . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9630
P108
Q502895
USER
Which people work for Labour Party ?
(c(Q502895),P108,Q9630)
action filter_type
action find_reverse
entity Q9630
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q9630']
SELECT DISTINCT ?y WHERE { ?y property:P108 resource:Q9630 . ?y rdf:type ontology:Q502895 }
Labour Party
action filter_type
action find_reverse
entity Labour Party
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Labour Party']
SELECT DISTINCT ?y WHERE { ?y property:employer resource:Labour_Party . ?y rdf:type ontology:common_name }
[]
common name
Q8064075 Q2086183 Q7782897
SYSTEM
Zack Exley, Philip Gould, Baron Gould of Brookwood, Theresa Stewart
Q8064075 Q2086183 Q7782897
(c(Q502895),P108,Q9630)
action filter_type
action find_reverse
entity Q9630
relation P108
type Q502895
[ANSWERS] work for Labour Party
[{'concept': 'Q502895'}, 'P108', 'Q9630']
SELECT DISTINCT ?y WHERE { ?y property:P108 resource:Q9630 . ?y rdf:type ontology:Q502895 }
Zack Exley Philip Gould, Baron Gould of Brookwood Theresa Stewart
Zack Exley, Philip Gould, Baron Gould of Brookwood and Theresa Stewart work for Labour Party
Zack Exley Philip Gould, Baron Gould of Brookwood Theresa Stewart
action filter_type
action find_reverse
entity Labour Party
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Labour Party']
SELECT DISTINCT ?y WHERE { ?y property:employer resource:Labour_Party . ?y rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2086183
P26
Q502895
USER
Who is the spouse of that one ?
(Q2086183,P26,c(Q502895))
action filter_type
action find
entity Q2086183
relation P26
type Q502895
['Q2086183', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q2086183 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Philip Gould, Baron Gould of Brookwood
action filter_type
action find
entity Philip Gould, Baron Gould of Brookwood
relation spouse
type common name
['Philip Gould, Baron Gould of Brookwood', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Philip_Gould,_Baron_Gould_of_Brookwood property:spouse ?s . ?s rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q7782897
SYSTEM
Did you mean Theresa Stewart ?
Q8064075 Q2086183 Q7782897
(Q8064075,P26,c(Q502895)) (Q2086183,P26,c(Q502895)) (Q7782897,P26,c(Q502895))
[ANSWER]
['Q8064075', 'P26', {'concept': 'Q502895'}] ['Q2086183', 'P26', {'concept': 'Q502895'}] ['Q7782897', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q2086183 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Zack Exley Philip Gould, Baron Gould of Brookwood Theresa Stewart
Did you mean Theresa Stewart ?
Theresa Stewart
['Zack Exley', 'spouse', {'concept': 'common name'}] ['Philip Gould, Baron Gould of Brookwood', 'spouse', {'concept': 'common name'}] ['Theresa Stewart', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Philip_Gould,_Baron_Gould_of_Brookwood property:spouse ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Philip Gould, Baron Gould of Brookwood. Could you tell me the answer for that?
(Q2086183,P26,c(Q502895))
Q2086183
['Q2086183', 'P26', {'concept': 'Q502895'}]
['Philip Gould, Baron Gould of Brookwood', 'spouse', {'concept': 'common name'}]
[]
Q5517148
SYSTEM
Gail Rebuck
Q5517148
(Q2086183,P26,c(Q502895))
action filter_type
action find
entity Q2086183
relation P26
type Q502895
The spouse of that one is the [ANSWER]
['Q2086183', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q2086183 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Gail Rebuck
The spouse of that one is the Gail Rebuck
Gail Rebuck
action filter_type
action find
entity Philip Gould, Baron Gould of Brookwood
relation spouse
type common name
['Philip Gould, Baron Gould of Brookwood', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Philip_Gould,_Baron_Gould_of_Brookwood property:spouse ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5517148
P937
Q56061
USER
What is the work location of that person ?
(Q5517148,P937,c(Q56061))
action filter_type
action find
entity Q5517148
relation P937
type Q56061
['Q5517148', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q5517148 property:P937 ?r }
Gail Rebuck
action filter_type
action find
entity Gail Rebuck
relation work location
type administrative territorial entity
['Gail Rebuck', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Gail_Rebuck property:work_location ?r }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q5517148,P937,c(Q56061))
action filter_type
action find
entity Q5517148
relation P937
type Q56061
The work location of that person is in [ANSWER]
['Q5517148', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q5517148 property:P937 ?r }
London
The work location of that person is in London
London
action filter_type
action find
entity Gail Rebuck
relation work location
type administrative territorial entity
['Gail Rebuck', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Gail_Rebuck property:work_location ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5517148
P106
Q12737077
USER
Which occupation has Gail Rebuck as his/her 's career ?
(Q5517148,P106,c(Q12737077))
action filter_type
action find
entity Q5517148
relation P106
type Q12737077
['Q5517148', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q5517148 property:P106 ?e }
Gail Rebuck
action filter_type
action find
entity Gail Rebuck
relation occupation
type occupation
['Gail Rebuck', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Gail_Rebuck property:occupation ?e }
[]
occupation
Q2516866
SYSTEM
publisher
Q2516866
(Q5517148,P106,c(Q12737077))
action filter_type
action find
entity Q5517148
relation P106
type Q12737077
Her [ANSWER] has Gail Rebuck as his/her 's career
['Q5517148', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q5517148 property:P106 ?e }
publisher
Her publisher has Gail Rebuck as his/her 's career
publisher
action filter_type
action find
entity Gail Rebuck
relation occupation
type occupation
['Gail Rebuck', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Gail_Rebuck property:occupation ?e }
[]