Simple Question (Direct)
Simple Question
Q238739
P1412
Q34770
USER
Which language can George Beadle read ?
(Q238739,P1412,c(Q34770))
action filter_type
action find
entity Q238739
relation P1412
type Q34770
['Q238739', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q238739 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
George Beadle
action filter_type
action find
entity George Beadle
relation languages spoken, written or signed
type language
['George Beadle', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:George_Beadle property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q238739,P1412,c(Q34770))
action filter_type
action find
entity Q238739
relation P1412
type Q34770
George Beadle can read in [ANSWER]
['Q238739', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q238739 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
English
George Beadle can read in English
English
action filter_type
action find
entity George Beadle
relation languages spoken, written or signed
type language
['George Beadle', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:George_Beadle property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q238739
P108
Q163740
USER
Which nonprofit organizations do that person work for ?
(Q1860,P108,c(Q163740))
action filter_type
action find
entity Q238739
relation P108
type Q163740
['Q1860', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?o WHERE { resource:Q238739 property:P108 ?o . ?o rdf:type ontology:Q163740 }
George Beadle
action filter_type
action find
entity George Beadle
relation employer
type nonprofit organization
['English', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?o WHERE { resource:George_Beadle property:employer ?o . ?o rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q161562 Q131252 Q13371
SYSTEM
California Institute of Technology, University of Chicago, Harvard University
Q161562 Q131252 Q13371
(Q1860,P108,c(Q163740))
action filter_type
action find
entity Q238739
relation P108
type Q163740
That person work at [ANSWERS]
['Q1860', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?o WHERE { resource:Q238739 property:P108 ?o . ?o rdf:type ontology:Q163740 }
California Institute of Technology University of Chicago Harvard University
That person work at California Institute of Technology, University of Chicago and Harvard University
California Institute of Technology University of Chicago Harvard University
action filter_type
action find
entity George Beadle
relation employer
type nonprofit organization
['English', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?o WHERE { resource:George_Beadle property:employer ?o . ?o rdf:type ontology:nonprofit_organization }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q238739
P108
Q502895
USER
Does George Beadle work for those nonprofit organizations ?
(Q238739,P108,Q161562) (Q238739,P108,Q131252) (Q238739,P108,Q13371)
action is_in
entity prev_answer
action find
entity Q238739
relation P108
['Q238739', 'P108', 'Q161562'] ['Q238739', 'P108', 'Q131252'] ['Q238739', 'P108', 'Q13371']
ASK WHERE { resource:Q238739 property:P108 ?o . VALUES ( ?o ) { ( resource:Q161562 ) ( resource:Q131252 ) ( resource:Q13371 ) } }
George Beadle
action is_in
entity prev_answer
action find
entity George Beadle
relation employer
['George Beadle', 'employer', 'California Institute of Technology'] ['George Beadle', 'employer', 'University of Chicago'] ['George Beadle', 'employer', 'Harvard University']
ASK WHERE { resource:George_Beadle property:employer ?o . VALUES ( ?o ) { ( resource:California_Institute_of_Technology ) ( resource:University_of_Chicago ) ( resource:Harvard_University ) } }
[]
common name
SYSTEM
YES
(Q238739,P108,Q161562) (Q238739,P108,Q131252) (Q238739,P108,Q13371)
action is_in
entity prev_answer
action find
entity Q238739
relation P108
[ANSWER]
['Q238739', 'P108', 'Q161562'] ['Q238739', 'P108', 'Q131252'] ['Q238739', 'P108', 'Q13371']
ASK WHERE { resource:Q238739 property:P108 ?o . VALUES ( ?o ) { ( resource:Q161562 ) ( resource:Q131252 ) ( resource:Q13371 ) } }
Yes
action is_in
entity prev_answer
action find
entity George Beadle
relation employer
['George Beadle', 'employer', 'California Institute of Technology'] ['George Beadle', 'employer', 'University of Chicago'] ['George Beadle', 'employer', 'Harvard University']
ASK WHERE { resource:George_Beadle property:employer ?o . VALUES ( ?o ) { ( resource:California_Institute_of_Technology ) ( resource:University_of_Chicago ) ( resource:Harvard_University ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13371
P355
Q33506
USER
Which museum is Harvard University the parent company of ?
(Q13371,P355,c(Q33506))
action filter_type
action find
entity Q13371
relation P355
type Q33506
['Q13371', 'P355', {'concept': 'Q33506'}]
SELECT DISTINCT ?i WHERE { resource:Q13371 property:P355 ?i . ?i rdf:type ontology:Q33506 }
Harvard University
action filter_type
action find
entity Harvard University
relation subsidiary
type museum
['Harvard University', 'subsidiary', {'concept': 'museum'}]
SELECT DISTINCT ?i WHERE { resource:Harvard_University property:subsidiary ?i . ?i rdf:type ontology:museum }
[]
museum
Q3783572
SYSTEM
Harvard Art Museums
Q3783572
(Q13371,P355,c(Q33506))
action filter_type
action find
entity Q13371
relation P355
type Q33506
Which museum is Harvard University the parent company of
['Q13371', 'P355', {'concept': 'Q33506'}]
SELECT DISTINCT ?i WHERE { resource:Q13371 property:P355 ?i . ?i rdf:type ontology:Q33506 }
Harvard Art Museums
Which museum is Harvard University the parent company of
Harvard Art Museums
action filter_type
action find
entity Harvard University
relation subsidiary
type museum
['Harvard University', 'subsidiary', {'concept': 'museum'}]
SELECT DISTINCT ?i WHERE { resource:Harvard_University property:subsidiary ?i . ?i rdf:type ontology:museum }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3783572
P127
Q163740
USER
Which nonprofit organization owned that museum ?
(Q3783572,P127,c(Q163740))
action filter_type
action find
entity Q3783572
relation P127
type Q163740
['Q3783572', 'P127', {'concept': 'Q163740'}]
SELECT DISTINCT ?b WHERE { resource:Q3783572 property:P127 ?b . ?b rdf:type ontology:Q163740 }
Harvard Art Museums
action filter_type
action find
entity Harvard Art Museums
relation owned by
type nonprofit organization
['Harvard Art Museums', 'owned by', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?b WHERE { resource:Harvard_Art_Museums property:owned_by ?b . ?b rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q13371
SYSTEM
Harvard University
Q13371
(Q3783572,P127,c(Q163740))
action filter_type
action find
entity Q3783572
relation P127
type Q163740
[ANSWER] owned that museum
['Q3783572', 'P127', {'concept': 'Q163740'}]
SELECT DISTINCT ?b WHERE { resource:Q3783572 property:P127 ?b . ?b rdf:type ontology:Q163740 }
Harvard University
Harvard University owned that museum
Harvard University
action filter_type
action find
entity Harvard Art Museums
relation owned by
type nonprofit organization
['Harvard Art Museums', 'owned by', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?b WHERE { resource:Harvard_Art_Museums property:owned_by ?b . ?b rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3783572
P749
Q33506
USER
Which museum has Harvard Art Museums as parent organization ?
(c(Q33506),P749,Q3783572)
action filter_type
action find_reverse
entity Q3783572
relation P749
type Q33506
[{'concept': 'Q33506'}, 'P749', 'Q3783572']
SELECT DISTINCT ?f WHERE { ?f property:P749 resource:Q3783572 . ?f rdf:type ontology:Q33506 }
Harvard Art Museums
action filter_type
action find_reverse
entity Harvard Art Museums
relation parent organization
type museum
[{'concept': 'museum'}, 'parent organization', 'Harvard Art Museums']
SELECT DISTINCT ?f WHERE { ?f property:parent_organization resource:Harvard_Art_Museums . ?f rdf:type ontology:museum }
[]
museum
Q1017269
SYSTEM
Busch–Reisinger Museum
Q1017269
(c(Q33506),P749,Q3783572)
action filter_type
action find_reverse
entity Q3783572
relation P749
type Q33506
[ANSWER] has Harvard Art Museums as parent organization
[{'concept': 'Q33506'}, 'P749', 'Q3783572']
SELECT DISTINCT ?f WHERE { ?f property:P749 resource:Q3783572 . ?f rdf:type ontology:Q33506 }
Busch–Reisinger Museum
Busch–Reisinger Museum has Harvard Art Museums as parent organization
Busch–Reisinger Museum
action filter_type
action find_reverse
entity Harvard Art Museums
relation parent organization
type museum
[{'concept': 'museum'}, 'parent organization', 'Harvard Art Museums']
SELECT DISTINCT ?f WHERE { ?f property:parent_organization resource:Harvard_Art_Museums . ?f rdf:type ontology:museum }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P195
Q33506 Q860861 Q386724
USER
Which museums are more number of sculptures and works preserved in than that museum ?
(c(Q860861)|c(Q386724),P195,c(Q33506))
action greater
action union
action find_reverse_tuple_counts
relation P195
type Q33506
type Q860861
action find_reverse_tuple_counts
relation P195
type Q33506
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q1017269
relation P195
type Q860861
type Q386724
[[{'concept': 'Q860861'}, {'concept': 'Q386724'}], 'P195', {'concept': 'Q33506'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?a ) WHERE { { ?q property:P195 ?i . ?i rdf:type ontology:Q33506 . ?q rdf:type ontology:Q860861 } UNION { ?q property:P195 ?i . ?q rdf:type ontology:Q386724 . ?i rdf:type ontology:Q33506 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:P195 resource:Q1017269 . { { ?p rdf:type ontology:Q386724 } UNION { ?p rdf:type ontology:Q860861 } } } } . FILTER ( ?a > ?n ) }
action greater
action union
action find_reverse_tuple_counts
relation collection
type museum
type sculpture
action find_reverse_tuple_counts
relation collection
type museum
type work
action count
action filter_multi_types
action find_reverse
entity Busch–Reisinger Museum
relation collection
type sculpture
type work
[[{'concept': 'sculpture'}, {'concept': 'work'}], 'collection', {'concept': 'museum'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?a ) WHERE { { ?q property:collection ?i . ?i rdf:type ontology:museum . ?q rdf:type ontology:sculpture } UNION { ?q property:collection ?i . ?q rdf:type ontology:work . ?i rdf:type ontology:museum } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:collection resource:Busch–Reisinger_Museum . { { ?p rdf:type ontology:work } UNION { ?p rdf:type ontology:sculpture } } } } . FILTER ( ?a > ?n ) }
[]
museum sculpture work
Q188740 Q51252 Q430682
SYSTEM
Museum of Modern Art, Uffizi, Tate
Q578485 Q637187 Q325712 Q1117704 Q430682 Q1067140 Q1955758 Q195311 Q1352282 Q1471477 Q2988142 Q861252 Q1538285 Q3329587 Q648166 Q745866 Q3503103 Q942713 Q1540707 Q313746 Q182955 Q632682 Q188740 Q252071 Q49133 Q1744024 Q2365880 Q51252 Q160236 Q11234584
(c(Q860861)|c(Q386724),P195,c(Q33506))
action greater
action union
action find_reverse_tuple_counts
relation P195
type Q33506
type Q860861
action find_reverse_tuple_counts
relation P195
type Q33506
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q1017269
relation P195
type Q860861
type Q386724
[ANSWERS] are more number of sculptures and works preserved in than that museum
[[{'concept': 'Q860861'}, {'concept': 'Q386724'}], 'P195', {'concept': 'Q33506'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?a ) WHERE { { ?q property:P195 ?i . ?i rdf:type ontology:Q33506 . ?q rdf:type ontology:Q860861 } UNION { ?q property:P195 ?i . ?q rdf:type ontology:Q386724 . ?i rdf:type ontology:Q33506 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:P195 resource:Q1017269 . { { ?p rdf:type ontology:Q386724 } UNION { ?p rdf:type ontology:Q860861 } } } } . FILTER ( ?a > ?n ) }
The Phillips Collection National Archaeological Museum, Athens Milwaukee Art Museum Indianapolis Museum of Art Tate Barcelona Museum of Contemporary Art Mudam National Museum National Archaeological Museum of Spain Royal Museum of Fine Arts Antwerp (KMSKA) Halle Gate Museu Nacional d'Art de Catalunya Irish Museum of Modern Art Museum of Contemporary Art San Diego National Museum of Denmark Dallas Museum of Art Museum of Contemporary Art Scottish National Gallery Stedelijk Museum voor Actuele Kunst East Side Gallery Vatican Museums Brooklyn Museum Museum of Modern Art Hungarian National Gallery Museum of Fine Arts Slovak National Gallery Museum of Fine Arts, Ghent Uffizi Metropolitan Museum of Art Museum of Modern Art
Museum of Modern Art, Uffizi and Tate are more number of sculptures and works preserved in than that museum
Museum of Modern Art Uffizi Tate
action greater
action union
action find_reverse_tuple_counts
relation collection
type museum
type sculpture
action find_reverse_tuple_counts
relation collection
type museum
type work
action count
action filter_multi_types
action find_reverse
entity Busch–Reisinger Museum
relation collection
type sculpture
type work
[[{'concept': 'sculpture'}, {'concept': 'work'}], 'collection', {'concept': 'museum'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?a ) WHERE { { ?q property:collection ?i . ?i rdf:type ontology:museum . ?q rdf:type ontology:sculpture } UNION { ?q property:collection ?i . ?q rdf:type ontology:work . ?i rdf:type ontology:museum } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:collection resource:Busch–Reisinger_Museum . { { ?p rdf:type ontology:work } UNION { ?p rdf:type ontology:sculpture } } } } . FILTER ( ?a > ?n ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q188740
P361
Q22698
USER
Which park is a portion of that museum ?
(c(Q22698),P361,Q188740)
action filter_type
action find_reverse
entity Q188740
relation P361
type Q22698
[{'concept': 'Q22698'}, 'P361', 'Q188740']
SELECT DISTINCT ?f WHERE { ?f property:P361 resource:Q188740 . ?f rdf:type ontology:Q22698 }
Museum of Modern Art
action filter_type
action find_reverse
entity Museum of Modern Art
relation part of
type park
[{'concept': 'park'}, 'part of', 'Museum of Modern Art']
SELECT DISTINCT ?f WHERE { ?f property:part_of resource:Museum_of_Modern_Art . ?f rdf:type ontology:park }
[]
park
Clarification for simple ques.
Q430682
SYSTEM
Did you mean Tate ?
Q188740 Q51252 Q430682
(c(Q22698),P361,Q188740) (c(Q22698),P361,Q51252) (c(Q22698),P361,Q430682)
[ANSWER]
[{'concept': 'Q22698'}, 'P361', 'Q188740'] [{'concept': 'Q22698'}, 'P361', 'Q51252'] [{'concept': 'Q22698'}, 'P361', 'Q430682']
SELECT DISTINCT ?f WHERE { ?f property:P361 resource:Q188740 . ?f rdf:type ontology:Q22698 }
Museum of Modern Art Uffizi Tate
Did you mean Tate ?
Tate
[{'concept': 'park'}, 'part of', 'Museum of Modern Art'] [{'concept': 'park'}, 'part of', 'Uffizi'] [{'concept': 'park'}, 'part of', 'Tate']
SELECT DISTINCT ?f WHERE { ?f property:part_of resource:Museum_of_Modern_Art . ?f rdf:type ontology:park }
[]
Simple Question (Coreferenced)
USER
No, I meant Museum of Modern Art. Could you tell me the answer for that?
(c(Q22698),P361,Q188740)
Q188740
[{'concept': 'Q22698'}, 'P361', 'Q188740']
[{'concept': 'park'}, 'part of', 'Museum of Modern Art']
[]
Q6825143
SYSTEM
Metropolitan Museum of Art Roof Garden
Q6825143
(c(Q22698),P361,Q188740)
action filter_type
action find_reverse
entity Q188740
relation P361
type Q22698
[ANSWER] is a portion of that museum
[{'concept': 'Q22698'}, 'P361', 'Q188740']
SELECT DISTINCT ?f WHERE { ?f property:P361 resource:Q188740 . ?f rdf:type ontology:Q22698 }
Metropolitan Museum of Art Roof Garden
Metropolitan Museum of Art Roof Garden is a portion of that museum
Metropolitan Museum of Art Roof Garden
action filter_type
action find_reverse
entity Museum of Modern Art
relation part of
type park
[{'concept': 'park'}, 'part of', 'Museum of Modern Art']
SELECT DISTINCT ?f WHERE { ?f property:part_of resource:Museum_of_Modern_Art . ?f rdf:type ontology:park }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that park situated in ?
(Q6825143,P17,c(Q15617994))
action count
action filter_type
action find
entity Q6825143
relation P17
type Q15617994
['Q6825143', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { ?f rdf:type ontology:Q15617994 . resource:Q6825143 property:P17 ?f }
action count
action filter_type
action find
entity Metropolitan Museum of Art Roof Garden
relation country
type designation for an administrative territorial entity
['Metropolitan Museum of Art Roof Garden', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Metropolitan_Museum_of_Art_Roof_Garden property:country ?f }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q6825143,P17,c(Q15617994))
action count
action filter_type
action find
entity Q6825143
relation P17
type Q15617994
[ANSWER]
['Q6825143', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { ?f rdf:type ontology:Q15617994 . resource:Q6825143 property:P17 ?f }
United States of America
1
action count
action filter_type
action find
entity Metropolitan Museum of Art Roof Garden
relation country
type designation for an administrative territorial entity
['Metropolitan Museum of Art Roof Garden', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Metropolitan_Museum_of_Art_Roof_Garden property:country ?f }
[]