Simple Question (Direct)
Simple Question
Q5302109
P1411
Q4220917
USER
Which film award did Douglas Williams receive ?
(Q5302109,P1411,c(Q4220917))
action filter_type
action find
entity Q5302109
relation P1411
type Q4220917
['Q5302109', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?g WHERE { resource:Q5302109 property:P1411 ?g . ?g rdf:type ontology:Q4220917 }
Douglas Williams
action filter_type
action find
entity Douglas Williams
relation nominated for
type film award
['Douglas Williams', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?g WHERE { resource:Douglas_Williams property:nominated_for ?g . ?g rdf:type ontology:film_award }
[]
film award
Q830079
SYSTEM
Academy Award for Best Sound Mixing
Q830079
(Q5302109,P1411,c(Q4220917))
action filter_type
action find
entity Q5302109
relation P1411
type Q4220917
Douglas Williams received the [ANSWER]
['Q5302109', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?g WHERE { resource:Q5302109 property:P1411 ?g . ?g rdf:type ontology:Q4220917 }
Academy Award for Best Sound Mixing
Douglas Williams received the Academy Award for Best Sound Mixing
Academy Award for Best Sound Mixing
action filter_type
action find
entity Douglas Williams
relation nominated for
type film award
['Douglas Williams', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?g WHERE { resource:Douglas_Williams property:nominated_for ?g . ?g rdf:type ontology:film_award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5302109
P166
Q4220917
USER
Which film award was received by that person ?
(Q830079,P166,c(Q4220917))
action filter_type
action find
entity Q5302109
relation P166
type Q4220917
['Q830079', 'P166', {'concept': 'Q4220917'}]
SELECT DISTINCT ?k WHERE { resource:Q5302109 property:P166 ?k . ?k rdf:type ontology:Q4220917 }
Douglas Williams
action filter_type
action find
entity Douglas Williams
relation award received
type film award
['Academy Award for Best Sound Mixing', 'award received', {'concept': 'film award'}]
SELECT DISTINCT ?k WHERE { resource:Douglas_Williams property:award_received ?k . ?k rdf:type ontology:film_award }
[]
film award
Q830079
SYSTEM
Academy Award for Best Sound Mixing
Q830079
(Q830079,P166,c(Q4220917))
action filter_type
action find
entity Q5302109
relation P166
type Q4220917
The [ANSWER] was received by that person
['Q830079', 'P166', {'concept': 'Q4220917'}]
SELECT DISTINCT ?k WHERE { resource:Q5302109 property:P166 ?k . ?k rdf:type ontology:Q4220917 }
Academy Award for Best Sound Mixing
The Academy Award for Best Sound Mixing was received by that person
Academy Award for Best Sound Mixing
action filter_type
action find
entity Douglas Williams
relation award received
type film award
['Academy Award for Best Sound Mixing', 'award received', {'concept': 'film award'}]
SELECT DISTINCT ?k WHERE { resource:Douglas_Williams property:award_received ?k . ?k rdf:type ontology:film_award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5302109
P106
Q12737077
USER
What do Douglas Williams do for a living ?
(Q5302109,P106,c(Q12737077))
action filter_type
action find
entity Q5302109
relation P106
type Q12737077
['Q5302109', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q5302109 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Douglas Williams
action filter_type
action find
entity Douglas Williams
relation occupation
type occupation
['Douglas Williams', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Douglas_Williams property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q81096 Q128124
SYSTEM
engineer, audio engineer
Q81096 Q128124
(Q5302109,P106,c(Q12737077))
action filter_type
action find
entity Q5302109
relation P106
type Q12737077
Douglas Williams do for a living as [ANSWERS]
['Q5302109', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q5302109 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
engineer audio engineer
Douglas Williams do for a living as engineer and audio engineer
engineer audio engineer
action filter_type
action find
entity Douglas Williams
relation occupation
type occupation
['Douglas Williams', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Douglas_Williams property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q27493479
Q12737077
USER
And how about meola?
(Q27493479,P106,c(Q12737077))
action filter_type
action find
entity Q27493479
relation P106
type Q12737077
['Q27493479', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q27493479 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
meola
action filter_type
action find
entity meola
relation occupation
type occupation
['meola', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:meola property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q644687 Q266569
SYSTEM
illustrator, animator
Q644687 Q266569
(Q27493479,P106,c(Q12737077))
action filter_type
action find
entity Q27493479
relation P106
type Q12737077
[ANSWERS]
['Q27493479', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q27493479 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
illustrator animator
illustrator animator
action filter_type
action find
entity meola
relation occupation
type occupation
['meola', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:meola property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7334541
P106
Q502895
USER
Do Rin Shin have those occupations as his/her means of employment ?
(Q7334541,P106,Q644687) (Q7334541,P106,Q266569)
action is_in
entity prev_answer
action find
entity Q7334541
relation P106
['Q7334541', 'P106', 'Q644687'] ['Q7334541', 'P106', 'Q266569']
ASK WHERE { resource:Q7334541 property:P106 ?s . VALUES ( ?s ) { ( resource:Q644687 ) ( resource:Q266569 ) } }
Rin Shin
action is_in
entity prev_answer
action find
entity Rin Shin
relation occupation
['Rin Shin', 'occupation', 'illustrator'] ['Rin Shin', 'occupation', 'animator']
ASK WHERE { resource:Rin_Shin property:occupation ?s . VALUES ( ?s ) { ( resource:illustrator ) ( resource:animator ) } }
[]
common name
SYSTEM
YES
(Q7334541,P106,Q644687) (Q7334541,P106,Q266569)
action is_in
entity prev_answer
action find
entity Q7334541
relation P106
[ANSWER]
['Q7334541', 'P106', 'Q644687'] ['Q7334541', 'P106', 'Q266569']
ASK WHERE { resource:Q7334541 property:P106 ?s . VALUES ( ?s ) { ( resource:Q644687 ) ( resource:Q266569 ) } }
Yes
action is_in
entity prev_answer
action find
entity Rin Shin
relation occupation
['Rin Shin', 'occupation', 'illustrator'] ['Rin Shin', 'occupation', 'animator']
ASK WHERE { resource:Rin_Shin property:occupation ?s . VALUES ( ?s ) { ( resource:illustrator ) ( resource:animator ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q687908
P748
Q178706 Q895526 Q12737077
USER
How many occupations were appointed by greater number of institutions or authority organs than Lord Chief Justice of England and Wales ?
(c(Q12737077),P748,c(Q178706)|c(Q895526))
action count
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action count
action filter_multi_types
action find
entity Q687908
relation P748
type Q178706
type Q895526
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?l WHERE { VALUES ( ?z ) { ( ontology:Q895526 ) ( ontology:Q178706 ) } . ?i rdf:type ?z } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Q687908 property:P748 ?x . { ?x rdf:type ?m . VALUES ( ?m ) { ( ontology:Q178706 ) ( ontology:Q895526 ) } } } } . FILTER ( ?y > ?u ) }
Lord Chief Justice of England and Wales
action count
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action count
action filter_multi_types
action find
entity Lord Chief Justice of England and Wales
relation appointed by
type institution
type authority organ
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?l WHERE { VALUES ( ?z ) { ( ontology:authority_organ ) ( ontology:institution ) } . ?i rdf:type ?z } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Lord_Chief_Justice_of_England_and_Wales property:appointed_by ?x . { ?x rdf:type ?m . VALUES ( ?m ) { ( ontology:institution ) ( ontology:authority_organ ) } } } } . FILTER ( ?y > ?u ) }
[]
institution authority organ occupation
SYSTEM
37
Q2666591 Q1072417 Q2287650 Q5333410 Q261746 Q740126 Q1029955 Q642859 Q967762 Q1161813 Q940135 Q2305968 Q7444340 Q2419581 Q25863345 Q2747647 Q13645132 Q636207 Q2003296 Q967750 Q8882 Q783785 Q1072415 Q1763459 Q1591470 Q735015 Q1029968 Q2297543 Q967737 Q6542448 Q2301213 Q634291 Q735587 Q81066 Q1658460 Q786242 Q1434880
(c(Q12737077),P748,c(Q178706)|c(Q895526))
action count
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action count
action filter_multi_types
action find
entity Q687908
relation P748
type Q178706
type Q895526
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?l WHERE { VALUES ( ?z ) { ( ontology:Q895526 ) ( ontology:Q178706 ) } . ?i rdf:type ?z } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Q687908 property:P748 ?x . { ?x rdf:type ?m . VALUES ( ?m ) { ( ontology:Q178706 ) ( ontology:Q895526 ) } } } } . FILTER ( ?y > ?u ) }
Chair of the Federal Reserve Chief of Staff of the United States Air Force United States Secretary of the Interior Economic Secretary to the Treasury United States Secretary of the Air Force President of the European Parliament United States Secretary of Agriculture United States Secretary of Homeland Security United States Secretary of Education President of the United Nations General Assembly United States Secretary of the Navy United States Secretary of Health and Human Services Secretary of State for Dominion Affairs United States Secretary of Housing and Urban Development Secretary of State for International Trade Secretary of State for Defence Lord Mayor of Dublin United States Attorney General United States Secretary of Commerce United States Secretary of Labor President of the European Commission Chief of Staff of the United States Army Chief of Naval Operations Chairman of the Joint Chiefs of Staff United States Secretary of the Army United States Secretary of Defense United States Secretary of Energy United States Deputy Secretary of Defense United States Secretary of Transportation Librarian of Congress United States Deputy Secretary of State High Representative of the Union for Foreign Affairs and Security Policy President of the European Council United Nations Secretary-General United States Secretary of Veterans Affairs White House Chief of Staff Surgeon General of the United States
37
action count
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action count
action filter_multi_types
action find
entity Lord Chief Justice of England and Wales
relation appointed by
type institution
type authority organ
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?l WHERE { VALUES ( ?z ) { ( ontology:authority_organ ) ( ontology:institution ) } . ?i rdf:type ?z } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Lord_Chief_Justice_of_England_and_Wales property:appointed_by ?x . { ?x rdf:type ?m . VALUES ( ?m ) { ( ontology:institution ) ( ontology:authority_organ ) } } } } . FILTER ( ?y > ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q6865864
P748
Q178706 Q895526 Q12737077
USER
And how about Minister for Health?
(c(Q12737077),P748,c(Q178706)|c(Q895526))
action count
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action count
action filter_multi_types
action find
entity Q6865864
relation P748
type Q178706
type Q895526
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Q6865864 property:P748 ?k . { { ?k rdf:type ontology:Q178706 } UNION { ?k rdf:type ontology:Q895526 } } } } . FILTER ( ?c > ?q ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) ?l WHERE { { ?l property:P748 ?t . ?l rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q178706 } UNION { ?l property:P748 ?t . ?l rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q895526 } } GROUP BY ?l } }
Minister for Health
action count
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action count
action filter_multi_types
action find
entity Minister for Health
relation appointed by
type institution
type authority organ
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Minister_for_Health property:appointed_by ?k . { { ?k rdf:type ontology:institution } UNION { ?k rdf:type ontology:authority_organ } } } } . FILTER ( ?c > ?q ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) ?l WHERE { { ?l property:appointed_by ?t . ?l rdf:type ontology:occupation . ?t rdf:type ontology:institution } UNION { ?l property:appointed_by ?t . ?l rdf:type ontology:occupation . ?t rdf:type ontology:authority_organ } } GROUP BY ?l } }
[]
institution authority organ occupation
SYSTEM
37
Q2666591 Q1072417 Q2287650 Q5333410 Q261746 Q740126 Q1029955 Q642859 Q967762 Q1161813 Q940135 Q2305968 Q7444340 Q2419581 Q25863345 Q2747647 Q13645132 Q636207 Q2003296 Q967750 Q8882 Q783785 Q1072415 Q1763459 Q1591470 Q735015 Q1029968 Q2297543 Q967737 Q6542448 Q2301213 Q634291 Q735587 Q81066 Q1658460 Q786242 Q1434880
(c(Q12737077),P748,c(Q178706)|c(Q895526))
action count
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action count
action filter_multi_types
action find
entity Q6865864
relation P748
type Q178706
type Q895526
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Q6865864 property:P748 ?k . { { ?k rdf:type ontology:Q178706 } UNION { ?k rdf:type ontology:Q895526 } } } } . FILTER ( ?c > ?q ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) ?l WHERE { { ?l property:P748 ?t . ?l rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q178706 } UNION { ?l property:P748 ?t . ?l rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q895526 } } GROUP BY ?l } }
Chair of the Federal Reserve Chief of Staff of the United States Air Force United States Secretary of the Interior Economic Secretary to the Treasury United States Secretary of the Air Force President of the European Parliament United States Secretary of Agriculture United States Secretary of Homeland Security United States Secretary of Education President of the United Nations General Assembly United States Secretary of the Navy United States Secretary of Health and Human Services Secretary of State for Dominion Affairs United States Secretary of Housing and Urban Development Secretary of State for International Trade Secretary of State for Defence Lord Mayor of Dublin United States Attorney General United States Secretary of Commerce United States Secretary of Labor President of the European Commission Chief of Staff of the United States Army Chief of Naval Operations Chairman of the Joint Chiefs of Staff United States Secretary of the Army United States Secretary of Defense United States Secretary of Energy United States Deputy Secretary of Defense United States Secretary of Transportation Librarian of Congress United States Deputy Secretary of State High Representative of the Union for Foreign Affairs and Security Policy President of the European Council United Nations Secretary-General United States Secretary of Veterans Affairs White House Chief of Staff Surgeon General of the United States
37
action count
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action count
action filter_multi_types
action find
entity Minister for Health
relation appointed by
type institution
type authority organ
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Minister_for_Health property:appointed_by ?k . { { ?k rdf:type ontology:institution } UNION { ?k rdf:type ontology:authority_organ } } } } . FILTER ( ?c > ?q ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) ?l WHERE { { ?l property:appointed_by ?t . ?l rdf:type ontology:occupation . ?t rdf:type ontology:institution } UNION { ?l property:appointed_by ?t . ?l rdf:type ontology:occupation . ?t rdf:type ontology:authority_organ } } GROUP BY ?l } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q128124
P425
Q28797
USER
Which applied science has audio engineer as the associated field of occupation ?
(Q128124,P425,c(Q28797))
action filter_type
action find
entity Q128124
relation P425
type Q28797
['Q128124', 'P425', {'concept': 'Q28797'}]
SELECT DISTINCT ?c WHERE { resource:Q128124 property:P425 ?c . ?c rdf:type ontology:Q28797 }
audio engineer
action filter_type
action find
entity audio engineer
relation field of this occupation
type applied science
['audio engineer', 'field of this occupation', {'concept': 'applied science'}]
SELECT DISTINCT ?c WHERE { resource:audio_engineer property:field_of_this_occupation ?c . ?c rdf:type ontology:applied_science }
[]
applied science
Q15280872
SYSTEM
sound engineering
Q15280872
(Q128124,P425,c(Q28797))
action filter_type
action find
entity Q128124
relation P425
type Q28797
[ANSWER] has audio engineer as the associated field of occupation
['Q128124', 'P425', {'concept': 'Q28797'}]
SELECT DISTINCT ?c WHERE { resource:Q128124 property:P425 ?c . ?c rdf:type ontology:Q28797 }
sound engineering
Sound engineering has audio engineer as the associated field of occupation
sound engineering
action filter_type
action find
entity audio engineer
relation field of this occupation
type applied science
['audio engineer', 'field of this occupation', {'concept': 'applied science'}]
SELECT DISTINCT ?c WHERE { resource:audio_engineer property:field_of_this_occupation ?c . ?c rdf:type ontology:applied_science }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P452
Q43229
USER
How many organizations belongs to the industry that applied science ?
(c(Q43229),P452,Q15280872)
action count
action filter_type
action find_reverse
entity Q15280872
relation P452
type Q43229
[{'concept': 'Q43229'}, 'P452', 'Q15280872']
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:P452 resource:Q15280872 . ?e rdf:type ontology:Q43229 }
action count
action filter_type
action find_reverse
entity sound engineering
relation industry
type organization
[{'concept': 'organization'}, 'industry', 'sound engineering']
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:industry resource:sound_engineering . ?e rdf:type ontology:organization }
[]
organization
SYSTEM
1
Q5204854
(c(Q43229),P452,Q15280872)
action count
action filter_type
action find_reverse
entity Q15280872
relation P452
type Q43229
[ANSWER]
[{'concept': 'Q43229'}, 'P452', 'Q15280872']
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:P452 resource:Q15280872 . ?e rdf:type ontology:Q43229 }
DEQX
1
action count
action filter_type
action find_reverse
entity sound engineering
relation industry
type organization
[{'concept': 'organization'}, 'industry', 'sound engineering']
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:industry resource:sound_engineering . ?e rdf:type ontology:organization }
[]