Simple Question (Direct)
Simple Question
Q16735037
P54
Q12973014
USER
Which sports teams are Robbie Ray a member of ?
(Q16735037,P54,c(Q12973014))
action filter_type
action find
entity Q16735037
relation P54
type Q12973014
['Q16735037', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12973014 . resource:Q16735037 property:P54 ?r }
Robbie Ray
action filter_type
action find
entity Robbie Ray
relation member of sports team
type sports team
['Robbie Ray', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sports_team . resource:Robbie_Ray property:member_of_sports_team ?r }
[]
sports team
Q670376 Q650855 Q787652
SYSTEM
Arizona Diamondbacks, Detroit Tigers, Toledo Mud Hens
Q670376 Q650855 Q787652
(Q16735037,P54,c(Q12973014))
action filter_type
action find
entity Q16735037
relation P54
type Q12973014
The [ANSWERS] are Robbie Ray a member of
['Q16735037', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12973014 . resource:Q16735037 property:P54 ?r }
Arizona Diamondbacks Detroit Tigers Toledo Mud Hens
The Arizona Diamondbacks, Detroit Tigers and Toledo Mud Hens are Robbie Ray a member of
Arizona Diamondbacks Detroit Tigers Toledo Mud Hens
action filter_type
action find
entity Robbie Ray
relation member of sports team
type sports team
['Robbie Ray', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sports_team . resource:Robbie_Ray property:member_of_sports_team ?r }
[]
Clarification
Simple Question|Single Entity|Indirect
Q650855
P647
Q502895
USER
Whose drafting are that sports team of ?
(c(Q502895),P647,Q650855)
action filter_type
action find_reverse
entity Q650855
relation P647
type Q502895
[{'concept': 'Q502895'}, 'P647', 'Q650855']
SELECT DISTINCT ?f WHERE { ?f property:P647 resource:Q650855 . ?f rdf:type ontology:Q502895 }
Detroit Tigers
action filter_type
action find_reverse
entity Detroit Tigers
relation drafted by
type common name
[{'concept': 'common name'}, 'drafted by', 'Detroit Tigers']
SELECT DISTINCT ?f WHERE { ?f property:drafted_by resource:Detroit_Tigers . ?f rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q787652
SYSTEM
Did you mean Toledo Mud Hens ?
Q670376 Q650855 Q787652
(c(Q502895),P647,Q670376) (c(Q502895),P647,Q650855) (c(Q502895),P647,Q787652)
[ANSWER]
[{'concept': 'Q502895'}, 'P647', 'Q670376'] [{'concept': 'Q502895'}, 'P647', 'Q650855'] [{'concept': 'Q502895'}, 'P647', 'Q787652']
SELECT DISTINCT ?f WHERE { ?f property:P647 resource:Q650855 . ?f rdf:type ontology:Q502895 }
Arizona Diamondbacks Detroit Tigers Toledo Mud Hens
Did you mean Toledo Mud Hens ?
Toledo Mud Hens
[{'concept': 'common name'}, 'drafted by', 'Arizona Diamondbacks'] [{'concept': 'common name'}, 'drafted by', 'Detroit Tigers'] [{'concept': 'common name'}, 'drafted by', 'Toledo Mud Hens']
SELECT DISTINCT ?f WHERE { ?f property:drafted_by resource:Detroit_Tigers . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Detroit Tigers. Could you tell me the answer for that?
(c(Q502895),P647,Q650855)
Q650855
[{'concept': 'Q502895'}, 'P647', 'Q650855']
[{'concept': 'common name'}, 'drafted by', 'Detroit Tigers']
[]
Q2928495 Q3162935
SYSTEM
Burke Badenhop, Jason Frasor
Q3162935 Q2928495
(c(Q502895),P647,Q650855)
action filter_type
action find_reverse
entity Q650855
relation P647
type Q502895
[ANSWERS] drafting are that sports team of
[{'concept': 'Q502895'}, 'P647', 'Q650855']
SELECT DISTINCT ?f WHERE { ?f property:P647 resource:Q650855 . ?f rdf:type ontology:Q502895 }
Jason Frasor Burke Badenhop
Burke Badenhop and Jason Frasor drafting are that sports team of
Burke Badenhop Jason Frasor
action filter_type
action find_reverse
entity Detroit Tigers
relation drafted by
type common name
[{'concept': 'common name'}, 'drafted by', 'Detroit Tigers']
SELECT DISTINCT ?f WHERE { ?f property:drafted_by resource:Detroit_Tigers . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2928495 Q3162935
P106
Q151885
USER
Which concepts have those people as his/her 's career ?
(Q2928495,P106,c(Q151885)) (Q3162935,P106,c(Q151885))
action filter_type
action find
entity prev_answer
relation P106
type Q151885
['Q2928495', 'P106', {'concept': 'Q151885'}] ['Q3162935', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?n WHERE { ?h property:P106 ?n . ?n rdf:type ontology:Q151885 . VALUES ( ?h ) { ( resource:Q3162935 ) ( resource:Q2928495 ) } }
Burke Badenhop Jason Frasor
action filter_type
action find
entity prev_answer
relation occupation
type concept
['Burke Badenhop', 'occupation', {'concept': 'concept'}] ['Jason Frasor', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?n WHERE { ?h property:occupation ?n . ?n rdf:type ontology:concept . VALUES ( ?h ) { ( resource:Jason_Frasor ) ( resource:Burke_Badenhop ) } }
[]
concept
Q10871364 Q10871364
SYSTEM
baseball player
Q10871364 Q10871364
(Q2928495,P106,c(Q151885)) (Q3162935,P106,c(Q151885))
action filter_type
action find
entity prev_answer
relation P106
type Q151885
[ANSWER] and [ANSWER] have those people as his/her 's career
['Q2928495', 'P106', {'concept': 'Q151885'}] ['Q3162935', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?n WHERE { ?h property:P106 ?n . ?n rdf:type ontology:Q151885 . VALUES ( ?h ) { ( resource:Q3162935 ) ( resource:Q2928495 ) } }
baseball player baseball player
Baseball player and baseball player have those people as his/her 's career
baseball player baseball player
action filter_type
action find
entity prev_answer
relation occupation
type concept
['Burke Badenhop', 'occupation', {'concept': 'concept'}] ['Jason Frasor', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?n WHERE { ?h property:occupation ?n . ?n rdf:type ontology:concept . VALUES ( ?h ) { ( resource:Jason_Frasor ) ( resource:Burke_Badenhop ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2928495
P69
Q159334
USER
Which secondary school was Burke Badenhop educated at ?
(Q2928495,P69,c(Q159334))
action filter_type
action find
entity Q2928495
relation P69
type Q159334
['Q2928495', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q159334 . resource:Q2928495 property:P69 ?q }
Burke Badenhop
action filter_type
action find
entity Burke Badenhop
relation educated at
type secondary school
['Burke Badenhop', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:secondary_school . resource:Burke_Badenhop property:educated_at ?q }
[]
secondary school
Q7169999
SYSTEM
Perrysburg High School
Q7169999
(Q2928495,P69,c(Q159334))
action filter_type
action find
entity Q2928495
relation P69
type Q159334
Burke Badenhop was educated at [ANSWER]
['Q2928495', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q159334 . resource:Q2928495 property:P69 ?q }
Perrysburg High School
Burke Badenhop was educated at Perrysburg High School
Perrysburg High School
action filter_type
action find
entity Burke Badenhop
relation educated at
type secondary school
['Burke Badenhop', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:secondary_school . resource:Burke_Badenhop property:educated_at ?q }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q4669896
P636
Q151885 Q12136 Q3249551
USER
How many concepts represents the administration route of less number of diseases and processes than skin absorption ?
(c(Q12136)|c(Q3249551),P636,c(Q151885))
action count
action less
action union
action find_reverse_tuple_counts
relation P636
type Q151885
type Q12136
action find_reverse_tuple_counts
relation P636
type Q151885
type Q3249551
action count
action filter_multi_types
action find_reverse
entity Q4669896
relation P636
type Q12136
type Q3249551
[[{'concept': 'Q12136'}, {'concept': 'Q3249551'}], 'P636', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q property:P636 resource:Q4669896 . { { ?q rdf:type ontology:Q3249551 } UNION { ?q rdf:type ontology:Q12136 } } } } . FILTER ( ?a < ?m ) . { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?a ) WHERE { { ?y property:P636 ?n . ?n rdf:type ontology:Q151885 . ?y rdf:type ontology:Q12136 } UNION { ?y property:P636 ?n . ?n rdf:type ontology:Q151885 . ?y rdf:type ontology:Q3249551 } } GROUP BY ?n } }
skin absorption
action count
action less
action union
action find_reverse_tuple_counts
relation route of administration
type concept
type disease
action find_reverse_tuple_counts
relation route of administration
type concept
type process
action count
action filter_multi_types
action find_reverse
entity skin absorption
relation route of administration
type disease
type process
[[{'concept': 'disease'}, {'concept': 'process'}], 'route of administration', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q property:route_of_administration resource:skin_absorption . { { ?q rdf:type ontology:process } UNION { ?q rdf:type ontology:disease } } } } . FILTER ( ?a < ?m ) . { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?a ) WHERE { { ?y property:route_of_administration ?n . ?n rdf:type ontology:concept . ?y rdf:type ontology:disease } UNION { ?y property:route_of_administration ?n . ?n rdf:type ontology:concept . ?y rdf:type ontology:process } } GROUP BY ?n } }
[]
concept disease process
SYSTEM
20
Q1400536 Q1344580 Q366155 Q6058566 Q180609 Q419892 Q21074571 Q245359 Q420054 Q640448 Q7833952 Q3153701 Q1369403 Q285166 Q16920397 Q1320251 Q1663054 Q16861468 Q784720 Q10268830
(c(Q12136)|c(Q3249551),P636,c(Q151885))
action count
action less
action union
action find_reverse_tuple_counts
relation P636
type Q151885
type Q12136
action find_reverse_tuple_counts
relation P636
type Q151885
type Q3249551
action count
action filter_multi_types
action find_reverse
entity Q4669896
relation P636
type Q12136
type Q3249551
[ANSWER]
[[{'concept': 'Q12136'}, {'concept': 'Q3249551'}], 'P636', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q property:P636 resource:Q4669896 . { { ?q rdf:type ontology:Q3249551 } UNION { ?q rdf:type ontology:Q12136 } } } } . FILTER ( ?a < ?m ) . { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?a ) WHERE { { ?y property:P636 ?n . ?n rdf:type ontology:Q151885 . ?y rdf:type ontology:Q12136 } UNION { ?y property:P636 ?n . ?n rdf:type ontology:Q151885 . ?y rdf:type ontology:Q3249551 } } GROUP BY ?n } }
intraperitoneal injection enteral intracardiac injection intravaginal administration intravitreal administration rectal eye contact injection topical medication intravenous infusion transdermal insufflation intravenous injection oral administration conjunctival Intrathecal ingestion intra-arterial infusion sublingual administration inhalation
20
action count
action less
action union
action find_reverse_tuple_counts
relation route of administration
type concept
type disease
action find_reverse_tuple_counts
relation route of administration
type concept
type process
action count
action filter_multi_types
action find_reverse
entity skin absorption
relation route of administration
type disease
type process
[[{'concept': 'disease'}, {'concept': 'process'}], 'route of administration', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q property:route_of_administration resource:skin_absorption . { { ?q rdf:type ontology:process } UNION { ?q rdf:type ontology:disease } } } } . FILTER ( ?a < ?m ) . { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?a ) WHERE { { ?y property:route_of_administration ?n . ?n rdf:type ontology:concept . ?y rdf:type ontology:disease } UNION { ?y property:route_of_administration ?n . ?n rdf:type ontology:concept . ?y rdf:type ontology:process } } GROUP BY ?n } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q640448
P636
Q151885 Q12136 Q3249551
USER
And also tell me about intravenous infusion?
(c(Q12136)|c(Q3249551),P636,c(Q151885))
action count
action less
action union
action find_reverse_tuple_counts
relation P636
type Q151885
type Q12136
action find_reverse_tuple_counts
relation P636
type Q151885
type Q3249551
action count
action filter_multi_types
action find_reverse
entity Q640448
relation P636
type Q12136
type Q3249551
[[{'concept': 'Q12136'}, {'concept': 'Q3249551'}], 'P636', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?a ) WHERE { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:Q12136 ) ( ontology:Q3249551 ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:P636 resource:Q640448 . { { ?r rdf:type ontology:Q12136 } UNION { ?r rdf:type ontology:Q3249551 } } } } . FILTER ( ?a < ?o ) }
intravenous infusion
action count
action less
action union
action find_reverse_tuple_counts
relation route of administration
type concept
type disease
action find_reverse_tuple_counts
relation route of administration
type concept
type process
action count
action filter_multi_types
action find_reverse
entity intravenous infusion
relation route of administration
type disease
type process
[[{'concept': 'disease'}, {'concept': 'process'}], 'route of administration', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?a ) WHERE { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:disease ) ( ontology:process ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:route_of_administration resource:intravenous_infusion . { { ?r rdf:type ontology:disease } UNION { ?r rdf:type ontology:process } } } } . FILTER ( ?a < ?o ) }
[]
concept disease process
SYSTEM
16
Q1400536 Q1344580 Q366155 Q6058566 Q180609 Q419892 Q245359 Q420054 Q7833952 Q3153701 Q1369403 Q285166 Q16920397 Q1320251 Q16861468 Q784720
(c(Q12136)|c(Q3249551),P636,c(Q151885))
action count
action less
action union
action find_reverse_tuple_counts
relation P636
type Q151885
type Q12136
action find_reverse_tuple_counts
relation P636
type Q151885
type Q3249551
action count
action filter_multi_types
action find_reverse
entity Q640448
relation P636
type Q12136
type Q3249551
[ANSWER]
[[{'concept': 'Q12136'}, {'concept': 'Q3249551'}], 'P636', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?a ) WHERE { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:Q12136 ) ( ontology:Q3249551 ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:P636 resource:Q640448 . { { ?r rdf:type ontology:Q12136 } UNION { ?r rdf:type ontology:Q3249551 } } } } . FILTER ( ?a < ?o ) }
intraperitoneal injection enteral intracardiac injection intravaginal administration intravitreal administration rectal injection topical medication transdermal insufflation intravenous injection oral administration conjunctival Intrathecal intra-arterial infusion sublingual administration
16
action count
action less
action union
action find_reverse_tuple_counts
relation route of administration
type concept
type disease
action find_reverse_tuple_counts
relation route of administration
type concept
type process
action count
action filter_multi_types
action find_reverse
entity intravenous infusion
relation route of administration
type disease
type process
[[{'concept': 'disease'}, {'concept': 'process'}], 'route of administration', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?a ) WHERE { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:disease ) ( ontology:process ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:route_of_administration resource:intravenous_infusion . { { ?r rdf:type ontology:disease } UNION { ?r rdf:type ontology:process } } } } . FILTER ( ?a < ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q5967435
P138
Q355304 Q12737077 Q151885
USER
Which concepts come from more number of watercourses and occupations than Death of the Author theory ?
(c(Q151885),P138,c(Q355304)|c(Q12737077))
action greater
action union
action find_tuple_counts
relation P138
type Q151885
type Q355304
action find_tuple_counts
relation P138
type Q151885
type Q12737077
action count
action filter_multi_types
action find
entity Q5967435
relation P138
type Q355304
type Q12737077
[{'concept': 'Q151885'}, 'P138', [{'concept': 'Q355304'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) ?u WHERE { { ?u rdf:type ontology:Q151885 . ?o rdf:type ontology:Q355304 . ?u property:P138 ?o } UNION { ?u property:P138 ?o . ?u rdf:type ontology:Q151885 . ?o rdf:type ontology:Q12737077 } } GROUP BY ?u } . FILTER ( ?k > ?x ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { resource:Q5967435 property:P138 ?a . { { ?a rdf:type ontology:Q355304 } UNION { ?a rdf:type ontology:Q12737077 } } } } }
Death of the Author theory
action greater
action union
action find_tuple_counts
relation named after
type concept
type watercourse
action find_tuple_counts
relation named after
type concept
type occupation
action count
action filter_multi_types
action find
entity Death of the Author theory
relation named after
type watercourse
type occupation
[{'concept': 'concept'}, 'named after', [{'concept': 'watercourse'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) ?u WHERE { { ?u rdf:type ontology:concept . ?o rdf:type ontology:watercourse . ?u property:named_after ?o } UNION { ?u property:named_after ?o . ?u rdf:type ontology:concept . ?o rdf:type ontology:occupation } } GROUP BY ?u } . FILTER ( ?k > ?x ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { resource:Death_of_the_Author_theory property:named_after ?a . { { ?a rdf:type ontology:watercourse } UNION { ?a rdf:type ontology:occupation } } } } }
[]
watercourse occupation concept
Q169349 Q1002169 Q1241067
SYSTEM
Kura–Araxes culture, Bug-Dniester culture, Old Europe
Q1041623 Q1282276 Q2710557 Q169349 Q739604 Q1002169 Q1241067 Q2995537
(c(Q151885),P138,c(Q355304)|c(Q12737077))
action greater
action union
action find_tuple_counts
relation P138
type Q151885
type Q355304
action find_tuple_counts
relation P138
type Q151885
type Q12737077
action count
action filter_multi_types
action find
entity Q5967435
relation P138
type Q355304
type Q12737077
[ANSWERS] come from more number of watercourses and occupations than Death of the Author theory
[{'concept': 'Q151885'}, 'P138', [{'concept': 'Q355304'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) ?u WHERE { { ?u rdf:type ontology:Q151885 . ?o rdf:type ontology:Q355304 . ?u property:P138 ?o } UNION { ?u property:P138 ?o . ?u rdf:type ontology:Q151885 . ?o rdf:type ontology:Q12737077 } } GROUP BY ?u } . FILTER ( ?k > ?x ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { resource:Q5967435 property:P138 ?a . { { ?a rdf:type ontology:Q355304 } UNION { ?a rdf:type ontology:Q12737077 } } } } }
Tisza culture patriarchate Dnieper–Donets culture Kura–Araxes culture Körös culture Bug-Dniester culture Old Europe Soanian
Kura–Araxes culture, Bug-Dniester culture and Old Europe come from more number of watercourses and occupations than Death of the Author theory
Kura–Araxes culture Bug-Dniester culture Old Europe
action greater
action union
action find_tuple_counts
relation named after
type concept
type watercourse
action find_tuple_counts
relation named after
type concept
type occupation
action count
action filter_multi_types
action find
entity Death of the Author theory
relation named after
type watercourse
type occupation
[{'concept': 'concept'}, 'named after', [{'concept': 'watercourse'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) ?u WHERE { { ?u rdf:type ontology:concept . ?o rdf:type ontology:watercourse . ?u property:named_after ?o } UNION { ?u property:named_after ?o . ?u rdf:type ontology:concept . ?o rdf:type ontology:occupation } } GROUP BY ?u } . FILTER ( ?k > ?x ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { resource:Death_of_the_Author_theory property:named_after ?a . { { ?a rdf:type ontology:watercourse } UNION { ?a rdf:type ontology:occupation } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q20830227
P138
Q355304 Q12737077 Q151885
USER
And how about Garay Square?
(c(Q151885),P138,c(Q355304)|c(Q12737077))
action greater
action union
action find_tuple_counts
relation P138
type Q151885
type Q355304
action find_tuple_counts
relation P138
type Q151885
type Q12737077
action count
action filter_multi_types
action find
entity Q20830227
relation P138
type Q355304
type Q12737077
[{'concept': 'Q151885'}, 'P138', [{'concept': 'Q355304'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?e ) WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:Q355304 ) ( ontology:Q12737077 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { resource:Q20830227 property:P138 ?f . { VALUES ( ?i ) { ( ontology:Q355304 ) ( ontology:Q12737077 ) } . ?f rdf:type ?i } } } . FILTER ( ?e > ?h ) }
Garay Square
action greater
action union
action find_tuple_counts
relation named after
type concept
type watercourse
action find_tuple_counts
relation named after
type concept
type occupation
action count
action filter_multi_types
action find
entity Garay Square
relation named after
type watercourse
type occupation
[{'concept': 'concept'}, 'named after', [{'concept': 'watercourse'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?e ) WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:watercourse ) ( ontology:occupation ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { resource:Garay_Square property:named_after ?f . { VALUES ( ?i ) { ( ontology:watercourse ) ( ontology:occupation ) } . ?f rdf:type ?i } } } . FILTER ( ?e > ?h ) }
[]
watercourse occupation concept
Q169349 Q1002169 Q1241067
SYSTEM
Kura–Araxes culture, Bug-Dniester culture, Old Europe
Q1041623 Q1282276 Q2710557 Q169349 Q739604 Q1002169 Q1241067 Q2995537
(c(Q151885),P138,c(Q355304)|c(Q12737077))
action greater
action union
action find_tuple_counts
relation P138
type Q151885
type Q355304
action find_tuple_counts
relation P138
type Q151885
type Q12737077
action count
action filter_multi_types
action find
entity Q20830227
relation P138
type Q355304
type Q12737077
[ANSWERS]
[{'concept': 'Q151885'}, 'P138', [{'concept': 'Q355304'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?e ) WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:Q355304 ) ( ontology:Q12737077 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { resource:Q20830227 property:P138 ?f . { VALUES ( ?i ) { ( ontology:Q355304 ) ( ontology:Q12737077 ) } . ?f rdf:type ?i } } } . FILTER ( ?e > ?h ) }
Tisza culture patriarchate Dnieper–Donets culture Kura–Araxes culture Körös culture Bug-Dniester culture Old Europe Soanian
Kura–Araxes culture Bug-Dniester culture Old Europe
action greater
action union
action find_tuple_counts
relation named after
type concept
type watercourse
action find_tuple_counts
relation named after
type concept
type occupation
action count
action filter_multi_types
action find
entity Garay Square
relation named after
type watercourse
type occupation
[{'concept': 'concept'}, 'named after', [{'concept': 'watercourse'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?e ) WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:watercourse ) ( ontology:occupation ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { resource:Garay_Square property:named_after ?f . { VALUES ( ?i ) { ( ontology:watercourse ) ( ontology:occupation ) } . ?f rdf:type ?i } } } . FILTER ( ?e > ?h ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q169349 Q1002169 Q1241067
P138
Q355304
USER
Which watercourses are the etymology of those concepts ?
(Q169349,P138,c(Q355304)) (Q1002169,P138,c(Q355304)) (Q1241067,P138,c(Q355304))
action filter_type
action find
entity prev_answer
relation P138
type Q355304
['Q169349', 'P138', {'concept': 'Q355304'}] ['Q1002169', 'P138', {'concept': 'Q355304'}] ['Q1241067', 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q355304 . ?u property:P138 ?e . VALUES ( ?u ) { ( resource:Q1041623 ) ( resource:Q1282276 ) ( resource:Q2710557 ) } }
Kura–Araxes culture Bug-Dniester culture Old Europe
action filter_type
action find
entity prev_answer
relation named after
type watercourse
['Kura–Araxes culture', 'named after', {'concept': 'watercourse'}] ['Bug-Dniester culture', 'named after', {'concept': 'watercourse'}] ['Old Europe', 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:watercourse . ?u property:named_after ?e . VALUES ( ?u ) { ( resource:Tisza_culture ) ( resource:patriarchate ) ( resource:Dnieper–Donets_culture ) } }
[]
watercourse
Q1653 Q156557 Q179751
SYSTEM
Danube, Kura River, Aras River
Q179751 Q156557 Q188940 Q131210 Q1653
(Q169349,P138,c(Q355304)) (Q1002169,P138,c(Q355304)) (Q1241067,P138,c(Q355304))
action filter_type
action find
entity prev_answer
relation P138
type Q355304
The etymology of those concepts are the [ANSWERS]
['Q169349', 'P138', {'concept': 'Q355304'}] ['Q1002169', 'P138', {'concept': 'Q355304'}] ['Q1241067', 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q355304 . ?u property:P138 ?e . VALUES ( ?u ) { ( resource:Q1041623 ) ( resource:Q1282276 ) ( resource:Q2710557 ) } }
Aras River Kura River Southern Bug Dniester Danube
The etymology of those concepts are the Danube, Kura River and Aras River
Danube Kura River Aras River
action filter_type
action find
entity prev_answer
relation named after
type watercourse
['Kura–Araxes culture', 'named after', {'concept': 'watercourse'}] ['Bug-Dniester culture', 'named after', {'concept': 'watercourse'}] ['Old Europe', 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:watercourse . ?u property:named_after ?e . VALUES ( ?u ) { ( resource:Tisza_culture ) ( resource:patriarchate ) ( resource:Dnieper–Donets_culture ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2928495
P793
Q1190554
USER
Which significant events are Burke Badenhop associated with ?
(Q2928495,P793,c(Q1190554))
action filter_type
action find
entity Q2928495
relation P793
type Q1190554
['Q2928495', 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?h WHERE { resource:Q2928495 property:P793 ?h . ?h rdf:type ontology:Q1190554 }
Burke Badenhop
action filter_type
action find
entity Burke Badenhop
relation significant event
type event
['Burke Badenhop', 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?h WHERE { resource:Burke_Badenhop property:significant_event ?h . ?h rdf:type ontology:event }
[]
event
Q15056768 Q15089689
SYSTEM
Major League Baseball debut, Major League Baseball initial signing
Q15056768 Q15089689
(Q2928495,P793,c(Q1190554))
action filter_type
action find
entity Q2928495
relation P793
type Q1190554
Burke Badenhop are associated with [ANSWERS]
['Q2928495', 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?h WHERE { resource:Q2928495 property:P793 ?h . ?h rdf:type ontology:Q1190554 }
Major League Baseball debut Major League Baseball initial signing
Burke Badenhop are associated with Major League Baseball debut and Major League Baseball initial signing
Major League Baseball debut Major League Baseball initial signing
action filter_type
action find
entity Burke Badenhop
relation significant event
type event
['Burke Badenhop', 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?h WHERE { resource:Burke_Badenhop property:significant_event ?h . ?h rdf:type ontology:event }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16773713
Q1190554
USER
And how about José de Freitas Brandao?
(Q16773713,P793,c(Q1190554))
action filter_type
action find
entity Q16773713
relation P793
type Q1190554
['Q16773713', 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?w WHERE { resource:Q16773713 property:P793 ?w . ?w rdf:type ontology:Q1190554 }
José de Freitas Brandao
action filter_type
action find
entity José de Freitas Brandao
relation significant event
type event
['José de Freitas Brandao', 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?w WHERE { resource:José_de_Freitas_Brandao property:significant_event ?w . ?w rdf:type ontology:event }
[]
event
Q201676
SYSTEM
funeral
Q201676
(Q16773713,P793,c(Q1190554))
action filter_type
action find
entity Q16773713
relation P793
type Q1190554
[ANSWER]
['Q16773713', 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?w WHERE { resource:Q16773713 property:P793 ?w . ?w rdf:type ontology:Q1190554 }
funeral
funeral
action filter_type
action find
entity José de Freitas Brandao
relation significant event
type event
['José de Freitas Brandao', 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?w WHERE { resource:José_de_Freitas_Brandao property:significant_event ?w . ?w rdf:type ontology:event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16773713
P19
Q15617994
USER
Which administrative territory was that person born in ?
(Q201676,P19,c(Q15617994))
action filter_type
action find
entity Q16773713
relation P19
type Q15617994
['Q201676', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q16773713 property:P19 ?n . ?n rdf:type ontology:Q15617994 }
José de Freitas Brandao
action filter_type
action find
entity José de Freitas Brandao
relation place of birth
type designation for an administrative territorial entity
['funeral', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:José_de_Freitas_Brandao property:place_of_birth ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q45
SYSTEM
Portugal
Q45
(Q201676,P19,c(Q15617994))
action filter_type
action find
entity Q16773713
relation P19
type Q15617994
That person was born in [ANSWER]
['Q201676', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q16773713 property:P19 ?n . ?n rdf:type ontology:Q15617994 }
Portugal
That person was born in Portugal
Portugal
action filter_type
action find
entity José de Freitas Brandao
relation place of birth
type designation for an administrative territorial entity
['funeral', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:José_de_Freitas_Brandao property:place_of_birth ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]