Simple Question (Direct)
Simple Question
Q13417040
P641
Q349
USER
Which sport was Donovan Hand a part of ?
(Q13417040,P641,c(Q349))
action filter_type
action find
entity Q13417040
relation P641
type Q349
['Q13417040', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q13417040 property:P641 ?h . ?h rdf:type ontology:Q349 }
Donovan Hand
action filter_type
action find
entity Donovan Hand
relation sport
type sport
['Donovan Hand', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Donovan_Hand property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Q5369
SYSTEM
baseball
Q5369
(Q13417040,P641,c(Q349))
action filter_type
action find
entity Q13417040
relation P641
type Q349
Donovan Hand was a [ANSWER]
['Q13417040', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q13417040 property:P641 ?h . ?h rdf:type ontology:Q349 }
baseball
Donovan Hand was a baseball
baseball
action filter_type
action find
entity Donovan Hand
relation sport
type sport
['Donovan Hand', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Donovan_Hand property:sport ?h . ?h rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13417040
P106
Q151885
USER
Which concept has that person as his/her 's career ?
(Q5369,P106,c(Q151885))
action filter_type
action find
entity Q13417040
relation P106
type Q151885
['Q5369', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { resource:Q13417040 property:P106 ?u . ?u rdf:type ontology:Q151885 }
Donovan Hand
action filter_type
action find
entity Donovan Hand
relation occupation
type concept
['baseball', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { resource:Donovan_Hand property:occupation ?u . ?u rdf:type ontology:concept }
[]
concept
Q10871364
SYSTEM
baseball player
Q10871364
(Q5369,P106,c(Q151885))
action filter_type
action find
entity Q13417040
relation P106
type Q151885
Player [ANSWER] has that person as his/her 's career
['Q5369', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { resource:Q13417040 property:P106 ?u . ?u rdf:type ontology:Q151885 }
baseball player
Player baseball player has that person as his/her 's career
baseball player
action filter_type
action find
entity Donovan Hand
relation occupation
type concept
['baseball', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { resource:Donovan_Hand property:occupation ?u . ?u rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13417040
P54
Q12973014
USER
Which sports teams are Donovan Hand a member of ?
(Q13417040,P54,c(Q12973014))
action filter_type
action find
entity Q13417040
relation P54
type Q12973014
['Q13417040', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?v WHERE { resource:Q13417040 property:P54 ?v . ?v rdf:type ontology:Q12973014 }
Donovan Hand
action filter_type
action find
entity Donovan Hand
relation member of sports team
type sports team
['Donovan Hand', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?v WHERE { resource:Donovan_Hand property:member_of_sports_team ?v . ?v rdf:type ontology:sports_team }
[]
sports team
Q826751 Q848103 Q3497227
SYSTEM
Cincinnati Reds, Milwaukee Brewers, Huntsville Stars
Q848103 Q2343915 Q3497227 Q5703529 Q826751
(Q13417040,P54,c(Q12973014))
action filter_type
action find
entity Q13417040
relation P54
type Q12973014
The [ANSWERS] are Donovan Hand a member of
['Q13417040', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?v WHERE { resource:Q13417040 property:P54 ?v . ?v rdf:type ontology:Q12973014 }
Milwaukee Brewers Nashville Sounds Huntsville Stars Helena Brewers Cincinnati Reds
The Cincinnati Reds, Milwaukee Brewers and Huntsville Stars are Donovan Hand a member of
Cincinnati Reds Milwaukee Brewers Huntsville Stars
action filter_type
action find
entity Donovan Hand
relation member of sports team
type sports team
['Donovan Hand', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?v WHERE { resource:Donovan_Hand property:member_of_sports_team ?v . ?v rdf:type ontology:sports_team }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q782461
Q12973014
USER
And also tell me about Sherell Ford?
(Q782461,P54,c(Q12973014))
action filter_type
action find
entity Q782461
relation P54
type Q12973014
['Q782461', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?k WHERE { resource:Q782461 property:P54 ?k . ?k rdf:type ontology:Q12973014 }
Sherell Ford
action filter_type
action find
entity Sherell Ford
relation member of sports team
type sports team
['Sherell Ford', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?k WHERE { resource:Sherell_Ford property:member_of_sports_team ?k . ?k rdf:type ontology:sports_team }
[]
sports team
Q1647877 Q1401593 Q204993
SYSTEM
Grand Rapids Hoops, La Crosse Bobcats, Yakima Sun Kings
Q2677455 Q2556518 Q506754 Q2594429 Q1647877 Q1401593 Q204993 Q2274304
(Q782461,P54,c(Q12973014))
action filter_type
action find
entity Q782461
relation P54
type Q12973014
[ANSWERS]
['Q782461', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?k WHERE { resource:Q782461 property:P54 ?k . ?k rdf:type ontology:Q12973014 }
Mersin Büyükşehir Belediyesi S.K. BC Avtodor Saratov Harlem Globetrotters Habik'a B.C. Grand Rapids Hoops La Crosse Bobcats Yakima Sun Kings Peñarol de Mar del Plata
Grand Rapids Hoops La Crosse Bobcats Yakima Sun Kings
action filter_type
action find
entity Sherell Ford
relation member of sports team
type sports team
['Sherell Ford', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?k WHERE { resource:Sherell_Ford property:member_of_sports_team ?k . ?k rdf:type ontology:sports_team }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1647877
P54
Q502895
USER
How many people are members of Grand Rapids Hoops ?
(c(Q502895),P54,Q1647877)
action count
action filter_type
action find_reverse
entity Q1647877
relation P54
type Q502895
[{'concept': 'Q502895'}, 'P54', 'Q1647877']
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l property:P54 resource:Q1647877 . ?l rdf:type ontology:Q502895 }
Grand Rapids Hoops
action count
action filter_type
action find_reverse
entity Grand Rapids Hoops
relation member of sports team
type common name
[{'concept': 'common name'}, 'member of sports team', 'Grand Rapids Hoops']
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l property:member_of_sports_team resource:Grand_Rapids_Hoops . ?l rdf:type ontology:common_name }
[]
common name
SYSTEM
54
Q5480389 Q3807792 Q3820599 Q1620080 Q596497 Q1618677 Q1455883 Q2254947 Q796564 Q2358444 Q1627788 Q3611535 Q1986752 Q6167252 Q2342369 Q1393488 Q7297658 Q3714596 Q16209394 Q3984739 Q3856220 Q2567039 Q3757570 Q3499328 Q2664263 Q14425059 Q3476711 Q710012 Q1609283 Q520526 Q3637930 Q3637933 Q509573 Q1188953 Q443125 Q3973346 Q2342717 Q3603094 Q3863037 Q2023534 Q650632 Q3852000 Q13561021 Q3852039 Q3162963 Q3876872 Q112449 Q949321 Q782461 Q1111303 Q1626495 Q3806506 Q947656 Q1627828
(c(Q502895),P54,Q1647877)
action count
action filter_type
action find_reverse
entity Q1647877
relation P54
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P54', 'Q1647877']
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l property:P54 resource:Q1647877 . ?l rdf:type ontology:Q502895 }
Dominic Pressley Jeff Sanders Mark Baker Jeff Martin Tom Sewell Rumeal Robinson Eric Murdock Kiwane Garris Cedric Lewis Priest Lauderdale Antonio Lang Alfredrick Hughes Jerod Ward Jay Taylor Chucky Brown Ricky Wilson Ray Jackson Doug Lee Eddie Benton Terrence Rencher Michael McDonald William Bedford Galen Young Stevin Smith Bo Outlaw Herbert Crook Sean Colson Bernard Thompson Greg Buckner Marlon Garnett Ben Davis Ben Handlogten Dyron Nix Eddie Hughes Darren Morningstar Steve Henson Sean Higgins Aaron Williams Morlon Wiley Olden Polynice Khalid Reeves Matt Fish Marcus Kennedy Matt Steigenga Jason Lawson Nikita Wilson Stacey King Immanuel McElroy Sherell Ford Corey L. Brewer Chris Smith James Collins Elmer Bennett Elliot Perry
54
action count
action filter_type
action find_reverse
entity Grand Rapids Hoops
relation member of sports team
type common name
[{'concept': 'common name'}, 'member of sports team', 'Grand Rapids Hoops']
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l property:member_of_sports_team resource:Grand_Rapids_Hoops . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P169
Q502895 Q28640 Q43229
USER
Which people are the CEO of atleast 3 professions and organizations ?
(c(Q28640)|c(Q43229),P169,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q28640
action find_reverse_tuple_counts
relation P169
type Q502895
type Q43229
value 3
[[{'concept': 'Q28640'}, {'concept': 'Q43229'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?o WHERE { { ?o rdf:type ontology:Q502895 . ?w rdf:type ontology:Q28640 . ?w property:P169 ?o } UNION { ?w property:P169 ?o . ?o rdf:type ontology:Q502895 . ?w rdf:type ontology:Q43229 } } GROUP BY ?o } . FILTER ( ?j >= 3 ) }
action atleast
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type profession
action find_reverse_tuple_counts
relation chief executive officer
type common name
type organization
value 3
[[{'concept': 'profession'}, {'concept': 'organization'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?o WHERE { { ?o rdf:type ontology:common_name . ?w rdf:type ontology:profession . ?w property:chief_executive_officer ?o } UNION { ?w property:chief_executive_officer ?o . ?o rdf:type ontology:common_name . ?w rdf:type ontology:organization } } GROUP BY ?o } . FILTER ( ?j >= 3 ) }
[]
common name profession organization
Q4934 Q5558291
SYSTEM
Larry Page, Giannis Vardinogiannis
Q4934 Q5558291
(c(Q28640)|c(Q43229),P169,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q28640
action find_reverse_tuple_counts
relation P169
type Q502895
type Q43229
value 3
[ANSWERS] are the CEO of atleast 3 professions and organizations
[[{'concept': 'Q28640'}, {'concept': 'Q43229'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?o WHERE { { ?o rdf:type ontology:Q502895 . ?w rdf:type ontology:Q28640 . ?w property:P169 ?o } UNION { ?w property:P169 ?o . ?o rdf:type ontology:Q502895 . ?w rdf:type ontology:Q43229 } } GROUP BY ?o } . FILTER ( ?j >= 3 ) }
Larry Page Giannis Vardinogiannis
Larry Page and Giannis Vardinogiannis are the CEO of atleast 3 professions and organizations
Larry Page Giannis Vardinogiannis
action atleast
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type profession
action find_reverse_tuple_counts
relation chief executive officer
type common name
type organization
value 3
[[{'concept': 'profession'}, {'concept': 'organization'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?o WHERE { { ?o rdf:type ontology:common_name . ?w rdf:type ontology:profession . ?w property:chief_executive_officer ?o } UNION { ?w property:chief_executive_officer ?o . ?o rdf:type ontology:common_name . ?w rdf:type ontology:organization } } GROUP BY ?o } . FILTER ( ?j >= 3 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q826751
P137
Q811430 Q811979
USER
How many constructions and architectural structures were operated by Cincinnati Reds ?
(c(Q811430),P137,Q826751) (c(Q811979),P137,Q826751)
action count
action union
action filter_type
action find_reverse
entity Q826751
relation P137
type Q811430
action filter_type
action find_reverse
entity Q826751
relation P137
type Q811979
[{'concept': 'Q811430'}, 'P137', 'Q826751'] [{'concept': 'Q811979'}, 'P137', 'Q826751']
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { ?y property:P137 resource:Q826751 . ?y rdf:type ontology:Q811979 } UNION { ?y property:P137 resource:Q826751 . ?y rdf:type ontology:Q811430 } }
Cincinnati Reds
action count
action union
action filter_type
action find_reverse
entity Cincinnati Reds
relation operator
type construction
action filter_type
action find_reverse
entity Cincinnati Reds
relation operator
type architectural structure
[{'concept': 'construction'}, 'operator', 'Cincinnati Reds'] [{'concept': 'architectural structure'}, 'operator', 'Cincinnati Reds']
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { ?y property:operator resource:Cincinnati_Reds . ?y rdf:type ontology:architectural_structure } UNION { ?y property:operator resource:Cincinnati_Reds . ?y rdf:type ontology:construction } }
[]
construction architectural structure
SYSTEM
1 constructions and 1 architectural structures
Q979975 Q3003747
(c(Q811430),P137,Q826751) (c(Q811979),P137,Q826751)
action count
action union
action filter_type
action find_reverse
entity Q826751
relation P137
type Q811430
action filter_type
action find_reverse
entity Q826751
relation P137
type Q811979
[ANSWER]
[{'concept': 'Q811430'}, 'P137', 'Q826751'] [{'concept': 'Q811979'}, 'P137', 'Q826751']
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { ?y property:P137 resource:Q826751 . ?y rdf:type ontology:Q811979 } UNION { ?y property:P137 resource:Q826751 . ?y rdf:type ontology:Q811430 } }
Great American Ball Park Crosley Field
1 constructions and 1 architectural structures
action count
action union
action filter_type
action find_reverse
entity Cincinnati Reds
relation operator
type construction
action filter_type
action find_reverse
entity Cincinnati Reds
relation operator
type architectural structure
[{'concept': 'construction'}, 'operator', 'Cincinnati Reds'] [{'concept': 'architectural structure'}, 'operator', 'Cincinnati Reds']
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { ?y property:operator resource:Cincinnati_Reds . ?y rdf:type ontology:architectural_structure } UNION { ?y property:operator resource:Cincinnati_Reds . ?y rdf:type ontology:construction } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q826751
P115
Q811430
USER
Where is the home field of that sports team ?
action filter_type
action find
entity Q826751
relation P115
type Q811430
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q811430 . resource:Q826751 property:P115 ?k }
Cincinnati Reds
action filter_type
action find
entity Cincinnati Reds
relation home venue
type construction
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:construction . resource:Cincinnati_Reds property:home_venue ?k }
[]
construction
Q979975
SYSTEM
Great American Ball Park
Q979975
action filter_type
action find
entity Q826751
relation P115
type Q811430
The home field of that sports team is the [ANSWER]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q811430 . resource:Q826751 property:P115 ?k }
Great American Ball Park
The home field of that sports team is the Great American Ball Park
Great American Ball Park
action filter_type
action find
entity Cincinnati Reds
relation home venue
type construction
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:construction . resource:Cincinnati_Reds property:home_venue ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4934
P178
Q1799072
USER
What was produced by Larry Page ?
(c(Q1799072),P178,Q4934)
action filter_type
action find_reverse
entity Q4934
relation P178
type Q1799072
[{'concept': 'Q1799072'}, 'P178', 'Q4934']
SELECT DISTINCT ?k WHERE { ?k property:P178 resource:Q4934 . ?k rdf:type ontology:Q1799072 }
Larry Page
action filter_type
action find_reverse
entity Larry Page
relation developer
type method
[{'concept': 'method'}, 'developer', 'Larry Page']
SELECT DISTINCT ?k WHERE { ?k property:developer resource:Larry_Page . ?k rdf:type ontology:method }
[]
method
Q184316
SYSTEM
PageRank
Q184316
(c(Q1799072),P178,Q4934)
action filter_type
action find_reverse
entity Q4934
relation P178
type Q1799072
[ANSWER] was produced by Larry Page
[{'concept': 'Q1799072'}, 'P178', 'Q4934']
SELECT DISTINCT ?k WHERE { ?k property:P178 resource:Q4934 . ?k rdf:type ontology:Q1799072 }
PageRank
PageRank was produced by Larry Page
PageRank
action filter_type
action find_reverse
entity Larry Page
relation developer
type method
[{'concept': 'method'}, 'developer', 'Larry Page']
SELECT DISTINCT ?k WHERE { ?k property:developer resource:Larry_Page . ?k rdf:type ontology:method }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q184316
P138
Q502895
USER
What is that method named after ?
(Q184316,P138,c(Q502895))
action filter_type
action find
entity Q184316
relation P138
type Q502895
['Q184316', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q184316 property:P138 ?k . ?k rdf:type ontology:Q502895 }
PageRank
action filter_type
action find
entity PageRank
relation named after
type common name
['PageRank', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:PageRank property:named_after ?k . ?k rdf:type ontology:common_name }
[]
common name
Q4934
SYSTEM
Larry Page
Q4934
(Q184316,P138,c(Q502895))
action filter_type
action find
entity Q184316
relation P138
type Q502895
Is named after the [ANSWER]
['Q184316', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q184316 property:P138 ?k . ?k rdf:type ontology:Q502895 }
Larry Page
Is named after the Larry Page
Larry Page
action filter_type
action find
entity PageRank
relation named after
type common name
['PageRank', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:PageRank property:named_after ?k . ?k rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2622748 Q4934
P169
Q1269299
USER
Which business organizations have Larry Page or Shantanu Narayen as chief executive ?
OR((c(Q1269299),P169,Q4934), (c(Q1269299),P169,Q2622748))
action filter_type
action union
action find_reverse
entity Q4934
relation P169
action find_reverse
entity Q2622748
relation P169
type Q1269299
{'OR': [[{'concept': 'Q1269299'}, 'P169', 'Q4934'], [{'concept': 'Q1269299'}, 'P169', 'Q2622748']]}
SELECT DISTINCT ?z WHERE { { { ?z property:P169 resource:Q4934 } UNION { ?z property:P169 resource:Q2622748 } } . ?z rdf:type ontology:Q1269299 }
Shantanu Narayen Larry Page
action filter_type
action union
action find_reverse
entity Larry Page
relation chief executive officer
action find_reverse
entity Shantanu Narayen
relation chief executive officer
type type of business entity
{'OR': [[{'concept': 'type of business entity'}, 'chief executive officer', 'Larry Page'], [{'concept': 'type of business entity'}, 'chief executive officer', 'Shantanu Narayen']]}
SELECT DISTINCT ?z WHERE { { { ?z property:chief_executive_officer resource:Larry_Page } UNION { ?z property:chief_executive_officer resource:Shantanu_Narayen } } . ?z rdf:type ontology:type_of_business_entity }
[]
type of business entity
Q20800404 Q11463
SYSTEM
Alphabet Inc., Adobe Systems
Q20800404 Q11463
OR((c(Q1269299),P169,Q4934), (c(Q1269299),P169,Q2622748))
action filter_type
action union
action find_reverse
entity Q4934
relation P169
action find_reverse
entity Q2622748
relation P169
type Q1269299
[ANSWERS] have Larry Page or Shantanu Narayen as chief executive
{'OR': [[{'concept': 'Q1269299'}, 'P169', 'Q4934'], [{'concept': 'Q1269299'}, 'P169', 'Q2622748']]}
SELECT DISTINCT ?z WHERE { { { ?z property:P169 resource:Q4934 } UNION { ?z property:P169 resource:Q2622748 } } . ?z rdf:type ontology:Q1269299 }
Alphabet Inc. Adobe Systems
Alphabet Inc. and Adobe Systems have Larry Page or Shantanu Narayen as chief executive
Alphabet Inc. Adobe Systems
action filter_type
action union
action find_reverse
entity Larry Page
relation chief executive officer
action find_reverse
entity Shantanu Narayen
relation chief executive officer
type type of business entity
{'OR': [[{'concept': 'type of business entity'}, 'chief executive officer', 'Larry Page'], [{'concept': 'type of business entity'}, 'chief executive officer', 'Shantanu Narayen']]}
SELECT DISTINCT ?z WHERE { { { ?z property:chief_executive_officer resource:Larry_Page } UNION { ?z property:chief_executive_officer resource:Shantanu_Narayen } } . ?z rdf:type ontology:type_of_business_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q20800404 Q11463
P108
Q502895
USER
Which people work for those business organizations ?
(c(Q502895),P108,Q20800404) (c(Q502895),P108,Q11463)
action filter_type
action find_reverse
entity prev_answer
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q20800404'] [{'concept': 'Q502895'}, 'P108', 'Q11463']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P108 ?j . VALUES ( ?j ) { ( resource:Q20800404 ) ( resource:Q11463 ) } }
Alphabet Inc. Adobe Systems
action filter_type
action find_reverse
entity prev_answer
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Alphabet Inc.'] [{'concept': 'common name'}, 'employer', 'Adobe Systems']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:employer ?j . VALUES ( ?j ) { ( resource:Alphabet_Inc. ) ( resource:Adobe_Systems ) } }
[]
common name
Q92764 Q2745626 Q4885663
SYSTEM
Sergey Brin, Bruce Chizen, Ben Forta
Q92764 Q2745626 Q4885663
(c(Q502895),P108,Q20800404) (c(Q502895),P108,Q11463)
action filter_type
action find_reverse
entity prev_answer
relation P108
type Q502895
[ANSWERS] work for those business organizations
[{'concept': 'Q502895'}, 'P108', 'Q20800404'] [{'concept': 'Q502895'}, 'P108', 'Q11463']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P108 ?j . VALUES ( ?j ) { ( resource:Q20800404 ) ( resource:Q11463 ) } }
Sergey Brin Bruce Chizen Ben Forta
Sergey Brin, Bruce Chizen and Ben Forta work for those business organizations
Sergey Brin Bruce Chizen Ben Forta
action filter_type
action find_reverse
entity prev_answer
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Alphabet Inc.'] [{'concept': 'common name'}, 'employer', 'Adobe Systems']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:employer ?j . VALUES ( ?j ) { ( resource:Alphabet_Inc. ) ( resource:Adobe_Systems ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2745626
P39
Q595523
USER
What was the position held by that person ?
(Q2745626,P39,c(Q595523))
action filter_type
action find
entity Q2745626
relation P39
type Q595523
['Q2745626', 'P39', {'concept': 'Q595523'}]
SELECT DISTINCT ?p WHERE { resource:Q2745626 property:P39 ?p . ?p rdf:type ontology:Q595523 }
Bruce Chizen
action filter_type
action find
entity Bruce Chizen
relation position held
type notion
['Bruce Chizen', 'position held', {'concept': 'notion'}]
SELECT DISTINCT ?p WHERE { resource:Bruce_Chizen property:position_held ?p . ?p rdf:type ontology:notion }
[]
notion
Clarification for simple ques.
Q2745626
SYSTEM
Did you mean Bruce Chizen ?
Q92764 Q2745626 Q4885663
(Q92764,P39,c(Q595523)) (Q2745626,P39,c(Q595523)) (Q4885663,P39,c(Q595523))
[ANSWER]
['Q92764', 'P39', {'concept': 'Q595523'}] ['Q2745626', 'P39', {'concept': 'Q595523'}] ['Q4885663', 'P39', {'concept': 'Q595523'}]
SELECT DISTINCT ?p WHERE { resource:Q2745626 property:P39 ?p . ?p rdf:type ontology:Q595523 }
Sergey Brin Bruce Chizen Ben Forta
Did you mean Bruce Chizen ?
Bruce Chizen
['Sergey Brin', 'position held', {'concept': 'notion'}] ['Bruce Chizen', 'position held', {'concept': 'notion'}] ['Ben Forta', 'position held', {'concept': 'notion'}]
SELECT DISTINCT ?p WHERE { resource:Bruce_Chizen property:position_held ?p . ?p rdf:type ontology:notion }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2745626,P39,c(Q595523))
['Q2745626', 'P39', {'concept': 'Q595523'}]
['Bruce Chizen', 'position held', {'concept': 'notion'}]
[]
Q484876
SYSTEM
chief executive officer
Q484876
(Q2745626,P39,c(Q595523))
action filter_type
action find
entity Q2745626
relation P39
type Q595523
The position held by that person was the [ANSWER]
['Q2745626', 'P39', {'concept': 'Q595523'}]
SELECT DISTINCT ?p WHERE { resource:Q2745626 property:P39 ?p . ?p rdf:type ontology:Q595523 }
chief executive officer
The position held by that person was the chief executive officer
chief executive officer
action filter_type
action find
entity Bruce Chizen
relation position held
type notion
['Bruce Chizen', 'position held', {'concept': 'notion'}]
SELECT DISTINCT ?p WHERE { resource:Bruce_Chizen property:position_held ?p . ?p rdf:type ontology:notion }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q46185
P1303
Q34379 Q502895
USER
Which musical instruments are played by around the same number of people as bass guitar ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q46185
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Q46185 property:P1303 ?p . ?p rdf:type ontology:Q34379 } } . FILTER ( ?l = ?g ) . { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?l ) WHERE { ?m rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 . ?d property:P1303 ?m } GROUP BY ?m } }
bass guitar
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity bass guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:bass_guitar property:instrument ?p . ?p rdf:type ontology:musical_instrument } } . FILTER ( ?l = ?g ) . { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?l ) WHERE { ?m rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name . ?d property:instrument ?m } GROUP BY ?m } }
[]
musical instrument common name
Q81982 Q80284 Q46185
SYSTEM
harpsichord, viola, bass guitar
Q80284 Q46185 Q80019 Q81982 Q206987 Q8338 Q8371 Q1444 Q128309 Q1343007
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q46185
relation P1303
type Q34379
[ANSWERS] are played by around the same number of people as bass guitar
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Q46185 property:P1303 ?p . ?p rdf:type ontology:Q34379 } } . FILTER ( ?l = ?g ) . { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?l ) WHERE { ?m rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 . ?d property:P1303 ?m } GROUP BY ?m } }
viola bass guitar double bass harpsichord vibraphone trumpet cello organ drum kit electronic keyboard
Harpsichord, viola and bass guitar are played by around the same number of people as bass guitar
harpsichord viola bass guitar
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity bass guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:bass_guitar property:instrument ?p . ?p rdf:type ontology:musical_instrument } } . FILTER ( ?l = ?g ) . { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?l ) WHERE { ?m rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name . ?d property:instrument ?m } GROUP BY ?m } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q726306
P1303
Q34379 Q502895
USER
And how about erhu?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q726306
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { ?u rdf:type ontology:Q34379 . resource:Q726306 property:P1303 ?u } } . FILTER ( ?v = ?c ) }
erhu
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity erhu
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { ?u rdf:type ontology:musical_instrument . resource:erhu property:instrument ?u } } . FILTER ( ?v = ?c ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q726306
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { ?u rdf:type ontology:Q34379 . resource:Q726306 property:P1303 ?u } } . FILTER ( ?v = ?c ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity erhu
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { ?u rdf:type ontology:musical_instrument . resource:erhu property:instrument ?u } } . FILTER ( ?v = ?c ) }
[]