Simple Question (Direct)
Simple Question
Q507262
P272
Q43229
USER
Who produced The Master of Disguise ?
(Q507262,P272,c(Q43229))
action filter_type
action find
entity Q507262
relation P272
type Q43229
['Q507262', 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q43229 . resource:Q507262 property:P272 ?r }
The Master of Disguise
action filter_type
action find
entity The Master of Disguise
relation production company
type organization
['The Master of Disguise', 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:organization . resource:The_Master_of_Disguise property:production_company ?r }
[]
organization
Q1160868
SYSTEM
Revolution Studios
Q1160868
(Q507262,P272,c(Q43229))
action filter_type
action find
entity Q507262
relation P272
type Q43229
The [ANSWER] produced The Master of Disguise
['Q507262', 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q43229 . resource:Q507262 property:P272 ?r }
Revolution Studios
The Revolution Studios produced The Master of Disguise
Revolution Studios
action filter_type
action find
entity The Master of Disguise
relation production company
type organization
['The Master of Disguise', 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:organization . resource:The_Master_of_Disguise property:production_company ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1160868
P159
Q15617994
USER
Where is the headquarter of that organization located ?
(Q1160868,P159,c(Q15617994))
action filter_type
action find
entity Q1160868
relation P159
type Q15617994
['Q1160868', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q1160868 property:P159 ?i . ?i rdf:type ontology:Q15617994 }
Revolution Studios
action filter_type
action find
entity Revolution Studios
relation headquarters location
type designation for an administrative territorial entity
['Revolution Studios', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Revolution_Studios property:headquarters_location ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1160868,P159,c(Q15617994))
action filter_type
action find
entity Q1160868
relation P159
type Q15617994
The headquarter of that organization is located in [ANSWER]
['Q1160868', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q1160868 property:P159 ?i . ?i rdf:type ontology:Q15617994 }
United States of America
The headquarter of that organization is located in United States of America
United States of America
action filter_type
action find
entity Revolution Studios
relation headquarters location
type designation for an administrative territorial entity
['Revolution Studios', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Revolution_Studios property:headquarters_location ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P1001
Q1190554 Q1292279
USER
How many events or political borders have control over the jurisdiction of United States of America ?
(c(Q1190554),P1001,Q30) (c(Q1292279),P1001,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P1001
type Q1190554
action filter_type
action find_reverse
entity Q30
relation P1001
type Q1292279
[{'concept': 'Q1190554'}, 'P1001', 'Q30'] [{'concept': 'Q1292279'}, 'P1001', 'Q30']
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { ?l property:P1001 resource:Q30 . ?l rdf:type ontology:Q1190554 } UNION { ?l property:P1001 resource:Q30 . ?l rdf:type ontology:Q1292279 } }
United States of America
action count
action union
action filter_type
action find_reverse
entity United States of America
relation applies to jurisdiction
type event
action filter_type
action find_reverse
entity United States of America
relation applies to jurisdiction
type political border
[{'concept': 'event'}, 'applies to jurisdiction', 'United States of America'] [{'concept': 'political border'}, 'applies to jurisdiction', 'United States of America']
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { ?l property:applies_to_jurisdiction resource:United_States_of_America . ?l rdf:type ontology:event } UNION { ?l property:applies_to_jurisdiction resource:United_States_of_America . ?l rdf:type ontology:political_border } }
[]
event political border
SYSTEM
39
Q7545405 Q19049082 Q119515 Q24526050 Q23091425 Q18211585 Q16961547 Q7619289 Q300950 Q17351831 Q17351768 Q1642249 Q2107009 Q5612369 Q6705686 Q17351739 Q7893393 Q19866992 Q17351808 Q7493848 Q908270 Q7930727 Q17351837 Q17351747 Q18148678 Q26289453 Q17351812 Q17351840 Q17351714 Q20715413 Q24282724 Q1057263 Q17351794 Q7054692 Q538242 Q17351798 Q1092602 Q17351841 Q3081870
(c(Q1190554),P1001,Q30) (c(Q1292279),P1001,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P1001
type Q1190554
action filter_type
action find_reverse
entity Q30
relation P1001
type Q1292279
[ANSWER]
[{'concept': 'Q1190554'}, 'P1001', 'Q30'] [{'concept': 'Q1292279'}, 'P1001', 'Q30']
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { ?l property:P1001 resource:Q30 . ?l rdf:type ontology:Q1190554 } UNION { ?l property:P1001 resource:Q30 . ?l rdf:type ontology:Q1292279 } }
Smith v. Maryland Vitarelli v. Seaton Canada–United States border McFadden v. United States Board of Trustees of Scarsdale v. McCreary Tanco v. Haslam Sebelius v. Hobby Lobby Stoner v. California Roe v. Wade Samoa–United States border Haiti–United States border Miranda v. Arizona Planned Parenthood v. Casey Grutter v. Bollinger Lutheran Church–Missouri Synod v. FCC Cuba–United States border United States v. Mendenhall Obergefell v. Hodges Marshall Islands–United States border Shelley v. Kraemer McCulloch v. Maryland Village of Euclid v. Ambler Realty Co. Tonga–United States border Dominican Republic–United States border King v. Burwell Reyes Mata v. Lynch Micronesia–United States border United Kingdom–United States border Bahamas–United States border Brumfield v. Cain Foster v. Chatman Mexico–United States border Japan–United States border North Carolina v. Alford Marbury v. Madison Kiribati–United States border Citizens United v. Federal Election Commission United States–Venezuela border Russia–United States border
39
action count
action union
action filter_type
action find_reverse
entity United States of America
relation applies to jurisdiction
type event
action filter_type
action find_reverse
entity United States of America
relation applies to jurisdiction
type political border
[{'concept': 'event'}, 'applies to jurisdiction', 'United States of America'] [{'concept': 'political border'}, 'applies to jurisdiction', 'United States of America']
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { ?l property:applies_to_jurisdiction resource:United_States_of_America . ?l rdf:type ontology:event } UNION { ?l property:applies_to_jurisdiction resource:United_States_of_America . ?l rdf:type ontology:political_border } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1160868
P178
Q166142
USER
Which application was developed by Revolution Studios ?
(c(Q166142),P178,Q1160868)
action filter_type
action find_reverse
entity Q1160868
relation P178
type Q166142
[{'concept': 'Q166142'}, 'P178', 'Q1160868']
SELECT DISTINCT ?g WHERE { ?g property:P178 resource:Q1160868 . ?g rdf:type ontology:Q166142 }
Revolution Studios
action filter_type
action find_reverse
entity Revolution Studios
relation developer
type application
[{'concept': 'application'}, 'developer', 'Revolution Studios']
SELECT DISTINCT ?g WHERE { ?g property:developer resource:Revolution_Studios . ?g rdf:type ontology:application }
[]
application
Q6649296
SYSTEM
Little Britain: The Video Game
Q6649296
(c(Q166142),P178,Q1160868)
action filter_type
action find_reverse
entity Q1160868
relation P178
type Q166142
Games [ANSWER] was developed by Revolution Studios
[{'concept': 'Q166142'}, 'P178', 'Q1160868']
SELECT DISTINCT ?g WHERE { ?g property:P178 resource:Q1160868 . ?g rdf:type ontology:Q166142 }
Little Britain: The Video Game
Games Little Britain: The Video Game was developed by Revolution Studios
Little Britain: The Video Game
action filter_type
action find_reverse
entity Revolution Studios
relation developer
type application
[{'concept': 'application'}, 'developer', 'Revolution Studios']
SELECT DISTINCT ?g WHERE { ?g property:developer resource:Revolution_Studios . ?g rdf:type ontology:application }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1160868
P1346
Q618779
USER
Which award was won by Revolution Studios ?
(c(Q618779),P1346,Q1160868)
action filter_type
action find_reverse
entity Q1160868
relation P1346
type Q618779
[{'concept': 'Q618779'}, 'P1346', 'Q1160868']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q618779 . ?x property:P1346 resource:Q1160868 }
Revolution Studios
action filter_type
action find_reverse
entity Revolution Studios
relation winner
type award
[{'concept': 'award'}, 'winner', 'Revolution Studios']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:award . ?x property:winner resource:Revolution_Studios }
[]
award
Q1780634
SYSTEM
Golden Raspberry Award for Worst Picture
Q1780634
(c(Q618779),P1346,Q1160868)
action filter_type
action find_reverse
entity Q1160868
relation P1346
type Q618779
The [ANSWER] was won by Revolution Studios
[{'concept': 'Q618779'}, 'P1346', 'Q1160868']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q618779 . ?x property:P1346 resource:Q1160868 }
Golden Raspberry Award for Worst Picture
The Golden Raspberry Award for Worst Picture was won by Revolution Studios
Golden Raspberry Award for Worst Picture
action filter_type
action find_reverse
entity Revolution Studios
relation winner
type award
[{'concept': 'award'}, 'winner', 'Revolution Studios']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:award . ?x property:winner resource:Revolution_Studios }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P1411
Q618779 Q838948 Q502895
USER
How many awards do more number of works of art and people have than that award ?
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q1780634
relation P1411
type Q838948
type Q502895
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { ?f property:P1411 resource:Q1780634 . { { ?f rdf:type ontology:Q838948 } UNION { ?f rdf:type ontology:Q502895 } } } } . FILTER ( ?v > ?j ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) ?z WHERE { { ?p property:P1411 ?z . ?p rdf:type ontology:Q838948 . ?z rdf:type ontology:Q618779 } UNION { ?p property:P1411 ?z . ?z rdf:type ontology:Q618779 . ?p rdf:type ontology:Q502895 } } GROUP BY ?z } }
action count
action greater
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action count
action filter_multi_types
action find_reverse
entity Golden Raspberry Award for Worst Picture
relation nominated for
type work of art
type common name
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { ?f property:nominated_for resource:Golden_Raspberry_Award_for_Worst_Picture . { { ?f rdf:type ontology:work_of_art } UNION { ?f rdf:type ontology:common_name } } } } . FILTER ( ?v > ?j ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) ?z WHERE { { ?p property:nominated_for ?z . ?p rdf:type ontology:work_of_art . ?z rdf:type ontology:award } UNION { ?p property:nominated_for ?z . ?z rdf:type ontology:award . ?p rdf:type ontology:common_name } } GROUP BY ?z } }
[]
award work of art common name
SYSTEM
75
Q24241 Q904528 Q2529789 Q1681198 Q1086189 Q5280675 Q266012 Q1238714 Q160082 Q655056 Q7821796 Q640374 Q1723064 Q2295011 Q989447 Q4896642 Q24204611 Q1445521 Q1441582 Q2442442 Q580574 Q900414 Q8038458 Q2544859 Q900369 Q19859744 Q5593832 Q900494 Q641316 Q645595 Q610903 Q3405409 Q900424 Q989438 Q1421666 Q24204609 Q898527 Q377293 Q2295041 Q943106 Q1043985 Q8038461 Q1537996 Q971363 Q37922 Q4790397 Q1341487 Q602299 Q518675 Q627778 Q13449461 Q185299 Q430035 Q2110156 Q1535145 Q832120 Q1474410 Q24204631 Q24204630 Q24204635 Q24204634 Q4896697 Q1441539 Q2530270 Q16275104 Q24137 Q989453 Q5569374 Q1170507 Q936683 Q1170500 Q3993187 Q1441572 Q84000 Q3019369
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q1780634
relation P1411
type Q838948
type Q502895
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { ?f property:P1411 resource:Q1780634 . { { ?f rdf:type ontology:Q838948 } UNION { ?f rdf:type ontology:Q502895 } } } } . FILTER ( ?v > ?j ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) ?z WHERE { { ?p property:P1411 ?z . ?p rdf:type ontology:Q838948 . ?z rdf:type ontology:Q618779 } UNION { ?p property:P1411 ?z . ?z rdf:type ontology:Q618779 . ?p rdf:type ontology:Q502895 } } GROUP BY ?z } }
César Award for Best Actress Grammy Award for Album of the Year Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series James Tiptree, Jr. Award Nebula Award for Best Novella Directors Guild of America Award for Outstanding Directing – Feature Film Nebula Award for Best Novel Golden Raspberry Award for Worst Director Man Booker Prize César Award for Best First Feature Film Tony Award for Best Lighting Design Tony Award for Best Direction of a Play Tony Award for Best Actor in a Musical Independent Spirit Award for Best Foreign Film Primetime Emmy Award for Outstanding Lead Actress in a Miniseries or a Movie Best Female Athlete ESPY Award Tony Award for Best Scenic Design in a Musical Tony Award for Best Actor in a Play American Music Award for Favorite Country Female Artist Tony Award for Best Conductor and Musical Director Neustadt International Prize for Literature César Award for Best Foreign Film Writers Guild of America Award for Best Adapted Screenplay Independent Spirit Award for Best Male Lead César Award for Best Writing Favorite Country Single Grammy Award for Best Male Country Vocal Performance César Award for Best Actor Golden Raspberry Award for Worst Supporting Actor César Award for Best Film Nebula Award for Best Short Story World Fantasy Award for Best Novella César Award for Best Supporting Actor Primetime Emmy Award for Outstanding Drama Series Golden Raspberry Award for Worst Screenplay Tony Award for Best Scenic Design in a Play World Fantasy Award for Best Novel Tony Award for Best Direction of a Musical Independent Spirit Award for Best Director Best NBA Player ESPY Award Carnegie Medal Writers Guild of America Award for Best Original Screenplay Tony Award for Best Actress in a Musical Guardian Children's Fiction Prize Nobel Prize in Literature Ariel Award for Best Actress Philip K. Dick Award Golden Raspberry Award for Worst Actor Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture Tony Award for Best Featured Actress in a Play Tony Award for Best Scenic Design Tony Award for Best Actress in a Play Astrid Lindgren Memorial Award Primetime Emmy Award for Outstanding Comedy Series Golden Raspberry Award for Worst Screen Couple/Ensemble César Award for Best Adaptation Tony Award for Best Featured Actor in a Play Tony Award for Best Costume Design in a Musical Tony Award for Best Costume Design in a Play Tony Award for Best Lighting Design in a Musical Tony Award for Best Lighting Design in a Play Best Jockey ESPY Award American Music Award for Favorite Country Album Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series Best Female Tennis Player ESPY Award César Award for Best Director Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie Producers Guild of America Award for Best Theatrical Motion Picture Independent Spirit Award for Best Screenplay Nebula Award for Best Novelette Independent Spirit Award for Best First Feature Tony Award for Best Costume Design Favorite Country Male Artist César Award for Best Supporting Actress Daytime Emmy Award for Outstanding Children's Animated Program
75
action count
action greater
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action count
action filter_multi_types
action find_reverse
entity Golden Raspberry Award for Worst Picture
relation nominated for
type work of art
type common name
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { ?f property:nominated_for resource:Golden_Raspberry_Award_for_Worst_Picture . { { ?f rdf:type ontology:work_of_art } UNION { ?f rdf:type ontology:common_name } } } } . FILTER ( ?v > ?j ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) ?z WHERE { { ?p property:nominated_for ?z . ?p rdf:type ontology:work_of_art . ?z rdf:type ontology:award } UNION { ?p property:nominated_for ?z . ?z rdf:type ontology:award . ?p rdf:type ontology:common_name } } GROUP BY ?z } }
[]